Share this page 

Call another EJBTag(s): Servlet/JSP Jaguar/EAServer


InitialContext ctx = new InitialContext();
Object objref = ctx.lookup("MyPackage/MyEJB");
MyEJBHome home = (MyEJBHome)
   PortableRemoteObject.narrow(objref, MyEJBHome.class);
return (MyEJB) home.create();