I have a simple Stateless session bean that I've exposed a method in
it as a WebService.
I've annotated the class with:
@Stateless
@WebService
and the method with:
@javax.jws.WebMethod
I've also got a entity manager configured to be injected, but it doesn't appear
to be injected when this session bean is invoked via webservices. I'm using
jboss 4.0.4 GA Patch1
@PersistenceContext
private EntityManager em;
When I make a call to the method via webservices the entity manageris null.
However if I access it via Seam and facelets it gets
injected correctly.
Am I doing something wrong is is this a bug?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951559#3951559
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951559
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user