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.