A two-phase commit atomic transaction (AT) protocol is used to coordinate
the persistent updates. It is important to remember that database locks may
be held for the duration of the transaction.
Figure 11-6 Two-phase commit in atomic transactions
Business activities (BA), where the results of operations are made visible
before the completion of the unit of work and where business logic is needed
to handle unsuccessful completion, for example as part of a compensation.
RDBMS
RDBMS
Web service WSa
Web service WSb
App Server 1App Server 2
RDBMS
RDBMS
Web service WSa
Web service WSb
App Ser ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.