[jboss-user] [JBoss Web Services] - Re: CDI @Inject in a JAX-WS service impl?

Paul Robinson do-not-reply at jboss.com
Tue Feb 21 09:31:49 EST 2012

Paul Robinson [https://community.jboss.org/people/paul.robinson] created the discussion

"Re: CDI @Inject in a JAX-WS service impl?"

To view the discussion, visit: https://community.jboss.org/message/718339#718339

Thanks Martin,

I'm happy for my users to expose their Web services as SLSB, if that's what they want to do. My concern is that we are moving away from EJB to POJO and that my users will want to write POJOs annotated as WS. This then breaks the middleware I'm developing as it needs an interceptor to work.

Without going into too many details. I want my users to annotate a WS with their transactional requirements. My intereptor reads the transactional requirements off the class and sets up the transactional environment. For example, bridging from a WS transaction to a JTA transaction. Therefore, I couldn't intercept an injected bean as you suggest.


Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120221/9b5dd62a/attachment.html 

More information about the jboss-user mailing list