Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTA for Tomcat

 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

What are the good options for using JTA with tomcat ?

googling suggested JOTM, BTM , Atomikos and Jencks but reference is from 2002, are there any new or better options?

I am using tomcat 6.0.16

-P
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18272
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you meant JTA as in Java Transaction Architecture, Tomcat doesn't get involved in that. If a webapp is using something like an ORM, the ORM may require a copy of the jta jar to be included in the webapp itself. One of the major differences between Tomcat and the full-stack J2EE servers is, in fact, the lack of built-in persistence management functions.
 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim,

I understand tomcat doesnot support JTA, so I am looking for some 3rd party jar file that will hepl, I am not using any ORM, just spring and jdbc.

-P
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18272
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think there's only one jta jar source and you can get it from Sun. It's also published via Maven as javax.transaction.jta/jta-1.1.jar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic