File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes 2 phase commit in java !!!!!!! VERY URGENT !!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply locked New topic

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

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.
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
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.
I agree. Here's the link:
subject: 2 phase commit in java !!!!!!! VERY URGENT !!!!!
It's not a secret anymore!