Announcement Announcement Module
Collapse
No announcement yet.
Spring Transaction manager Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Transaction manager

    Hi
    Are there any restrictions on use of Spring Transaction manager? or scenarios where Spring Transaction manager has limitations compared to J2EE transaction manager? For example using MDBs or distributed transactions etc.. I see Rod Johnson's quote as "Spring Transaction manager is more powerful than J2EE transaction manager." I just want to make sure if there are any scenarios where spring transactions are not advised or will nor work.

    Thanks
    Srl

  • #2
    Spring's transaction manager is an abstraction on existing transaction manager strategies, including JTA. It is designed to either manage a transaction itself or to hook into a transaction already taking place.

    I have never heard of a case where you couldn't use Spring's transaction support to replace or sit on top of standard transaction managers.

    Comment


    • #3
      Unless you have distributed XA transactions across AppServers/JVM's. Spring does not propergate the transaction context.

      Comment

      Working...
      X