[jboss-user] [EJB 3.0] - Re: How to intercept EJBs residing in another jar-file?

2008-04-24 Thread jaikiran
"raoul.schmidiger" wrote : | This works fine for all EJBs that are in the same jar like the ejb-jar.xml file (app1.jar). However, any method call to an EJB in mylib.jar is not intercepted at all. | What do I have to change in order the have also the method calls with the EJBs in the mylib.j

[jboss-user] [EJB 3.0] - Re: How to intercept EJBs residing in another jar-file?

2008-04-23 Thread jaikiran
I haven't tried using the interceptors with ejb-jar.xml files. I have tried them with annotations. Why don't you use annotations for this? Something like: Bean1 in app1.jar containing this: @Stateless | @Interceptors (GlobalInterceptor.class) | public class Bean1 implements MyBean1 { | A