Difference between COM and DCOM

By | November 17, 2024

COM :-
COM stands for Component Object Model.The COM is a software architecture that allows application to be built from binary software component. It is introduced in 1993 by Microsoft. It is used to enable inter-process communication. It is also used for dynamic object creation in a large range of programming languages. The all COM objects needs to follow standard method of interaction between the components. The COM object follows the standard when providing the functionality. It is a technique for share binary code across different applications and languages.

DCOM :-
It stands for Distributed Component Object Model.It is a set of Microsoft concepts and program interfaces. It is introduced by Microsoft in 1994. These interfaces in which client program objects can request services from serve program object on other computer in a network. DCOM is a model as COM but it is specially designed for distributed applications. DCOM is major competitor to CORBA. It is originally called OLE(Object linking and embedding). It is an extension of COM. It solves a inherent problems with the COM to better use over a network.

Difference Between COM and DCOM :-

S.NO. COM DCOM
1. COM provides a binary and not source code standard and it can be implemented in many programming languages,used
for client software.
DCOM is proprietary Microsoft technology for communication among software components distributed across network computers.
2. COM is executed on client-side environment. DCOM is executed on server-side environment.
3. COM requires the installation on the machine from where it is being used. DCOM requires installation somewhere on the same network.
4. COM is not based on the DCOM model. DCOM is based on COM model, it is the extension of COM.
5. COM components can be used by scripting language in web pages. DCOM is an language independent.
6. COM is an interface standard. DCOM is a model designed for distributed applications.
7. COM does not provides better memory utilization. DCOM has the distributed garbage collector that provides better memory utilization.
8. COM allows reuse of objects. DCOM don’t allow reuse of objects.
Author: Mithlesh Upadhyay

Mithlesh Upadhyay is a Computer Science and AI expert from Madhya Pradesh with strong academic background (BE in CSE and M.Tech in AI) and over six years of experience in technical content development. He has contributed tech articles, led teams, and worked in Full Stack Development and Data Science. He founded the w3colleges.org portal for learning resources.