Naming Interface
The Naming Interface provides a way to relate human-readable names with addresses, identifiers, or other objects used by computer systems. This allows you to provide a name, such as a filename in a directory system, and have the corresponding file object returned to you for processing. The naming interface in use determines the form of the name that must be supplied. For instance, a UNIX-based file directory will have names in the form /usr/bin, whereas an Internet DNS will have names in the standard http://www.sun.com form. A naming interface can be anything from a local directory service to an entity on the Internet.
To use the naming interface of the JNDI, you will need to import the javax.naming package:
|javax.naming package ...
Get JavaBeans Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.