Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.
Copyright © 2006 Sun Microsystems, Inc. All rights reserved.
Provides the RMI package.
Remote interface serves to identify interfaces whose
methods may be invoked from a remote client.
AccessException is thrown to
indicate that the caller does not have permission to perform the action
requested by the method call.
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 is thrown if an attempt
is made to lookup or unbind in the registry a name that has
no associated binding.
RemoteException is the common superclass for a number of
communication-related exceptions that may occur during the execution of a
remote method call.
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.
Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.
For more information, please consult the JSR 216 specification.