Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trying to integrate AspectJ with JBoss

 
Sathya Sekar
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic