Null EJB reference injdected in web client
Hi all,
I am confused about EJB dep. injection with web clients - maybe someone could shed some light on this please?
1. In the JEE 5 tutorial, the sample Converter App, the web client usesInitialContext.lookup to get references to the Converter EJB.
2. In the same tutorial, the sample DukesBank App, the web client uses@EJB dep. injection. For example, in the CustomerBean, AccountController is injected.
3. I've created a new Enterprise Application (using Netbeans 5.5) with a single stateless EJB and a web client. When injecting the EJB into a SERVLET, the reference is resolved, however when injecting the EJB into a STRUTS 2 ACTION, the reference in NULL :-(
Any ideas how to get a valid EJB reference using dep. injection in a struts action?
thanks.

