Announcement Announcement Module
Collapse
No announcement yet.
Why @Configure and load time weaving doesn't work with EJB 2 ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    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 ?
Working...
X