Go The difference between RPC, CORBA, WebService

Source: Internet
Author: User

RPC, a remote procedure call protocol invented by Sun, is the first truly distributed application model. The R PC used on Windows is an extension of dcerpc. Strictly speaking, RPC is a logical protocol that can use a socket, Named pipe, and other lower-level protocols to complete the communication task. Most of the Windows system itself is now using the RPC protocol for service programs that involve both communications and distributed applications. That's why RPC vulnerabilities have caused windows so much trouble the previous time.


CORBA extends the concept of RPC. Distributed applications developed with RPC are process-oriented , and CORBA is fully object-oriented . CORBA protocol is used in many large enterprise-level applications. As a result, CORBA's expansion of RPC is just like the C + + language. DCOM is a distributed, object-oriented application model developed by Microsoft itself. It is designed to be the same as CORBA, but it is far less robust and rich than CORBA, so there is not much that is true of using the DCOM protocol in enterprise application systems.


In enterprise software development, a kind of e-mail-like asynchronous communication method is often used-Message queuing. Microsoft, IBM and other companies by the corresponding Message Queuing products, IBM's MQ series is now a more mature industry, a wide range of applications.

Web Service is built on the basis of an open HTTP protocol and XML language, a new distributed application model similar to CORBA or RPC. Compared with the traditional RPC and CORBA, WEB service uses XML to describe all the data, it has the common, interactive advantage, because the use of HTTP protocol to transfer data, with cross-platform, cross-network characteristics. Microsoft's. NET platform and Sun's Java EE platform all support Web Service.

So, generally speaking, there are a lot of distributed technologies that can be used, and we can use them as needed. For example, the simplest communication can be directly implemented with socket programming, for applications with high distributed requirements, you can consider using RPC, in an object-oriented environment, you can choose CORBA or DCOM; When we want to build an open distributed application system between different networks and platforms, the WEB Service is the best choice. I think, learning these techniques to follow a certain sequence, gradually study. The basic knowledge of network communication and TCP/IP protocol must be mastered first, which is the precondition. Then you can learn the most basic communication programming technology socket, then you can choose to learn one of RPC, CORBA, DCOM, and then, in full understanding of the XML language and HTTP protocol based on the mastery of Web service is very easy. You can look at the books in every field in this way-I can't think of a specific title for a moment.

Go The difference between RPC, CORBA, WebService

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.