Announcement Announcement Module
Collapse
No announcement yet.
AspectJ Transactional vs. <tx:annotation-driven/> Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AspectJ Transactional vs. <tx:annotation-driven/>

    I'm using <aop:aspectj-autoproxy/> to apply some custom aspects to my beans. I also want to use annotation driven transaction management on some of these same beans that are getting proxied with my custom aspects. I noticed spring provides support to do transaction driven annotations with aspectj in section 7.7.2 of the documentation. But it also says "This is primarily intended for users who want to use Spring's transaction support outside of the Spring container."

    What the reasons are for recommending not using aspectJ for @Transactional functionality? Does having to mix the two approaches give cause to want to unify the approach or is not using aspectJ for @Transactional still not recommended even when already using <aop:aspectj-autoproxy/>?

    Mike
Working...
X