In this section, you'll learn how you can use just-in-time activation to use server resources efficiently, resulting in more scalable applications and improved performance. You'll also see how a simple change to the Account component allows it to scale efficiently and support a large number of clients, without requiring you to make any changes to the client.
Scenario: Adding Just-In-Time Activation to the Account Component Add code to your Account component to take advantage of just-in-time activation, which releases the component's resources when Account has completed its work. |
|
Adding Code to Call GetObjectContext, SetComplete, and SetAbort Add code to call GetObjectContext, SetComplete, and SetAbort. |
|
Application Design Notes: Just-In-Time Activation Learn how to reuse resources efficiently so you can build scalable applications. |
See Also
Context Objects, Deactivating Objects, Creating a Simple ActiveX Component, GetObjectContext method, SetAbort method, SetComplete method