File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between RMI and CORBA

 
Mahendran Aiyappan
Ranch Hand
Posts: 102
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4968
1
Hibernate Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic