back to j2megame.org

J2ME RMI Optional Package Specification v1.0

Java(TM) 2 Platform, Micro Edition, Remote Method Invocation Optional Package Specification v1.0

See:
          Description

Packages
java.rmi Provides the RMI package.
java.rmi.activation Provides support for RMI Object Activation.
java.rmi.dgc Provides classes and interface for RMI distributed garbage-collection (DGC).
java.rmi.registry Provides a class and two interfaces for the RMI registry.
java.rmi.server Provides classes and interfaces for supporting the unicast server side of RMI.

 

Java(TM) 2 Platform, Micro Edition, Remote Method Invocation Optional Package Specification v1.0

Introduction

The Java(TM) 2 Platform, Micro Edition (J2ME(TM)), Remote Method Invocation (RMI) Optional Package is a J2ME Connected Device Configuration (CDC) Optional Package. The J2ME CDC requires a complete implementation of the Java virtual machine (JVM)* specification and core Java APIs including java.lang, java.io, java.net, and java.util. Implementations of the RMI Optional Package can only function on devices that include support for the J2ME CDC and the Foundation Profile.

This document assumes that the reader is familiar with the Connected Limited Device Configuration (CLDC) specification available at

http://jcp.org/jsr/detail/30.jsp,

the CDC specification available at

http://jcp.org/jsr/detail/36.jsp,

the Foundation Profile specification available at

http://jcp.org/jsr/detail/46.jsp,

and the Java 2 Platform, Standard Edition (J2SE(TM)) 1.3 RMI specification available at

http://java.sun.com/j2se/1.3/docs/guide/rmi/spec/rmiTOC.html.

Note that J2ME Configurations and Profiles are defined in the Connected Limited Device Configuration Specification, Appendix 1, and J2ME Optional Packages are defined in the J2ME Platform Specification available at

http://jcp.org/jsr/detail/68.jsp.

This document specifies the subset of the J2SE 1.3 RMI API that is included in the RMI Optional Package. Information on the J2SE 1.3 RMI API is available at http://java.sun.com/j2se/1.3/docs/api/java/rmi/package-summary.html

This specification was developed under the Java Community Process(SM). More information on the Java Community Process is available at http://jcp.org/.

Relationship to the J2SE 1.3 API Specification

The API for the J2ME RMI Optional Package is a subset of the J2SE 1.3 RMI API that may be used with J2ME. Where not explicitly stated, this RMI Optional Package conforms to the J2SE 1.3 RMI specification. Classes from the J2SE 1.3 RMI API are completely supported, or modified in ways allowed by the J2ME Platform Specification. Implementations of the RMI Optional Package must support the following "client-oriented" interfaces and functionality specified by the J2SE 1.3 RMI API:

The following interfaces and functionality defined by the J2SE 1.3 RMI specification and API are not part of the specification for this RMI Optional Package and cannot be added to a conforming RMI Optional Package implementation:

Relationship to the CLDC Specification

The RMI Optional Package requires implementations of the Foundation Profile and the J2ME CDC. The RMI Optional Package for J2ME/CDC is not supported by the J2ME Connected Limited Device Configuration (CLDC).

* As used on this webpage, the terms "Java virtual machine" or "JVM" mean a virtual machine for the Java platform.


J2ME RMI Optional Package

Copyright 1994-2002 Sun Microsystems, Inc. All Rights Reserved.