Hi,
I have problem with @EJB injection in Struts action. Using context.lookup works.
import javax.ejb.EJB; public class ProjectListAction { @EJB ProjectBean projectBean; ....
Ah; you can't inject into a Struts Action class; only into EJB3 container-managed objects (in JBoss 4.x, JBoss 5 supports Servlet Injection).
You can replace the @EJB injection with a Context.lookup() call to JNDI to obtain your EJB proxy object.
S,
ALR