Java EE and AspectJ

Discussions

EJB design: Java EE and AspectJ

  1. Java EE and AspectJ (2 messages)

    Has anyone tried combining EJBs with AspectJ weaving? Any adverse effects? Any problems on the app server? Is this even possible or is there no problem at all?

    Threaded Messages (2)

  2. Re: Java EE and AspectJ[ Go to top ]

    I guess Spring Aop and EJB can coexist... check if this is helpful : http://dev2dev.bea.com/pub/a/2005/12/spring-aop-with-ejb.html Bhagvan K http://www.jroller.com/page/bhagvank
  3. Re: Java EE and AspectJ[ Go to top ]

    There should be no problem using AspectJ and EJB, as the AspectJ compiler emits regular byte code. Once you have the output from the AspectJ compiler you should be able to use the .classes anywhere, with a tiny runtime JAR. It's worth noting an update to the article: In Spring 2.0, the Spring AOP and AspectJ models are designed to be used together, with the same, elegant, AspectJ programming model available to Spring users with proxy based AOP. In the next version of WebLogic, due to the use of Pitchfork internally, you will be able to apply Spring AOP or AspectJ annotation style AOP directly to EJBs and other components. As the Pitchfork project is open source, hopefully other application servers will also pick up on it. Rgds Rod