answersLogoWhite

0

What are objectives of RMI?

User Avatar

Anonymous

16y ago
Updated: 8/17/2019

Java Remote Method Invocation (Java RMI) enables the programmer to create distributed Java technology-based to Java technology-based applications, in which the methods of remote Java objects can be invoked from other Java virtual machines*, possibly on different hosts. RMI uses object serialization to marshal and unmarshal parameters and does not truncate types, supporting true object-oriented polymorphism.

The Java Remote Method Invocation API, or Java RMI, a Java application programming interface, performs the object-oriented equivalent of remote procedure calls. Two common implementations of the API exist: # The original implementation depends on Java Virtual Machine (JVM) class representation mechanisms and it thus only supports making calls from one JVM to another. The protocol underlying this Java-only implementation is known as Java Remote Method Protocol (JRMP). # In order to support code running in a non-JVM context, a CORBA version was later developed. Usage of the term RMI may denote solely the programming interface or may signify both the API and JRMP, whereas the term RMI-IIOP (read: RMI over IIOP) denotes the RMI interface delegating most of the functionality to the supporting CORBA implementation. The programmers of the original RMI API generalized the code somewhat to support different implementations, such as an HTTP transport. Additionally, work was done to CORBA, adding a pass-by-value capability, to support the RMI interface. Still, the RMI-IIOP and JRMP implementations do not have fully identical interfaces. RMI functionality comes in the package java.rmi, while most of Sun's implementation is located in the sun.rmi package. Note that with Java versions before Java 5.0 developers had to compile RMI stubs in a separate compilation step using rmic. Version 5.0 of Java and beyond no longer require this step.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Is RMI platform independent?

rmi is a protocol not plateform independent


When was RMI Corporation created?

RMI Corporation was created in 2002.


What does the RMI mean?

RMI means Remote Method Invocation and it is a way to programm distributed code in Java


Where can one find Java RMI tutorials?

One can find a range of Java RMI tutorials on YouTube. Learn from simple and easy-to-follow videos posted by users with Java RMI experience. Ask questions and get answers from the YouTube community.


How do you implement RMI in Java programming?

You download Rmi Updater then load it on and update it and then its done boom!


What is the difference between RMI remote procedure call?

I think the difference is that RMI uses AAAAAA and the procedure uses BBBB


What is RMI in Java?

RMI stands for Remote Method Invocation. It allows programmers to created distributed applications (applications that run on multiple machines). For more information check http://java.sun.com/javase/technologies/core/basic/rmi/index.jsp


What are the difference and similarities between RMI and RPC?

RMI or Remote Method Invokation is very similar to RPC or Remote Proceedure call in that the client both send proxy objects (or stubs) to the server however the subtle difference is that client side RPC invokes FUNCTIONS through the proxy function and RMI invokes METHODS through the proxy function. RMI is considered slightly superior as it is an object-oriented version of RPC.


What is the difference between RMI and RPC?

RMI simply offers remote access to an object running in another process. But EJB offers far more services than RMI. EJB leverages this remote-object feature of RMI, but also provides other services such as persistence, transaction management, security, and resource management. The EJB server provides all of these complex services which allows EJB developers to worry about business logic instead. For a complete understanding of EJB i suggest Http://edocs.bea.com/wle/rmi/sampejb.htm


What actors and actresses appeared in Le temps du RMI - 2002?

The cast of Le temps du RMI - 2002 includes: Matteo Capelli Ticky Holgado Laurent Petitguillaume Laure Sainclair


What does the acronym RMI stand for?

RMI stands for the Republic of Marshall Islands. The Marshall Islands are a chain of islands off the pacific ocean of the coast of New Zeland. They have a population of 68,000.


What is stub and skeleton in rmi?

In Remote Method Invocation (RMI), a stub is a client-side proxy that represents a remote object, allowing the client to invoke methods on it as if it were a local object. The skeleton, on the other hand, is a server-side component that receives calls from the stub, unmarshals the parameters, invokes the actual remote method on the real object, and marshals the results back to the client. While the skeleton was essential in earlier RMI implementations, modern Java RMI uses dynamic proxies and often eliminates the need for explicit skeletons.