Java Remote Method Invocation[Moved here from RemoteMethodInvocation]
From JavaProgramming
RMI architecture
From http://java.sun.com/j2se/1.4/docs/guide/rmi/spec/rmi-objmodel2.html
The illustration below depicts an RMI distributed application that uses the registry to obtain references to a remote object. The server calls the registry to associate a name with a remote object. The client looks up the remote object by its name in the server's registry and then invokes a method on it. The illustration also shows that the RMI system uses an existing web server to load bytecodes of classes written in the Java programming language, from server to client and from client to server, for objects when needed. RMI can load class bytecodes using any URL protocol (e.g., HTTP, FTP, file, etc.) that is supported by the Java platform.
Stubs and Skeletons
From http://java.sun.com/j2se/1.4/docs/guide/rmi/spec/rmi-objmodel2.html
The interfaces and classes that are responsible for specifying the remote behavior of the RMI system are defined in the java.rmi package hierarchy. The following figure shows the relationship between several of these interfaces and classes:
Parameter Passing with RMI
See also RmiPatterns, TransparentRmi, RmiVsCorba
EditText of this page
(last edited October 19, 2004)
or FindPage with title or text search