I am quite confused by this topic and see very few tips in the Spring 4.x documentation. First of all, let me say that I can customize my project in any way. Static weaving, compilation in time, no, etc.
I just want the best performance. But if the differences in performance are microseconds, then I just want the simplest. I only care about the difference in performance that would affect my customers.
Ok, so here are the relevant options:
- adviceMode = proxy, proxyTargetclass = true
- adviceMode = proxy, proxyTargetclass = false
- adviceMode = aspectJ, compilation over time
- adviceMode = aspectJ, weaving at boot time
I agree to add some time to initialize my application while it runs fast.
So, what are the tradeoffs between these four ways to set up transaction management?
Are there tradeoffs or is it just a performance issue?
Please note that I am using Spring 4.0.2 and Java 1.7. If there is Spring 4.0 documentation that basically answers this question, then I apologize and just redirect me to the document. So far I have seen documentation on how to configure them, but not how they compare. Thanks!
Also note that most of the information on the Internet about this is really out of date. Therefore, I am looking for current comparisons.
spring spring-transactions aspectj-maven-plugin
robert_difalco
source share