English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-02-28 17:27:00 · 5 answers · asked by r.magesh r 1 in Computers & Internet Programming & Design

5 answers

Remote Method Invocation (RMI) facilitates object function calls between Java Virtual Machines (JVMs). JVMs can be located on separate computers - yet one JVM can invoke methods belonging to an object stored in another JVM. Methods can even pass objects that a foreign virtual machine has never encountered before, allowing dynamic loading of new classes as required.

2007-02-28 17:38:33 · answer #1 · answered by Talha 4 · 0 0

Java RMI
Java Remote Method Invocation (RMI), which is a simple and powerful network object transport mechanism, provides a way for a Java program on one machine to communicate with objects residing in different address spaces. Some Java parallel computing environments use RMI for communication, such as JavaParty, discussed in next section. It is also the foundation of Jini technology--discussed on section 2.1.5. RMI is an implementation of the distributed object programming model, comparable with CORBA, but simpler, and specialized to the Java language. An overview of the RMI architecture is shown in Figure 2.1.
Figure 2.1: RMI Architecture. \begin{figure} \centerline{\epsfig{figure=Figs/rmi.eps,width=6in}} \end{figure}
Important parts of the RMI architecture are the stub class, the object serialization, and the server-side Run-time System. The stub class implements the remote interface and is responsible for marshaling and unmarshaling the data and managing the network connection to a server. An instance of the stub class is needed on each client. Local method invocations on the stub class will be made whenever a client invokes a method on a remote object. Java has a general mechanism for converting objects into streams of bytes that can later be read back into an arbitrary JVM. This mechanism, called object serialization, is an essential functionality needed by Java's RMI implementation. It provides a standardized way to encode all the information into a byte stream suitable for streaming to some type of network or to a file-system. In order to provide the functionality, an object must implement the Serializable interface. The server-side run-time system is responsible for listening for invocation requests on a suitable IP port, and dispatching them to the proper, remote object on the server. Since RMI is designed for Web based client-server applications over slow network, it is not clear it is suitable for high performance distributed computing environments with low latency and high bandwidth. A better serialization would be needed, since Java's current object serialization often takes at least 25% and up to 50% of the time [50] needed for a remote invocation.


Try this link also
http://java.sun.com/developer/onlineTraining/rmi/RMI.html#JavaRMIArchitecture

For the diagramatic representation go through the link:
http://www.unix.org.ua/orelly/java-ent/jenut/figs/Jent.0301.gif

2007-02-28 20:02:31 · answer #2 · answered by Anonymous · 0 0

RMI it is one of the most important feature of java calling of the class files and executing on one system

2007-02-28 18:09:50 · answer #3 · answered by gowtham raghavan.tr 1 · 0 0

click the link, full details available
http://java.sun.com/developer/onlineTraining/rmi/RMI.html#JavaRMIArchitecture

2007-02-28 17:38:55 · answer #4 · answered by Anonymous · 0 0

ha ha

2016-03-18 03:33:19 · answer #5 · answered by Anonymous · 0 0

fedest.com, questions and answers