Introduction
- Java's Remote Method Invocation is an extension of Java
which allows you to distribute your objects.
Client |
|
Server |
Stub |
|
Skeleton |
Remote Reference |
|
Remote Reference |
Transport |
- RMI provide dynamic method invocation. A client can invoke a
server without knowing which methods are contained in
server.
- The Remote Reference is responsible for
determining the nature of the object. Is it local or remote? If
remote, will it start automatically or does it need to be
initialized?
- Java remote objects are platform independent, but you must
use Java at both ends (if you ignore rmi-to-corba-dcom
bridges).
- Remote objects are garbage collected using reference
counting.
- The RMI registry provides access to remote
objects.
José M. Vidal
.
1 of 22