O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required