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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Difference between RMI and CORBA" Watch "Difference between RMI and CORBA" New topic
Author

Difference between RMI and CORBA

Mahendran Aiyappan
Ranch Hand

Joined: Sep 05, 2005
Posts: 102
Hai to everybody. Actually I know about RMI concepts. But i wanted to know what CORBA is and what is the relationship between RMI and CORBA. I know CORBA will support some other language that JAVA. But other than that what is it use. If you having any example program please provide me or any links.

Thanks
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

"When they created RMI technology, nodoby knew what to call it. Someone asked James Gosling what to call it, and he said ...Errrr...Uhmmmmm...Eeeyeee.... And the marketing geniuses said "Okay, that's it. We'll call it RMI" "
-Cameron McKenzie, Frome What is WebSphere? Demistifying IBM's Middle Tier Technology

RMI is a technology the was released with Java 1.1 to make JVM to remote JVM calls possible. RMI uses stubs an skeletons, a little RMI server that has its own, sexy little naming type service, and the RMI protocol for marshalling requests back and forth from JVM to JVM.

CORBA is an entire infrastructure, almost like J2EE before the Java Gods created J2EE. Actually, lots of J2EE stuff is just totally stolen from CORBA, er, I mean, based on CORBA. CORBA defines a naming service, transaction service, and even a social housing service. CORBA was very progressive.

Many places have CORBA infrastructures, so, to allow J2EE people to pretend that EJBs might in some crazy world be compatible with CORBA components, they let EJBs be invoked using a protocol that combined all the worst features of RMI and CORBA. This communication protocol disaster is called RMI/IIOP, or Remote Method Invokation over the Internet Inter-Orb Protocol, which was the CORBA protocol. RMI = Java protocol. IIOP = CORBA protocol.

A sample app? Heh....Now that's an interesting challenge.
[ August 27, 2006: Message edited by: Bear Bibeault ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between RMI and CORBA