Showing posts with label aop. Show all posts
Showing posts with label aop. Show all posts

Wednesday, June 12, 2013

While using dev mode of GWT in Jetbrains IDEA, which runs jetty, I need to use spring instrumentation.
Default parameter -javaagent:spring-instrumentation.jar didn't work for me.
To run it wit Jetty you are to add additional parameter -Xbootclasspath. The final string:
-javaagent:/spring-instrument-3.2.0.RELEASE.jar -Xbootclasspath/a:spring-instrument-3.2.0.RELEASE.jar


Thanks to this:
http://gradle.1045684.n5.nabble.com/Java-Agent-LTW-problem-with-Gradle-and-Jetty-td4938600.html

Thursday, April 11, 2013

jaxws @Webservice and @Transactional

The magic is:
<tx:annotation-driven mode="aspectj"/>