Automatic Transactions

Transactions are one of the best-known features of COM+. In fact, Microsoft Transaction Server (MTS), the predecessor to COM+, was even named after them. That said, a surprising amount of confusion surrounds exactly what a COM+ transaction is and what it is supposed to accomplish. This confusion leads many developers to implement COM+ transactions in places where they only slow performance.

A COM+ transaction isn’t a replacement for client-initiated ADO.NET transactions or stored procedure transactions. These types of transactions are handled directly by the data source, which allows them to complete much more quickly. In the case of a transaction encapsulated by a stored procedure, the entire process can take place on the ...

Get Microsoft® .NET Distributed Applications: Integrating XML Web Services and .NET Remoting 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.