Microsoft® .NET Distributed Applications: Integrating XML Web Services and .NET Remoting
by Matthew MacDonald
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access