This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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