Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

2 phase commit in java !!!!!!! VERY URGENT !!!!!

 
parthasarathy madhira
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
Can I implement 2 phase commit in a standalone java application ?
I access multiple databases with different connection objects in a single class in a single transaction. But how do I implement the 2 phase commit manually in a java standalone application.
Please note that I dont have any environment(like server, jndi etc.,) where i can deploy the datasources.
So pls let me know whether i can implement distributed transactions in this scenario.
This is very urgent.
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
Since this isn't directly related to J2EE, I'm closing the thread. Also, please don't post the same question all over the forum - it won't help you get a more complete answer.
Thanks
Simon
 
    Bookmark Topic Watch Topic
  • New Topic