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