This content has been marked as final.
Show 2 replies
-
1. Re: Intercepting Remote EJB invocations on client side?
verydapeng Oct 26, 2010 12:36 PM (in response to andersaa)class Wrapper {
@Inject MyEJB ejb;
@Log void doSomething() {
ejb.doSomething();
}
}if you want the client to see the same interface, then have the Wrapper class implement it
-
2. Re: Intercepting Remote EJB invocations on client side?
andersaa Nov 2, 2010 10:42 AM (in response to andersaa)I managed to get this working with a producer that returns a proxy to the EJB.
A wrapper would also solve it, but we have around 80 EJB's som maintaining the wrappers would be a nightmare.
-Anders