Differences and connections between COM and DCOM

Source: Internet
Author: User

In fact, this method is inherently unscientific. DCOM itself is a form of COM, but since we hear that com generally treats it as a locally executed COM, DCOM, of course, is the Distributed COM, which is executed on another computer on the network. the Difference and connection between COM and DCOM were born.

Differences:

COM has two forms: Dynamic Connection Library and executable program, but DCOM must be an executable program. because DCOM cannot run in the memory space of the client program, it cannot be a dynamic Connection Library.

COM (in the form of dynamic Connection Library) can be used without RPC communication, while DCOM must use RPC Remote Call.

COM (in the form of dynamic Connection Library) is in the same memory space with the customer, and the call speed is fast. DCOM is only one thousandth of COM.

The security of COM (in the form of dynamic Connection Library) is not high. The client program can cause errors to the service COM and the security of DCOM is high, because the memory space shared by COM and the client program is also caused.

The com program configuration is simple and the DCOM configuration is complicated. After all, DCOM involves network and security.

Contact:

The customer program does not need to know the existence form of COM, and has a unified interface call method. The customer program may not even know the location of the COM object, and may be on the same computer, it can also be on the other side of half a earth;

Because DCOM is a form of existence of COM, it has many things in common.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.