JNDI: Java's Naming Service

A naming service is an integral piece of distributed systems. With the explosion of the Internet, naming services have become commonplace. While computers communicate with raw IP addresses such as 198.137.241.43, humans prefer symbolic names such as whitehouse.gov. Naming is not only a convenience for humans: It also adds a level of indirection. If the user always uses the whitehouse.gov name, the mapping of the name to a raw address can change without breaking a client.

The naming service is also location-independent. For instance, an email about the latest foreign policy might indicate that more information can be found on whitehouse.gov. The name whitehouse.gov is independent of the client; anyone can use the name ...

Get J2EE™ Applications and BEA™ WebLogic Server™ now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.