Difference Between Corba and RMI
Java is an extremely popular language among developers. Extremely portable nature of the Java is of a great advantage. That integrates well with web browsers, which is ideal for Web development companies. As far as developers are concerned, it is easy to use and implement. This is the main reason why many developers adopt this technology.
Two of the main distribution systems commonly used in Java are RMI and CORBA. Both have their own advantages and disadvantages. Applications that use these systems are very large and almost limitless. As a developer of a particular project, the choice between the two can be a difficult decision.
Common Object Request Broker Architecture CORBA, or simply has many adapters. It is in direct competition with RMI, but CORBA provides better portability.
CORBA can integrate easily with existing systems and to supports new CORBA. However, for developers of Java technology it is less flexible and not allowed to run and must be sent to remote systems.
CORBA is a complete family of standards and interfaces. Discovering the details of these interfaces is a difficult task.
Remote method invocation is the full form of RMI. The release of this technology was made with Java 1.1, Nowadays available with JDK 1.2 which allows developers to invoke Java objects and methods by which it must be run on Java virtual machines. Implementation is been made fairly easy, especially if you really know Java. It’s like calling a local process; however, their calls are limited to Java.
After mentioning the function of Java RMI attention, the only way to integrate the code in other languages is in the distribution system which uses the RMI interface. This interface is called the Java interface for native code. However, it can be extremely complex and, more often than not results in the code to be easier.
RMI also has important features that CORBA has, above all, the ability to send new objects, code and data across a network, and remote virtual machines to handle new objects flawlessly.
Comparing RMI and CORBA, is like comparing an apple and an orange. Mainly, there is no one better than the other. This depends entirely on the application or project in question and the preference of developers.
1. RMI is Java dependent while, CORBA is not dependant on one language.
2. Java programmers and developers can master RMI easily as compared to CORBA.
3. CORBA provides greater portability thanks to its high adaptability to different programming languages.
4. Unable to send new CORBA objects across networks.