Java Reference
In-Depth Information
by simply holding on to a remote reference to itself, thus ensuring that
at least one remote reference will keep it alive. This reference can be
dropped when the server decides that it no longer must be forced to be
alive.
RMI is explicitly designed to take advantage of having both client and
server in the Java programming language. This gives it a form that is
simple and direct for people who know the language. You can, of course,
implement any server methods you like as native methods. Native meth-
ods can help you use RMI as a bridge to existing native code, such as in
two- and three-tier systems.
The subpackage java.rmi.activation provides for activatable servers,
which will be started when they receive messages if they are not already
running. Multiple servers can be put in the same activation group, and
will then be run in the same virtual machine.
 
Search WWH ::




Custom Search