File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes 2 phase commit in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "2 phase commit in java" Watch "2 phase commit in java" New topic

2 phase commit in java

parthasarathy madhira
Ranch Hand

Joined: Aug 31, 2001
Posts: 41
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.
[ January 29, 2003: Message edited by: Michael Ernest ]
Michael Ernest
High Plains Drifter

Joined: Oct 25, 2000
Posts: 7292

Please do not post the same question across multiple forums. Since this one already appears in JDBC, I am closing this one.
I agree. Here's the link:
subject: 2 phase commit in java