Hi all,
I would like to implement AspectJ into Weblogic ear module to change the behaviour during development phase. This is my set up:
1 sample.ear file with class Sample.java need to change behaviour:
and have 1
servlet class to call this class at init method
1 sampleAspect.jar file with aop.xml embedded inside the META-INF
This is the information of aop.xml file:
In Weblogic setup, I set the aspectjrt.jar and sampleAspect.jar to the classpath as
also put the
into the
java argument
Deploy the sample.ear as a module of Weblogic
When start up Weblogic server, I saw this log in the server log of server
But I check the servlet, it return "Sample Name", not the one in the aspect.
I changed to
but still the same problem.
What did I do wrong or miss here?