RMI corbr for Java advanced features

Source: Internet
Author: User

RMI and corbr are two distributed network programming methods.

1. Rmi is easy to use. It only supports Java, and service expansion is okay.

2. corbr is complex and supports multiple platforms and languages, but the service expansion is insufficient.

COM/DCOM is a Distributed Component Technology launched by Microsoft. It only supports the Windows platform and has a broad market of Microsoft.

 

RMI ApplicationProgramAfter compilation, stub and skeleton are generated.

The stub acts as the proxy object of the client in a remote call.

The skeleton framework is responsible for implementing the called objects, that is, the objects required by the client for remote calls.

The implementation mechanism of corbr is basically the same as that of RMI.

Differences: 1. corbr relies on middleware orb as the transaction proxy and Object Request proxy to take charge of object requests and responses.

2. Both the server and client must implement the IDL Interface file, while IDL is a language used to define remote object interfaces. This shows that corbr supports multilingual features. The program first uses the idltojava compiler to compile the IDL file and generate the Java version interface. Colleagues generate six files, including stub and skeleton.

Related Article

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.