Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the difference between an rmi and a corba??

 
senthil sen
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the difference between an rmi and a corba??
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both are aids in helping programs communicate with each other, particularly programs that are running on different machines and possibly different operating systems.
CORBA is a well-developed, mature standard whose initial focus was supporting communication between programs written in different languages. CORBA uses a network transport protocol called IIOP. It also uses a generic description of communication between programs called IDL (Interface Definition Language).
RMI initially supported communication between Java programs running on any platform. With the addition of an RMI-IIOP protocol and other tools, it now plays with CORBA programs as well.
One key difference: RMI allows Java programs to exchange actual code (which makes sense because all RMI programs are Java-based). CORBA can only do this between two or more Java programs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic