0
votes

I have an Spring based J2EE application which runs well on Weblogic, I wanted to move it to Tomcat.

It seems tomcat doesn't support JTA Transaction Manager without external jar help like Atomikos, JOTM, Bitronix, SimpleJTA.

I am reluctant to make changes into my application where i am already using annotation based JTA transaction manager.

Are there alternatives for JTA Transaction Manager which I can use so that I am able to switch from weblogic to tomcat or tomcat to weblogic or any other server without changing my configuration file each time?

All in all what's best for transaction manager configuration when you want to keep your application (war) independent of server(s).

3

3 Answers

1
votes

You could try TomEE. It's a Java EE 6 server that meets the Web Profile requirements and is based on Tomcat. So it will support JTA transactions. You can get it from http://tomitribe.com

0
votes

If your application is configured and developed to use Weblogic then chances are you are using JDNDI to lookup the JTA transaction manager and your datasources.

So any solution that supports the same lookups would work.

For Atomikos, we recently added (commercial) support for Tomcat's JNDI space - check out http://www.atomikos.com/Main/BuyOnline to learn more.

Hope this helps!