JBoss Community

@Alternative injection approach for EJB 3.1

created by Sueleyman Vurucu in EJB3 Development - View the full discussion

Hi @ all,

 

the injection of CDI beans allows @Qualifiers and @Alternatives for inject an aonother implementation of services. But CDI doesn't support transaction propagatio, timerservice, security etc.

 

So I can Inject my EJB with @Inject @EJB. In that case I losse all this capabilities of EJB 3.1. I'm right ??

 

But the feature of inject an alternavie implementaion of an EJB would be very helpful for me. Have somenody an idea to that with EJB ??

Reply to this message by going to Community

Start a new discussion in EJB3 Development at Community