This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
Author

Trying to integrate AspectJ with JBoss

Sathya Sekar
Greenhorn

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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Trying to integrate AspectJ with JBoss
 
Similar Threads
Practical use of AOP/AspectJ in projects
Intercepting methods call in a web application
Can I use aspectj in jboss ?
About the book ...
AspectJ and AOP in general