Hi there, I am trying to use Guice to take care of the injection of Local Stateless Session Beans (I use Jboss 4). My problem is that all solutions I've found using guice involve hard coding the application ear name. (JBoss sets JNDI of EJBs depending on the ear file name). I've read Struts2 Guice plugin docs and examples but I've found no way to pass the application name as a parameter (getting the ServletContext name should be enough) into com.google.inject.Module.
Anybody knows if I can use any parameters in struts.xml? Now I am using the proposed, "struts.objectFactory" and "guice.module" constants. P.D: I've extended struts2ejb3-jboss-plugin to solve this with interceptor aproach if anybody is interested. thanks for any ideas, Ignacio -- View this message in context: http://www.nabble.com/Struts2-%2B-Guice-JNDI-names-as-a-parameter-tp21693520p21693520.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