wood burning stoves 2.0*
The moose likes Distributed Java and the fly likes what is RMI / CORBA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "what is RMI / CORBA " Watch "what is RMI / CORBA " New topic
Author

what is RMI / CORBA

Frank Pope
Ranch Hand

Joined: Sep 22, 2000
Posts: 40
the topic says it all!


<BR>Hey, one program leads to another!;(
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
RMI and CORBA are two methodologys for implementing distributed computing.
RMI (Remote Method Invocation) is pure java, it allows a java process to assess methods in java classes that are running in a seperate process. The other process can be running under a different version of the jvm and can be running on a seperate machine on the network or even across the internet. It consists of an RMI server which is running and a set of client interface classes that handle communication between the two processes using serialization.
CORBA (Common Object Request Brokering) is similar however, it isn't restricted to java. Any programming language can implement CORBA. It communicates through stubs and skeletons using IIOP.
Hope this helps

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
Carl, that's a great explanation, I just wanted to add a description of the use of these, to expand on you explanation:
whereas RMI is used only between distributed (remote) Java objects, CORBA is often used to provide access to legacy systems by hiding them behind an interface and allowing a wide variety of other languages to access through its interfaces. That's where CORBA really stands out.
And some more jargon-busting ...
IIOP -- Internet Inter-ORB Protocol
ORB -- Object Request Broker (as in CORBA)
I know that when I started with these technologies it was all clear as mud, so I hope this goes some way to making it a bit less foggy for you...
 
jQuery in Action, 2nd edition
 
subject: what is RMI / CORBA