Difference between COM and DCOM

1. Component Object Model (COM) :
Component object model was introduced by Microsoft in the year 1993. It is an interface standard designed for software components. It helps for the inter process communication irrespective of the programming language to be used. COM is termed as a software architecture that allows systems to be built from the different software vendors. It is also called as a set of binary standards which helps in the creation of a dynamic object. COM can also be termed as the standard for the effective communication between the components.

The benefits of using COM are it can be used with any programming language which is capable of creating objects and pointer.

2. Distributed Component Object Model (DCOM) :
The distributed component object model is specifically designed for distributed applications. Before DCOM was known as “Network OLE”. The applications designed with COM was not able to serve the need of distributed computing as a result DCOM came into the picture. This supports the need in which the component needs to communicate across networked supported computers.

The benefits of using are it provides distributed computing, it has a distributed garbage collector that enhances the CPU utilization.



Difference between COM and DCOM :



Basis of COM DCOM
Abbreviation Component Object Model. Distributed Component Object Model.
Execution on Client-side environment. Server environment.
Installation Required on the machine where it used. Required on the same network.
Model type COM is an interface standard. DCOM a model designed for distributed applications.
Object reusability It allows. It does not allows.
Allow Distributed No, such capability of distributed objects. Yes, it is capable of distributed objects.
Memory utilization It does not provide better utilization. It has distributed object collector which enhances memory utilization.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.