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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...