Visual C++ 6 Unleashed

Visual C++ 6 Unleashed

By MICKEY WILLIAMS and David Bennett

Understanding Transactions

Microsoft Transaction Server (MTS) was introduced shortly after the release of Windows NT 4.0. MTS extended COM to simplify the process of creating multitier applications that support transactions.

In computing terms, a transaction is a set of functions that must succeed as a group or fail as a group. Banking operations are typically used as examples of transactions. Consider the case of a money transfer, where money is transferred from account A to account B. The transfer consists of two functions:

If either of these functions fails, the entire transaction must fail. It is not permissible to debit money from account A and fail to credit account B. Likewise, it is not acceptable to credit account B without debiting account A.

Share ThisShare This

Informit Network