Jean-Baptiste Nizet wrote:

> Hi all.
>
> It's not clear to me when 2PC is actually needed in order to have all updates in
> a transaction committed or rolled back.
> Obviously, 2PC is required when a single transaction performs updates in two
> different databases.
> But what about a transaction spanning across several beans in different servers?
> Is 2PC really needed in that case, or is it possible to have atomic updates
> without 2PC.

You will require 2PC in this scenario if you expect that rolling back the
transaction will rollback every bean enlisted in the transaction.
begin:vcard
n:Wilson;Chip
tel;work:214-642-4559
x-mozilla-html:TRUE
org:Axys Solutions
adr:;;14001 North Dallas Pkwy;Dallas;TX;75240;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Director, Enterprise Java Practice
fn:Chip Wilson
end:vcard

Reply via email to