Comparison between CORBA and RMI

Source: Internet
Author: User
Tags comparison

One of the main features of CORBA, as we already know, is support for RPC (remote procedure calls). Using this technique, our local object can invoke the method within the remote object of the location. Of course, there is already an inherent Java feature that can do exactly the same thing: RMI (refer to chapter 15th). Although RMI makes it possible to make RPC calls between Java objects, CORBA can rpc between objects in any language. This is clearly a big difference.

However, remote, non-Java code services can be invoked through RMI. All we need is some sort of encapsulated Java object at the end of the server, which is "wrapped" in non-Java code.

The encapsulated object establishes an external connection to the Java client via RMI and establishes a connection with non-Java code internally-using one of the techniques described above, such as JNI or J/direct.
Using this approach requires that we write some type of "integration layer"-which is exactly what CORBA is doing for us. But when you do that, you no longer need the orb that other vendors have developed.

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.