I have a simple j2ee application:
foo.ear
- foo.war
- foo.jar (ejb3 jar)
I am deploying into jBoss 4.2.2, which is J2EE 1.4 compliant, with an ejb3 jar deployer. Thus, at present it is not possible to use the @EJB annotation in servlets. In a regular 1.4 j2EE app I could use a <ejb-local-ref>
element in my web.xml, however, because my ejb's are v3 they have no <local-home>
interface. Can anyone suggest a JEE compliant way to look up my ejb from the a servlet, without resorting to a platform specific JNDI lookup?