Ask the Expert

Is there progress in maintaining Web service transactions across different transaction servers?

Is there progress in maintaining Web service transactions across different transaction servers?

    Requires Free Membership to View

The XA standard defines a mechanism to coordinate transactions across multiple transaction managers, but I'm skeptical about using 2PC technology across loosely coupled application systems. I'm of the opinion that we need to devise a new approach to manage loosely coupled transactions. There is such an effort underway at OASIS (www.oasis-open.org), called Business Transaction Processing (BTP). You might find this article on BTP enlightening.

But BTP is still a future. There are no implementations today.

The way you solve it today is to build transaction recovery into your applications. If part of your extended transaction fails, you must manually undo the other parts that have been committed. These "undo" methods are known as compensating transactions. It's not pretty, but it's the only viable approach today.


This was first published in February 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: