[jboss-user] [JBoss AOP] - Re: How to access an EJB 3.0 from an Interceptor

kabir.khan@jboss.com do-not-reply at jboss.com
Fri Nov 10 09:10:34 EST 2006


You would have to use InitialContext() and lookup() @EJB is only recognised by jee 5 managed artifacts.

However, you could use an EJB 3 interceptor. http://docs.jboss.org/ejb3/app-server/tutorial/index.html (See the Interceptors section). This also comes with the ejb 3 download w/ runnable examples

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984889#3984889

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984889



More information about the jboss-user mailing list