Article:
  Wire Hibernate Transactions in Spring
Subject:   Use JOTM for JTA
Date:   2005-05-24 00:23:45
From:   sethladd1
Spring has good support for JOTM, an open source JTA implementation. It enables 2PC when running outside a J2EE container. In fact, the newest versions of JOTM support transaction recovery.


You can run JOTM inside Tomcat, or even a Spring ApplicationContext.


You will need something like JOTM if you're running against two different DataSource's and wish to have the transaction propogated across both DataSources.