users@glassfish.java.net

Re: _at_EJB injection works for Servlet, fails for WebServiceEndpoint

From: <glassfish_at_javadesktop.org>
Date: Fri, 21 Mar 2008 10:29:51 PST

Hi,

I have attached my web.xml. It is using version 2.5.

Remember, @EJB dependency injection works for the servlet in the same WAR. So the WAR/EJB/EAR relationships should be correct.

It believe its either a misconfiguration WRT the WebService endpoint or its a real bug. But I find it hard to believe that GF would have made it this long whereby an @WebService object cannot do @EJB injection.

Please see:

http://forums.java.net/jive/thread.jspa?messageID=265220

as well.

Thanks,
David
[Message sent by forum member 'dlindsay_roamdata_com' (dlindsay_roamdata_com)]

http://forums.java.net/jive/thread.jspa?messageID=265221