Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

XA transactions on tomcat  RSS feed

 
Vinicius Carvalho
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, didn't know exactly if it was a tomcat question or this forum, I 'm guessing this one

Is it possible to use XA transactions and JTA with tomcat? Is there any project for this? I'm really a tomcat fan and would not like to switch to Jboss just because of this fact, we do not use EJB of any form, only spring...
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's possible to do this in Tomcat, but you will need
1) an XA-capable JDBC driver, and
2) you will need to handle those transactions yourself, i.e. start them, watch for problems, roll back or commit as appropriate
 
Vinicius Carvalho
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using Spring in my applications. So all I need is a XA capable driver?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!