• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Trying to integrate AspectJ with JBoss

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
CAUTION! Do not touch the blades on your neck propeller while they are active. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic