Networked DCOM uses binary , while WCF encourages the use of -based messaging | Each COM component exposes its functionality through one or more |
---|---|
Process isolation limits state corruption in one process from negatively affecting the integrity of the other processes, since they only communicate through strictly defined interfaces | In addition to custom interfaces, COM also supports dispatch interfaces inheriting from |
The choice of apartment for COM objects and threads are determined at run-time, and cannot be changed.
11When an STA or MTA thread calls an NA object in the same process, then the calling thread temporarily leaves its apartment and executes code directly in the NA without any thread switching | IBM System Object Model, feature-rich alternative to COM• The design of an application must take this into account so that objects are not left orphaned |
---|---|
Text conversations and Windows messages had proved not to be flexible enough to allow sharing application features in a robust and extensible way, so COM was created as a new foundation, and OLE changed to OLE2 | NET [ ] Main article: Microsoft |
Microsoft recognized the problem with ActiveX as far back as 1996 when Charles Fitzgerald said, "We never made the claim up front that ActiveX is intrinsically secure" | Recent [ ] versions of Internet Explorer prompt the user before installing ActiveX controls, enabling the user to disallow installation of controls from sites that the user does not trust |
---|---|
Each apartment represents one mechanism whereby an object's internal state may be synchronized across multiple threads | between different interfaces of an object is achieved through the QueryInterface method |
Reference cycles are typically broken using either out-of-band termination or split identities.
9