0
812views
Compare RMI, CORBA, EJB, .NET
1 Answer
0
7views
RMI CORBA
RMI is a Java-specific technology. CORBA has an implementation for many languages.
It uses a Java interface for implementation. It uses Interface Definition Language (IDL) to separate interface from implementation.
RMI objects are garbage collected automatically. CORBA objects are not garbage collected because it is language independent and some languages like C++ does not support garbage collection.
RMI programs can download new classes from remote JVMs. CORBA does not support this code-sharing mechanism.
RMI passes objects by remote reference or by value. CORBA passes objects by reference.
Java RMI is a server-centric model. CORBA is a peer-to-peer system.
RMI uses the Java Remote Method Protocol as its underlying remoting protocol. CORBA uses the Internet Inter-ORB Protocol as its underlying remoting protocol.
The responsibility of locating an object implementation falls on JVM. The responsibility of locating an object implementation falls on the Object Adapter either Basic Object Adapter or Portable Object Adapter.
Please log in to add an answer.