Summary

In programming, transactions are actions that affect shared data. A transaction must follow the ACID rules: atomic, consistent, isolated, and durable. When more than one database system is involved in a transaction, transaction systems use an algorithm known as the two-phase commit. It is difficult to build an infrastructure to make COM components available to share a transaction, to guarantee the ACID rules, and to use the two-phase commit algorithm by hand. Microsoft provides that infrastructure through MTS, which serves as a TP monitor—software that can manage the flow of a transaction—and serves as an ORB—software that can create and manage the lifetime of middle-tier components.

MTS uses interception to monitor all calls going to ...

Get COM+ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.