Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
What iS RMI?Remote Method Invocation. It is an approach where a method on a remote machine invokes another method on another machine to perform some computation and return the result to the calling method. To interact with the methods of objects in other / remote machines using JVM, RMI is used. This process allows the information exchanging using multiple JVMs. It provides the location transparency by giving the sense that the methods accessing locally.
Advantages of RMI: • Portable across the platforms • Code can execute on remote JVMs • Existing systems can adapt RMI as this technology is available from JDK 1.02
RMI disadvantages: • Can use only the java supported platforms • Limited functionality because of security restrictions • No support for legacy systems
CORBA advantages: • The services are non-platform and non-language dependent • Encourages various implementations based on the same interface. • Supports for primitive data types and data structures as parameters • Provides easy ways to link between objects and systems
CORBA disadvantages: • Interface Definition Language mapping needs writing for one language may not support the another language. • New changes in the existing system / code may not integrate with the IDL language tools. • Data transfer or objects is not supported by CORBA • If CORBA specifications fails for adoption by the industry, then it become legacy system.