What is the difference between COM and DCOM?

Answer Posted / vikas

COM objects require installation on the machine from where
it is being used and DCOM requires installation somewhere on
the same network.

Any COM object may participate in DCOM transactions. DCOM
introduced several improvements/optimizations for
distributed environment, such as MULTI_QI (multiple
QueryInterface()), security contexts etc.

DCOM demonstrated importance of surrogate process (you
cannot run in-proc server on a remote machine. You need a
surrogate process to do that.)

DCOM introduced a load balancing.

The fact is dotnet has not replace the COM/DCOM instead it
has extended the functionality by introducing new featurs to it.

While dot-NET software can utilize COM components, and COM
components can tie into many features of the Dot-NET
environment, the two technologies are internally separate.
In particular, Dot-NET has been designed to work across the
Internet, with firewalls and wide-area networks, whereas
DCOM was designed primarily for use on local-area networks.

Is This Answer Correct ?    16 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you create Visual basic Document file?

1386


what is the Difference between Dynaset and Snapshot?

1509


What is "Reserved Error -1209"?

1333


Explain the types of Views in Listview Control?

1774


what is the control used to call a windows application.

1518






What is visual basic used for?

553


How do I create controls dynamically (at run-time)?

962


How should dates be implemented so they work with other language and country formats?

955


DHTML Is used for what?

1468


Is there any way to pass a variable to a form apart from using global variables?

1083


What is ODBC Direct and Microsoft Jet Database Engine ?

1474


Specify technical & functional architecture of your last 2 projects.

1618


Is it possible to change menu runtime using API? If yes? Specify the function names.

1543


What is the use of debug Window?

1549


Can a VB application be an OLE server?

982