Distributed component object model
Encyclopedia : D : DI : DIS : Distributed component object model
- "DCOM" redirects here. For , see .
The addition of the "D" to COM was due to extensive use of DCE/RPC - more specifically Microsoft's enhanced version, known as MSRPC.
In terms of the extensions it added to COM, DCOM had to solve the problems of
- Marshalling - serializing and deserializing the arguments and return values of method calls "over the wire".
- Distributed garbage collection - ensuring that references held by clients of interfaces are released when, for example, the client process crashed, or the network connection was lost.
DCOM was a major competitor to CORBA. Proponents of both of these technologies saw them as one day becoming the model for code and service-reuse over the Internet. However, the difficulties involved in getting either of these technologies to work over Internet firewalls, and on unknown and insecure machines, meant that normal HTTP requests in combination with web browsers won out over both of them. Microsoft, at one point, attempted and failed to head this off by adding an extra http transport to DCE/RPC called "ncacn_http" (Network Computing Architecture, Connection-based, over HTTP).
Alternate versions and implementations
The Open Group has a DCOM implementation called COMsource. The source code is available for COMsource, along with full and complete documentation, sufficient to use and also sufficient to implement an interoperable version of DCOM. According to that documentation, COMsource comes directly from the Windows NT 4.0 source code, and even includes the source code for a Windows NT Registry Service.The Wine Team is also implementing DCOM. They are doing so for binary interoperability purposes, and are not currently interested in the networking side of DCOM, which is provided by MSRPC. They are restricted to implementing NDR (Network Data Representation) through Microsoft's API, but are committed to making it as compatible as possible with MSRPC.
See also
- ActiveX
- Component Object Model (COM)
- Dynamic Data Exchange (DDE)
- Microsoft .NET
- .NET Remoting
- Object Linking and Embedding (OLE)
External links
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
