JBoss Community

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

created by Paul Robinson in JBoss Web Services - View the full discussion

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

Start a new discussion in JBoss Web Services at Community