Platform SDK: Transaction Server

Stateful Components

[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]

This section discusses stateful components and outlines some of the issues associated with writing stateful application components.

Scenario: Holding State in the MoveMoney Component

Consider the design alternative of holding state within objects.

Adding a New Method to the MoveMoney Component

Add the StatefulPerform method, which uses MoveMoney to maintain account number values.

Application Design Notes: The Trade-offs of Using Stateful Objects

Learn how holding state in objects affects the application behavior within the Microsoft Transaction Server run-time environment.


See Also

Transactions