Just-in-Time Activation

JIT activation is another form of instance management. Whereas object pooling reduces the overhead involved with creating objects, JIT activation can reduce the overhead needed to maintain objects. To understand why JIT activation was developed, you need to consider the types of clients used in common distributed systems with COM.

Object pooling solves the problem that occurs when an object is expensive to create and must be created frequently. This problem typically appears with stateless client models. In the past, these problems were most commonly seen with ASP Web sites. Typically, when a client interacts with a Web page in ASP (or its successor, ASP.NET), a database object is created, used, and then disposed of. If ...

Get Microsoft® .NET Distributed Applications: Integrating XML Web Services and .NET Remoting now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.