[jboss-user] [JBossWS] - Re: EntityManager injection in Webservice

froden do-not-reply at jboss.com
Thu Jan 17 04:02:07 EST 2008


Are any of the following features limited to JBossWS >=2.0.0?
-The @WebContext annotation
-Using an EJB as a web service class
-Injection of the EntityManager using the @PersistenceContext

When I'm using the @WebContext parameter instead of the servlet and servlet-mapping in web.xml, I get exceptions when calling the web service method. If I instead use the servlet and servlet mapping, injection of the EntityManager wont work.

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

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



More information about the jboss-user mailing list