I have been trying to get that to work, and I get nothing.  I have a feeling 
that the dependency injector code needs to run on the Servlet object after it 
has been instantiated, and I have a feeling that Tomcat is not doing that.  I 
saw on this page:

http://www.netbeans.org/kb/articles/javaee5-hello-world.html

anonymous wrote : Note: GlassFish already supports Servlet 2.5 and JSF 1.2 with 
Java EE 5 annotations for dependency injection in web tier. If you want to use 
JBoss you can test a standalone EJB module and use either J2SE client or use 
JNDI lookup to call the EJB.

which suggests that I need to use JNDI within JBoss / Tomcat.

Am I reading this correctly?  I have tried everything to get @EJB working 
within my app and it just isn't working.  Either I'm doing something wrong or 
it doesn't work.

Thanks


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954442#3954442

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954442

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to