Package org.openejb.test.stateful

Examples of org.openejb.test.stateful.BasicStatefulHome.create()


        assertNotNull("The InitialContext is null", ctx);

        BasicStatefulHome home = (BasicStatefulHome) ctx.lookup("java:comp/env/ejb/stateful");
        assertNotNull("The EJBHome looked up is null", home);

        BasicStatefulObject object = home.create("Enc Bean");
        assertNotNull("The EJBObject is null", object);

    }

    public void testLookupStatelessBean() throws Exception {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.