Diff between Containment and Aggregation?
These are the 2 mechanism that COM provides for reuse of code Containment : here the outer object becomes the client to inner object Aggregation: here the outer object exposes inner objects interface directly to the clients as if its a part of outer object. (Aggregation works only among in-process component) AUTOMATION Provides a way for objects to make function and data available to other objects. So componentscan drive one another. This is achieved using Idispatch Interface. Automation composed of 3 Parts: Automation Server // Application that expose objects Automation Client // Application that access objects within Automation Server Type Library // Provides information about objects in the Automation Server to clients at runtime ActiveX Controls Originallyin 1994 OCX controls were available. Later it provided initial design for OLE control. For OLE control to work properly on the internet ActiveX controls got resulted. ActiveX controls are reusable components supporting a variety o