Differences and contact between COM and DCOM

zhaozj2021-02-17  54

Differences and contact between COM and DCOM

In fact, this kind of legal understanding is not scientific, DCOM itself is a expression of COM, but because everyone hears COM usually treats it locally, and DCOM is of course distributed COM, on the network A computer is executed. The difference between this COM and DCOM is born. Difference: COM has two forms, dynamic connection libraries, and executables, but DCOM must be executable. Because DCOM is not possible The memory space of the client program is running, so it cannot be a dynamic connection library. COM (Dynamic Library Form) Does not use RPC to communicate, and DCOM must use RPC remote calls. COM (dynamic connection library form) and customers together exist in the same memory space, The speed of call is fast, and the speed of the DCOM is only one-tenth of COM. COM (dynamic connection library form) is not high, the customer program can cause an error in service COM, the DCOM is high, the reason is also the COM and the client program share memory The space is caused. The COM program is simple, and the DCOM configuration is more complicated. After all, the DCOM involves network and security. Contact: The client does not have to know the existence of COM, there is a unified interface call mode, the customer program does not know the position of the COM object However, it may be on the same computer, or on the other side of the earth; because the DCOM itself is a presence form of COM, there are many common.

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

New Post(0)