Quantcast
Channel: Spring Community Forums - EJB
Viewing all articles
Browse latest Browse all 7

Why @Configure and load time weaving doesn't work with EJB 2 ?

$
0
0
Hello,

I want(ed) to create an aspect on an EJB method because our services are coded inside the EJB.
So I know now the business should be delegated out of the EJB into a dedicated Service object.

However I wanted to know the reason why spring+aspectj fails to do what it can do on other classes instanciated with newinstance or new () .

So I know weblogic instanciate the class, so I tried to instanciate it myself just to see if the class could be instrumented with a new MyEjbBean() and this didn't worked either.

So it seems Weblogic must modify the class or remove the annotations, or something.

Anyone knows the true reason ?

Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles





Latest Images