This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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.
"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 ]