Hi,
I'm trying to access an EJB3 from an interceptor.
My app is packaged and works correctly: the interceptor is called at the right time but if
inside the interceptor I try to get, through injection, an EJB of my app I always get a
null pointer instead the instance of my EJB.
I use the @EJB annotation like this:
| @EJB
| private it.mypackage.myejb;
Can I use @EJB from an interceptor ? or I have to use InitialContext() and lookup(..) ??
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984883#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...