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

froden do-not-reply at jboss.com
Fri Jan 18 04:44:30 EST 2008

Having stopped being an idiot, I guess I can answer my own questions above.

- Is the @WebContext annotation JBossWS >= 2.0.0 only? No. My problem was that I had imported org.jboss.wsf.spi.annotation.WebContext instead of org.jboss.ws.annotation.WebContext.

- Is using an EJB as a web service class possible in version >=2.0.0 only? No.
- Is injection of EntityManager with @PersistenceContext  limited to version >=2.0.0? No

Perhaps this can be helpful for someone.

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

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

More information about the jboss-user mailing list