Package org.openejb.test.stateless

Examples of org.openejb.test.stateless.BasicStatelessHome.create()


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

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

        BasicStatelessObject object = home.create();
        assertNotNull("The EJBObject is null", object);

    }

}
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.