Package org.jboss.tutorial.reference21_30.bean

Examples of org.jboss.tutorial.reference21_30.bean.Stateless2Home.create()


         Stateless3 test3 = (Stateless3)ctx.lookup("Stateless3");
         test3.testAccess();
        
         System.out.println("Testing EJB2.x references to EJB3.0");
         Stateless2Home home = (Stateless2Home)ctx.lookup("Stateless2");
         Stateless2 test2 = home.create();
         test2.testAccess();
        
         System.out.println("Succeeded");
        
         printMessage(resp, "Successfully referenced EJB3 from EJB2.1 and vice versa");
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.