# Uses of Package
java.rmi

- Packages that use java.rmi
  Package | Description
  --- | ---
  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 server side of RMI.
  javax.activity | Contains Activity service related exceptions thrown by the ORB machinery during unmarshalling.
  javax.management.remote.rmi | The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.
  javax.rmi | Contains user APIs for RMI-IIOP.
  javax.rmi.CORBA | Contains portability APIs for RMI-IIOP.
  javax.transaction | Contains three exceptions thrown by the ORB machinery during unmarshalling.
  org.omg.stub.java.rmi | Contains RMI-IIOP Stubs for the Remote types that occur in the `java.rmi` package.

- Classes in java.rmi used by java.rmi
  Class and Description
  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.
  Remote The `Remote` interface serves to identify interfaces whose methods may be invoked from a non-local virtual machine.
  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.

- Classes in java.rmi used by java.rmi.activation
  Class and Description
  MarshalledObject A `MarshalledObject` contains a byte stream with the serialized representation of an object given to its constructor.
  NoSuchObjectException A `NoSuchObjectException` is thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine.
  Remote The `Remote` interface serves to identify interfaces whose methods may be invoked from a non-local virtual machine.
  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.

- Classes in java.rmi used by java.rmi.dgc
  Class and Description
  Remote The `Remote` interface serves to identify interfaces whose methods may be invoked from a non-local virtual machine.
  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.

- Classes in java.rmi used by java.rmi.registry
  Class and Description
  AccessException An `AccessException` is thrown by certain methods of the `java.rmi.Naming` class (specifically `bind`, `rebind`, and `unbind`) and methods of the `java.rmi.activation.ActivationSystem` interface 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.
  Remote The `Remote` interface serves to identify interfaces whose methods may be invoked from a non-local virtual machine.
  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.
  UnknownHostException An `UnknownHostException` is thrown if a `java.net.UnknownHostException` occurs while creating a connection to the remote host for a remote method call.

- Classes in java.rmi used by java.rmi.server
  Class and Description
  NoSuchObjectException A `NoSuchObjectException` is thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine.
  Remote The `Remote` interface serves to identify interfaces whose methods may be invoked from a non-local virtual machine.
  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.

- Classes in java.rmi used by javax.activity
  Class and Description
  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.

- Classes in java.rmi used by javax.management.remote.rmi
  Class and Description
  MarshalledObject A `MarshalledObject` contains a byte stream with the serialized representation of an object given to its constructor.
  Remote The `Remote` interface serves to identify interfaces whose methods may be invoked from a non-local virtual machine.
  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.

- Classes in java.rmi used by javax.rmi
  Class and Description
  NoSuchObjectException A `NoSuchObjectException` is thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine.
  Remote The `Remote` interface serves to identify interfaces whose methods may be invoked from a non-local virtual machine.
  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.

- Classes in java.rmi used by javax.rmi.CORBA
  Class and Description
  NoSuchObjectException A `NoSuchObjectException` is thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine.
  Remote The `Remote` interface serves to identify interfaces whose methods may be invoked from a non-local virtual machine.
  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.

- Classes in java.rmi used by javax.transaction
  Class and Description
  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.

- Classes in java.rmi used by org.omg.stub.java.rmi
  Class and Description
  Remote The `Remote` interface serves to identify interfaces whose methods may be invoked from a non-local virtual machine.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.