Java Reference
In-Depth Information
The RMI OP package, defined by JSR 66, provides a comprehensive subset of Java
RMI, including remote call semantics, remote object representation, object exporting
from CDC devices, and distributed garbage collection. RMI OP is based on the original
J2SE RMI implementation and its wireline protocol; it is not an implementation of RMI-
IIOP, which brings CORBA to Java. When writing applications that use RMI OP, you must
define interfaces for the remote services, implement the remote services using the inter-
faces you define, and write the remote service host container that manages those
interfaces. If part of your application runs on Java SE- or Java EE-enabled hardware, you
must also generate the stub classes used by RMI to support object distribution across
multiple virtual machines on the network.
Using Java RMI in Java ME isn't for everyone. In today's world of distributed web
services using XML over HTTP, it's best suited for environments that require fully object-
oriented approaches toward distributed computing, or for those legacy environments
that require you to connect Java ME devices to existing network services already offering
RMI services to other Java clients.
 
Search WWH ::




Custom Search