This content has been marked as final.
Show 2 replies
-
1. Re: Implementing AspectJ in JBoss/EJB
peterb Aug 23, 2004 12:15 PM (in response to imsathya)it's pretty easy:
* Compile your classes with the AspectJ compiler and packages them as you usually do.
* Put the aspectjrt.jar somewhere in the classpath ... the easiest would be the lib dir of your server.
I'm not sure what kind of parameters you want to pass. It looks like you are using code compiled with javac instead of ajc. AspectJ doesn't do runtime weaving so you have to precompile the aspects into the code. -
2. Re: Implementing AspectJ in JBoss/EJB
mad11max Sep 7, 2006 5:25 AM (in response to imsathya)You can even use the lib directory in WEB-INF, so you dont have to put in the lib directory of the server
( I use Jboss 4.0.1)