O'Reilly logo

Applied Java™ Patterns by Olav Maassen, Stephen Stelting

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

Chapter 7. Distributed Technologies

Java Naming and Directory Interface (JNDI)

Packages

javax.naming, javax.naming.directory, javax.naming.event, javax. naming.ldap, javax.naming.spi

Use: J2SE (JDK 1.3), J2EE (J2EE1.2)

Description

The Java Naming and Directory Interface API was developed to provide a standardized way to access lookup services from within Java code.

It’s a vague definition, but it’s that way on purpose. JNDI allows you to standardize access across a whole range of naming and directory services. It's like having all the phonebooks in the world at your fingertips, without actually having to carry them around with you. Which actually makes it more like having 24-hour ...

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