Differences and contact between COM and DCOM

zhaozj2021-02-17  49

Differences and contact between COM and DCOM

In fact, this kind of legislation is not scientific.

DCOM itself is a expression of COM

But because everyone heard COM usually regards it as a COM executed locally.

And DCOM is of course distributed COM

Execute on another computer on the network. So the difference between this COM and DCOM is born.

the difference:

COM has two forms of presence

Dynamic connection library and executable

But DCOM must be an executable program. Because DCOM is not possible to run in the customer program

So can't be a dynamic connection library.

COM (Dynamic Connection Form) You can communicate with RPC

And DCOM must use RPC remote calls.

COM (Dynamic Connection Library Form) Cooperate with customers in the same memory space

Call speed fast

The speed of DCOM is only one tenth of COM.

COM (dynamic connection library form) is not high

Customer program can cause service COM errors

DCOM security

The reason is also caused by COM and customer programs sharing memory space.

COM program configuration is simple

DCOM is more complicated. After all, DCOM involves network and security.

contact:

Customer programs don't have to know the existence form of COM

Uniform interface call mode

Customer programs don't even know where COM objects

May be on the same computer

You can also in the other side of the earth;

Since DCOM itself is a form of COM

Has a lot of common.

转载请注明原文地址:https://www.9cbs.com/read-30293.html

New Post(0)