Object Instance Management

Object instance management, also known as just-in-time (JIT) activation/as-soon-as-possible (ASAP) deactivation, is one way MTS enhances scalability and improves performance.

The object instances of the CML application components are shuffled behind the scenes. When a component calls the SetComplete or SetAbort method of a context object, the object can be reclaimed and used by another process. Should the original application again request the services of the object, MTS provides a fresh copy of the object.

Reuse of components by MTS requires that the client application does not expect the state of a component to persist between uses. See Designing the CML Components and Objects for further discussion of component design.