EJB 3 Local Interface Deployment Problem

Discussions

EJB programming & troubleshooting: EJB 3 Local Interface Deployment Problem

  1. EJB 3 Local Interface Deployment Problem (1 messages)

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