Uses of Package javax.naming (Java Platform SE 8 )
Date: 2026-08-19

# Uses of Package
javax.naming

- Packages that use javax.naming
  Package | Description
  --- | ---
  javax.naming | Provides the classes and interfaces for accessing naming services.
  javax.naming.directory | Extends the `javax.naming` package to provide functionality for accessing directory services.
  javax.naming.event | Provides support for event notification when accessing naming and directory services.
  javax.naming.ldap | Provides support for LDAPv3 extended operations and controls.
  javax.naming.spi |
  javax.sql.rowset.spi | The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider.

- Classes in javax.naming used by javax.naming
  Class and Description
  Binding This class represents a name-to-object binding found in a context.
  Context This interface represents a naming context, which consists of a set of name-to-object bindings.
  InvalidNameException This exception indicates that the name being specified does not conform to the naming syntax of a naming system.
  LimitExceededException This exception is thrown when a method terminates abnormally due to a user or system specified limit.
  LinkException This exception is used to describe problems encounter while resolving links.
  Name The `Name` interface represents a generic name -- an ordered sequence of components.
  NameClassPair This class represents the object name and class name pair of a binding found in a context.
  NameParser This interface is used for parsing names from a hierarchical namespace.
  NamingEnumeration This interface is for enumerating lists returned by methods in the javax.naming and javax.naming.directory packages.
  NamingException This is the superclass of all exceptions thrown by operations in the Context and DirContext interfaces.
  NamingSecurityException This is the superclass of security-related exceptions thrown by operations in the Context and DirContext interfaces.
  RefAddr This class represents the address of a communications end-point.
  Reference This class represents a reference to an object that is found outside of the naming/directory system.

- Classes in javax.naming used by javax.naming.directory
  Class and Description
  Binding This class represents a name-to-object binding found in a context.
  Context This interface represents a naming context, which consists of a set of name-to-object bindings.
  InitialContext This class is the starting context for performing naming operations.
  Name The `Name` interface represents a generic name -- an ordered sequence of components.
  NameClassPair This class represents the object name and class name pair of a binding found in a context.
  NamingEnumeration This interface is for enumerating lists returned by methods in the javax.naming and javax.naming.directory packages.
  NamingException This is the superclass of all exceptions thrown by operations in the Context and DirContext interfaces.

- Classes in javax.naming used by javax.naming.event
  Class and Description
  Binding This class represents a name-to-object binding found in a context.
  Context This interface represents a naming context, which consists of a set of name-to-object bindings.
  Name The `Name` interface represents a generic name -- an ordered sequence of components.
  NamingException This is the superclass of all exceptions thrown by operations in the Context and DirContext interfaces.

- Classes in javax.naming used by javax.naming.ldap
  Class and Description
  Context This interface represents a naming context, which consists of a set of name-to-object bindings.
  InitialContext This class is the starting context for performing naming operations.
  InvalidNameException This exception indicates that the name being specified does not conform to the naming syntax of a naming system.
  Name The `Name` interface represents a generic name -- an ordered sequence of components.
  NamingException This is the superclass of all exceptions thrown by operations in the Context and DirContext interfaces.
  ReferralException This abstract class is used to represent a referral exception, which is generated in response to a referral such as that returned by LDAP v3 servers.

- Classes in javax.naming used by javax.naming.spi
  Class and Description
  CannotProceedException This exception is thrown to indicate that the operation reached a point in the name where the operation cannot proceed any further.
  Context This interface represents a naming context, which consists of a set of name-to-object bindings.
  Name The `Name` interface represents a generic name -- an ordered sequence of components.
  NamingException This is the superclass of all exceptions thrown by operations in the Context and DirContext interfaces.

- Classes in javax.naming used by javax.sql.rowset.spi
  Class and Description
  Context This interface represents a naming context, which consists of a set of name-to-object bindings.

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.