Summary
In this chapter, we saw that the COM+ programming model is based on defining out-of-band attributes on a COM+ application. This lets the administrator of the application control its behavior. The configuration settings are stored in the COM+ catalog.When an object is activated, COM+ ensures that the object runs in an appropriate context and correctly sets it up to receive the services it had requested. By providing a comprehensive interception mechanism, COM+ ensures that this run-time environment of the object is maintained during the lifetime of the object.An object from a non-configured component runs in a default context.A context is represented by a unique COM object called the object context (OC). The SDK provides APIs to let an object access its contexts OC.Finally, we looked at how an object can use the activators context or the callers context.A few of the configuration attributes were examined in detail in this chapter. In the chapters to follow, we will examine many other important attributes.