Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I use aspectj in jboss ?

 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all I like to use aspectJ with my application, now I put the aspectjrt.jar into my server -> all -> lib directory
And the application is loaded with no exception but when I execute the class 's I don�t get any aspectJ prints ( I used system.out.println with the
@Around annotation) .
Wheni test this with simple class outside the jobss it working great
Do I need to know something else when using aspectJ with jboss ?
 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is the code :
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!