Hi, I am having problems in deploying an web application that references an ejb with at least one local interface in it. The remote interface calls the local interface through dependency injection. The problem does not persist when I packaged the ejb and web application in an EAR. I know I have to modify the web.xml of the web application to get a proper reference to that local interface but I don't know how. My application server is glassfish. Using EJB 3.0 I would appreciate any help. Thanks.
- Posted by: Jerwin Louise Uy
- Posted on: August 04 2008 05:12 EDT
You need to specify ejb-local-ref in deployment descriptor, I guess. But, in regard to Glassfish, check out the following: https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#CrossAppLocalAccess Seems like Glassfish support local interfaces in same application only for EJB3.