1. Home >
  2. All Categories >
  3. Computers & Internet >
  4. Programming & Design >
  5. Resolved Question
berkesokhan berkesok...
Member since:
April 19, 2006
Total points:
197 (Level 1)

Resolved Question

Show me another »

What is the main difference between CORBA and Java RMI?

It would be great if you addin the minor differences as major ones.
  • 4 years ago
morgan by morgan
Member since:
January 27, 2006
Total points:
124308 (Level 7)

Best Answer - Chosen by Asker

* CORBA isn't tied to one language; Java RMI is
tied to Java. The down side to this for CORBA, is
that developers also have to learn to write
interfaces in yet another language, IDL.

* CORBA doesn't allow executable code to be sent
to the remote system; RMI does.

* CORBA allows remote method invocations as well
as the exchange of primitive data types and
structures. RMI allows full objects to be
passed and returned.

See the references below.

Source(s):

  • 4 years ago
Asker's Rating:
4 out of 5
Asker's Comment:
Thank you for the info and the links.
I gave you a thumbs-up for your answer, but I have a small quibble. In your second bullet point you say that RMI allows you to send executable code. It does not.

300 char limit, see next comment...

Report Abuse

RMI allows you to transfer objects across a network via serialization, but the code to execute methods on those objects (compiled class) must already be defined on both endpoints of the transfer.

Report Abuse

Other Answers (1)

  • KS by KS
    Member since:
    December 26, 2005
    Total points:
    1762 (Level 3)
    RMI is completely Java based, where CORBA is language independant. There are many adapters for CORBA, and programs can call processes written in any language that has a CORBA interface. CORBA has many more features documented in the specification than just process communication. RMI is easier to implement if you already know Java - it looks just the same as calling a process locally - but it's limited to only calling other Java applications.
    • 4 years ago

Answers International

Yahoo! does not evaluate or guarantee the accuracy of any Yahoo! Answers content. Click here for the Full Disclaimer.

Help us improve Yahoo! Answers. Send Feedback