Hi there, I'd like to know if there is a recommended approach to deal with dependency injection on new EJB 3.1 EJBs. I am using now a modified version of JBoss Struts2 plugin with works great but it really does nothing more than regular JNDI lookups on every action request call. I wonder if there is a new approach to getting EJB 3.1 session beans (stateless to be precise) which is what mostly I have to deal with. I've seen in the DEV forum that a plugin for CDI/Weld is coming (hopefully soon). Should we have to wait for this plugin or there is a simple approach to just inject new EJBs in struts2 actions? (@EJB... ? :-) ) Of course, I have already tested new GlassFish v3, even though I'll probably be using new JBoss 6 (I have already tested it with my previous EJB3 Struts2 projects and works ok, so I'd like to start my new projects directly with EJB 3.1)
Thanks for any directions. -- View this message in context: http://old.nabble.com/EJb-3.1-%28dependency-injection%29-and-Struts2-actions-%C2%BFCDI-Weld-needed--tp26684100p26684100.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org