java.rmi.registry (Java Platform SE 8 )
Keywords: java.rmi.registry package
Date: 2026-03-16

# Package java.rmi.registry

Provides a class and two interfaces for the RMI registry.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  Registry | `Registry` is a remote interface to a simple remote object registry that provides methods for storing and retrieving remote object references bound with arbitrary string names.
  RegistryHandler | Deprecated no replacement

- Class Summary
  Class | Description
  --- | ---
  LocateRegistry | `LocateRegistry` is used to obtain a reference to a bootstrap remote object registry on a particular host (including the local host), or to create a remote object registry that accepts calls on a specific port.

## Package java.rmi.registry Description

Provides a class and two interfaces for the RMI registry. A registry is a remote object that maps names to remote objects. A server registers its remote objects with the registry so that they can be looked up. When an object wants to invoke a method on a remote object, it must first lookup the remote object using its name. The registry returns to the calling object a reference to the remote object, using which a remote method can be invoked.

Since:
  JDK1.1

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.