Web Services

Dennis Heimbigner <dennis[dot]heimbigner[at]colorado[dot]edu>

Lecture 13: WS-AtomicTransaction

Database Transactions

ACID

  • A = Atomic
    • Transaction operations are all performed or none are performed
  • C = Consistent
    • WRT some defined set of constraints
    • Constraints define what consistent means
  • I= Isolated
    • Each transaction sees the effects of all preceding transactions, but not the effect of overlapping transactions
    • Parallel transactions must be serializable
  • D = Durable
    • Each committed transaction is guaranteed to be applied to the database.

Distributed ACID

Distributed Atomicity vid 2-Phase Commit (2PC)

Two Phase Commit Protocol

Examine Some Code

Related WS-* Specifications

References