java.rmi

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package java.rmi

Provides the RMI package.

See:
Description

Interface Summary
Remote | The `Remote` interface serves to identify interfaces whose methods may be invoked from a remote client.

Exception Summary
AccessException | An `AccessException` is thrown to indicate that the caller does not have permission to perform the action requested by the method call.
AlreadyBoundException | An `AlreadyBoundException` is thrown if an attempt is made to bind an object in the registry to a name that already has an associated binding.
NotBoundException | A `NotBoundException` is thrown if an attempt is made to lookup or unbind in the registry a name that has no associated binding.
RemoteException | A `RemoteException` is the common superclass for a number of communication-related exceptions that may occur during the execution of a remote method call.
UnexpectedException | An `UnexpectedException` is thrown if the client of a remote method call receives, as a result of the call, a checked exception that is not among the checked exception types declared in the `throws` clause of the method in the remote interface.

## Package java.rmi Description

Provides the RMI package. RMI is Remote Method Invocation. It is a mechanism that enables an object on one Java virtual machine to invoke methods on an object in another Java virtual machine. Any object that can be invoked this way must implement the Remote interface. When such an object is invoked, its arguments are ``marshalled'' and sent from the local virtual machine to the remote one, where the arguments are ``unmarshalled.'' When the method terminates, the results are marshalled from the remote machine and sent to the caller's virtual machine. If the method invocation results in an exception being thrown, the exception is indicated to caller.

Since:
  JDK1.1

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES