
- DCN Tutorial
- Data Comm & Networks Home
- DCN - Overview
- DCN - Computer Network Types
- DCN - Network LAN Technologies
- DCN - Computer Network Topologies
- DCN - Computer Network Models
- DCN - Computer Network Security
- Physical Layer
- DCN - Physical Layer Introduction
- DCN - Digital Transmission
- DCN - Analog Transmission
- DCN - Transmission media
- DCN - Wireless Transmission
- DCN - Multiplexing
- DCN - Network Switching
- Data Link Layer
- DCN - Data Link Layer Introduction
- DCN - Error detection and Correction
- DCN - Data Link Control & Protocols
- Network Layer
- DCN - Network Layer Introduction
- DCN - Network Addressing
- DCN - Routing
- DCN - Internetworking
- DCN - Network Layer Protocols
- Transport Layer
- DCN - Transport Layer Introduction
- DCN - Transmission Control Protocol
- DCN - User Datagram Protocol
- Application Layer
- DCN - Application Layer Introduction
- DCN - Client-Server Model
- DCN - Application Protocols
- DCN - Network Services
- DCN Useful Resources
- DCN - Quick Guide
- DCN - Useful Resources
Difference between COM and DCOM
What is COM?
Microsoft's component program architecture, COM (Component Object Model), was mainly designed for Windows. It is the basis upon which OLE and ActiveX are built, and it allows code to be reused without being recompiled. A component in COM is a platform-specific binary file that conforming apps and other components can use.
Instead of having access to a component's underlying data structure, programmes that use its services include pointers to its standardised interface. As a result, components can communicate with one another regardless of how they work or what language they're written in.
COM programmers use COM-aware components to create their applications. Class IDs (CLSIDs), which are Globally Unique Identifiers, are used to identify different component kinds (GUIDs). Each COM component has one or more interfaces that expose its capabilities. Interface IDs (IIDs), also GUIDs, are used to distinguish between the many interfaces supported by a component.
What is DCOM?
DCOM is a programming technique that allows a computer to run programmes on a remote computer as if they were running locally. The Distributed Component Object Model (DCOM) is an acronym for Distributed Component Object Model. It is a software component that enables COM objects to communicate over the network.
DCOM is an extension of COM that addresses a few issues with the COM model to make it more beneficial over a network −
Marshalling − Marshalling solves the problem of delivering data from one COM object instance to another on a different machine; in programming words, this is referred to as "passing arguments."
Distributed Garbage Collection − Designed to scale DCOM to handle high-volume internet traffic, Distributed Garbage Collection also includes a mechanism for deleting and reclaiming completed or abandoned DCOM objects, preventing web server memory from being blown up. It then communicates with the other servers in the transaction chain, informing them that the transaction's objects are available for deletion.
DCE/RPC is used as the underlying RPC mechanism − Microsoft built DCE/RPC as the underlying technology for DCOM – where the D in DCOM comes from – to achieve the goals mentioned earlier attempt to scale to support a significant volume of web traffic.
The following table highlights the major points that differentiate COM and DCOM −
COM | DCOM |
---|---|
It stands for Component Object Model. | It stands for Distributed Component Object Model. |
COM is a set of components tools which are executed on client-side environment. | DCOM runs on the given server. |
COM objects require installation on machine where it is to be used. | It requires installation somewhere on the same network. |
COM is an interface standard. | DCOM is a model designed for distributed applications. |
It allows reusability of objects. | It doesn't allow reusability. |
- Related Articles
- Differentiate between .com, .net and .org domains.
- What are the differences between .com and .org domain?
- What are the differences between .com and .net domains?
- What is a Distributed Component Object Model (DCOM)?
- Difference Between & and &&
- Making RFC call from COM/OLE object in SAP
- Difference between Voltage Drop and Potential Difference
- After Doing B. Com, is Digital Marketing a Good Course?
- Difference between JCoClient and JCoDestination
- Difference between localhost and 127.0.0.1?
- Difference between Process and Thread
- Difference between Bootstrap and AngularJS.
- Difference between C and C++.
- Difference between Java and JavaScript.
- Difference between NodeJS and AngularJS
