[jboss-user] [EJB 3.0] - Injecting EJBS into Webservice in Servlet Layer

eigenbrodtm do-not-reply at jboss.com
Thu Apr 16 06:30:14 EDT 2009


This is actually more an Java EE 5 than en "ejb 3.0" Question. Please point me to a more appropiate Forum if there is such.

I've got a Class  with "@WebService"  packaged in a war together with an web.xml configuring it with the "servlet" and "servlet-mapping" tags. 
This class does not getFields anotated with "@EJB" injected.
The war is packaged in an ear together with an ejb-jar. I'm running jboss 5.0.1. Does this simply not work or am I doing somethingh wrong?


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

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



More information about the jboss-user mailing list