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 distributed transactions? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "distributed transactions?" Watch "distributed transactions?" New topic

distributed transactions?

M Easter
Ranch Hand

Joined: Feb 11, 2007
Posts: 133
I'm curious about the state-of-the-art or best practices for distributed transactions in Java, particularly with respect to Web services.

Any insights, books, or frameworks would be _greatly_ appreciated. I realize this is quite vague but I'm new to distributed transactions. I do understand the philosophy behind, say, 2-phase commit, but I'm not sure if people are doing that and/or what they are using.

Any thoughts/experiences? Thanks!

M Easter
Software Composer -
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Here is a page on distributed transactions as supported by Jini and Javaspaces.

The GigaSpaces company hosting that page is one of the long-time Javaspaces contributors and vendors.

A J Brown

Joined: Mar 17, 2011
Posts: 3
Just came across your post from 2007! I'm probably too late getting to you, but we have an implementation of distributed transactions that is specifically architected for web apps/web services. Take a look at if you're still interested. Basically, we have a transaction manager that does all the logging so we don't need 2-phase commit (which can be slow).
I agree. Here's the link:
subject: distributed transactions?
It's not a secret anymore!