0

I have an application deployed in Tomcat with backend oracle and JPA as persistence manager. Now we are introducing an intermediate database (most probably SolidDB or TimesTen) which will bring an additional requirement of 2 phase commit. Since tomcat does not support J2EE we wont be able to use the conventional methods. How about using Atomikos. Is there any other transaction management system which supports tomcat. Our application will have a peak load of say 40 million records in a day. Will using Atomikos be reliable? Any other suggestions are welcome.

Kailas J C
  • 139
  • 3
  • 8

2 Answers2

0

There are a few options for standalone JTA,

See, Atomikos vs JOTM vs Bitronix vs?

You should also consider using a Java EE server.

For EclipseLink, it has support for JOTM, and most Java EE servers. To integrate with another you just need to subclass JTATransactionController.

Community
  • 1
  • 1
James
  • 17,965
  • 11
  • 91
  • 146
-1

One solution is implemented without using Atomikos or JOTM or Bitronix. It is by using AOP along with JPA. We are defining 2 entity manager factories and 2 transaction managers. Using Spring AOP we are applying both the transaction managers to the same function. So whenever an exception comes, the rollbacl will be done by the 2 transaction managers. It is explained in the link given below http://tiwarij2eeblog.blogspot.com/2010/12/handling-transaction-with-multiple.html

Kailas J C
  • 139
  • 3
  • 8