Distributed Component Object Model: Difference between revisions
Citation bot (talk | contribs) Alter: url. URLs might have been anonymized. | Use this bot. Report bugs. | Suggested by AManWithNoPlan | Pages linked from cached User:AManWithNoPlan/sandbox2 | via #UCB_webform_linked 730/827 |
|||
Line 28: | Line 28: | ||
'''COMsource''': Its source code is available, along with full and complete documentation, sufficient to use and also 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 Registry|Windows NT Registry Service]]. |
'''COMsource''': Its source code is available, along with full and complete documentation, sufficient to use and also 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 Registry|Windows NT Registry Service]]. |
||
In 1995, Digital and [[Microsoft]] announced Affinity for OpenVMS (also known as NT Affinity) which was intended to allow OpenVMS to serve as the [[persistence layer]] for [[Windows NT]] [[Client–server model|client-server applications]].<ref name="vms-20-years">{{cite web|url=https://h50146.www5.hpe.com/products/software/oe/openvms/history/vaxvms20/pdf/vmsbook.pdf|date=October 1997|title=OpenVMS at 20 Nothing stops it|publisher=Digital|access-date=2021-02-12}}</ref> As part of this initiative, an implementation of the [[Distributed Component Object Model]] (DCOM) was added to OpenVMS Alpha.<ref name="com-compaq">{{cite book|title=COM Beyond Microsoft: Designing and Implementing COM Servers on Compaq Platforms|url=https://books.google. |
In 1995, Digital and [[Microsoft]] announced Affinity for OpenVMS (also known as NT Affinity) which was intended to allow OpenVMS to serve as the [[persistence layer]] for [[Windows NT]] [[Client–server model|client-server applications]].<ref name="vms-20-years">{{cite web|url=https://h50146.www5.hpe.com/products/software/oe/openvms/history/vaxvms20/pdf/vmsbook.pdf|date=October 1997|title=OpenVMS at 20 Nothing stops it|publisher=Digital|access-date=2021-02-12}}</ref> As part of this initiative, an implementation of the [[Distributed Component Object Model]] (DCOM) was added to OpenVMS Alpha.<ref name="com-compaq">{{cite book|title=COM Beyond Microsoft: Designing and Implementing COM Servers on Compaq Platforms|url=https://books.google.com/books?id=i47yKPSDd1gC|isbn=1555582265|author=Gene Cronin, Terence P. Sherlock|date=2000}}</ref> In order to support DCOM, VMS was provided with implementations of the [[Windows Registry]], [[NTLM]] authentication, and a subset of [[Win32]] APIs needed to support COM.<ref>{{cite web|url=http://h30266.www3.hpe.com/odl/vax/opsys/vmsos73/vmsos73/6539/6539pro.html|title=OpenVMS Connectivity Developer Guide |
||
|date=July 2000|access-date=2021-01-01|website=hpe.com}}</ref> DCOM was first added to OpenVMS V7.2-1 for the Alpha.<ref>{{cite web|url=http://odl.sysworks.biz/disk$vaxdocmar002/opsys/vmsos721/6614/6614pro_contents.html|title=OpenVMS Alpha V7.2-1 Release Notes|website=odl.sysworks.biz|access-date=2021-01-01|date=January 1999}}</ref> A similar implementation of DCOM was added to [[Digital Unix]] as part of the AllConnect program.<ref name="com-compaq" /> |
|date=July 2000|access-date=2021-01-01|website=hpe.com}}</ref> DCOM was first added to OpenVMS V7.2-1 for the Alpha.<ref>{{cite web|url=http://odl.sysworks.biz/disk$vaxdocmar002/opsys/vmsos721/6614/6614pro_contents.html|title=OpenVMS Alpha V7.2-1 Release Notes|website=odl.sysworks.biz|access-date=2021-01-01|date=January 1999}}</ref> A similar implementation of DCOM was added to [[Digital Unix]] as part of the AllConnect program.<ref name="com-compaq" /> |
||
Revision as of 21:00, 3 May 2021
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
Distributed Component Object Model (DCOM) is a proprietary Microsoft technology for communication between software components on networked computers. DCOM, which originally was called "Network OLE", extends Microsoft's COM, and provides the communication substrate under Microsoft's COM+ application server infrastructure.
The addition of the "D" to COM was due to extensive use of DCE/RPC (Distributed Computing Environment/Remote Procedure Calls) – 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.
- It had to combine Hundreds/Tens of Thousands of objects held in the client's browser with a single transmission in order to minimize bandwidth utilization.
One of the key factors in solving these problems is the use of DCE/RPC as the underlying RPC mechanism behind DCOM. DCE/RPC has strictly defined rules regarding marshalling and who is responsible for freeing memory.
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-oriented protocol). This was later resurrected to support a Microsoft Exchange 2003 connection over HTTP.
DCOM was publicly launched as a beta for Windows 95 September 18, 1996.[1]
DCOM is supported natively in Windows NT 4.0, Windows 2000, Windows XP, and Windows Server 2003, as well as Windows 7, Windows 8, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2 and Windows Server 2016.
Hardening
As part of the initiative that began at Microsoft as part of Secure Development Lifecycle to re-architect insecure code, DCOM saw some significant security-focused changes in Windows XP Service Pack 2.[2]
Alternative versions and implementations
COMsource: Its source code is available, along with full and complete documentation, sufficient to use and also 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.
In 1995, Digital and Microsoft announced Affinity for OpenVMS (also known as NT Affinity) which was intended to allow OpenVMS to serve as the persistence layer for Windows NT client-server applications.[3] As part of this initiative, an implementation of the Distributed Component Object Model (DCOM) was added to OpenVMS Alpha.[4] In order to support DCOM, VMS was provided with implementations of the Windows Registry, NTLM authentication, and a subset of Win32 APIs needed to support COM.[5] DCOM was first added to OpenVMS V7.2-1 for the Alpha.[6] A similar implementation of DCOM was added to Digital Unix as part of the AllConnect program.[4]
The Wine Team is also implementing DCOM for binary interoperability purposes; they 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[citation needed], but are committed to making it as compatible as possible with MSRPC.
TangramCOM is a separate project from Wine, focusing on implementing DCOM on Linux-based smartphones.
The Samba Team is also implementing DCOM for over-the-wire interoperability purposes: unlike the Wine Team, they are not currently interested in binary-interoperability, as the Samba MSRPC implementation is far from binary-interoperable with Microsoft's MSRPC.
See also
References
- ^ Press Release Announcing DCOM Beta
- ^ DCOM Security Enhancements
- ^ "OpenVMS at 20 Nothing stops it" (PDF). Digital. October 1997. Retrieved 2021-02-12.
- ^ a b Gene Cronin, Terence P. Sherlock (2000). COM Beyond Microsoft: Designing and Implementing COM Servers on Compaq Platforms. ISBN 1555582265.
- ^ "OpenVMS Connectivity Developer Guide". hpe.com. July 2000. Retrieved 2021-01-01.
- ^ "OpenVMS Alpha V7.2-1 Release Notes". odl.sysworks.biz. January 1999. Retrieved 2021-01-01.