Java 2 Platform, Micro Edition, Remote Method Invocation Specification v0.1

Last updated 08/18/2000

Introduction

The Java 2 Platform, Micro Edition, Remote Method Invocation (RMI) Profile is a J2ME Connected Device Configuration (CDC) Profile. The J2ME CDC requires a complete implementation of the Java Virtual Machine, including the core Java APIs, java.lang, java.net, and java.io. Implementations of the RMI Profile can only function on devices which 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://java.sun.com/aboutJava/communityprocess/review/jsr030/index.html,

the CDC specification available at

http://java.sun.com/aboutJava/communityprocess/review/jsr036/index.html,

the Foundation Profile specification available at

http://java.sun.com/aboutJava/communityprocess/review/jsr046/index.html,

and the J2SE 1.3 RMI specification 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.

This document specifies the subset of the J2SE 1.3 RMI API that is included in the RMI Profile. 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. More information on the Java Community Process is available at http://java.sun.com/jcp.

Relationship to the J2SE 1.3 API Specification

The API for the RMI Profile for J2ME is the minimal subset of the J2SE 1.3 RMI API that may be used with J2ME. Where not explicitly stated, the RMI Profile conforms to the J2SE 1.3 RMI specification. Classes from the J2SE 1.3 RMI API can either be completely supported, or modified in ways allowed by the Configurations and Profiles Architecture Specification. Implementations of the RMI profile must support the following "client-oriented" interfaces and functionality specified by the RMI J2SE 1.3 API :

The following interfaces and functionality defined by the J2SE 1.3 RMI specification and public API are not part of this specification for the RMI profile:


Relationship to the CLDC Specification

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

Class Hierarchy

The following is a list of classes used in J2ME-CDC. The details can be seen in the javadoc generated section of this specification.

class java.lang.Object

class java.rmi.activation.ActivationID (implements java.io.Serializable) 

class java.rmi.dgc.Lease (implements java.io.Serializable) 

class java.rmi.registry.LocateRegistry

class java.rmi.MarshalledObject (implements java.io.Serializable) 

class java.rmi.Naming

class java.rmi.server.ObjID (implements java.io.Serializable) 

class java.rmi.server.Operation

class java.rmi.server.RemoteObject (implements java.rmi.Remote,
java.io.Serializable) 

class java.rmi.server.RemoteServer

class java.rmi.server.UnicastRemoteObject

class java.rmi.server.RemoteStub

class java.rmi.server.RMIClassLoader

class java.rmi.server.RMISocketFactory (implements java.rmi.server.RMIClientSocketFactory,
java.rmi.server.RMIServerSocketFactory) 

class java.lang.SecurityManager

class java.rmi.RMISecurityManager

class java.lang.Throwable (implements java.io.Serializable) 

class java.lang.Exception

class java.rmi.activation.ActivationException

class java.rmi.activation.UnknownObjectException

class java.rmi.AlreadyBoundException

class java.lang.CloneNotSupportedException

class java.rmi.server.ServerCloneException

class java.io.IOException

class java.rmi.RemoteException

class java.rmi.AccessException

class java.rmi.activation.ActivateFailedException

class java.rmi.ConnectException

class java.rmi.ConnectIOException

class java.rmi.server.ExportException

class java.rmi.server.SocketSecurityException

class java.rmi.MarshalException

class java.rmi.NoSuchObjectException

class java.rmi.ServerError

class java.rmi.ServerException

class java.rmi.StubNotFoundException

class java.rmi.UnexpectedException

class java.rmi.UnknownHostException

class java.rmi.UnmarshalException

class java.rmi.NotBoundException

class java.rmi.server.ServerNotActiveException

class java.rmi.server.UID (implements java.io.Serializable) 

class java.rmi.dgc.VMID (implements java.io.Serializable) 

interface java.rmi.Remote

interface java.rmi.activation.Activator

interface java.rmi.dgc.DGC

interface java.rmi.registry.Registry

interface java.rmi.server.RemoteCall

interface java.rmi.server.RMIClientSocketFactory

interface java.rmi.server.RMIFailureHandler

interface java.rmi.server.RMIServerSocketFactory

interface java.io.Serializable

interface java.io.Externalizable

interface java.rmi.server.RemoteRef

interface java.rmi.server.Unreferenced


Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.

Copyright 1993-2000 Sun Microsystemms, Inc. 901 San Antonio Road Palo, Alto, California, 94303, U.S.A All Rights Reserved.