wood burning stoves*
The moose likes Other Java Products and Servers and the fly likes Trying to integrate AspectJ with JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Trying to integrate AspectJ with JBoss" Watch "Trying to integrate AspectJ with JBoss" New topic

Trying to integrate AspectJ with JBoss

Sathya Sekar

Joined: Dec 17, 2003
Posts: 15
Hi guys,

We are developing some CMP-EJBs with JBoss 3.2.5. As part of this development, we want to gather some performance metrics for which we plan to use AspectJ.

After creating the aspects, I deployed them on the JBoss server - ensured that the aspect libraries are on the JBoss classpath. But the aspects do not appear to get executed at all. I am pretty sure that the aspects are fine because when I use them outside the JBoss server, they are executed and they behave as expected.

Any help or suggestions please ?

- Sathya
Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
I'm interested in learning aspectj. Have'nt used it anywhere though. But tell me this, after you ran the aspectj compiler, did you decompile your classes that were the target of the cross cutting concerns and see if there are calls to your aspects embedded in there?
I agree. Here's the link: http://aspose.com/file-tools
subject: Trying to integrate AspectJ with JBoss
Similar Threads
About the book ...
AspectJ and AOP in general
Practical use of AOP/AspectJ in projects
Can I use aspectj in jboss ?
Intercepting methods call in a web application