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.
Paul.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/718339#718339]
Start a new discussion in JBoss Web Services at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]