This book provides an introduction to naming and directory technologies and an overview of the Java Naming and Directory Interface (JNDI). The tutorial in this book progresses from the most basic to advanced JNDI capabilities and techniques, including more than 200 working examples that demonstrate writing, compiling, and running director enabled Java'programs. In addition, this book contains a comprehensive reference section that documents ail JNDI classes and interfaces. The accompanying CD-ROM includes JNDI software and service providers, the Java 2 platform, and the hypertext version of the Java Tutorials, the JDBC'tutorials, and the JNDI tutorial. JNDI enables programs written in the Java programming language to access naming and directory services-a vital element of the complex distributed computing environment for today's enterprise systems. A platform-independent interface, JNDI allows Java applications to work with standard and proprietary services from a variety of vendors-including the Lightweight Directory Access Protocol (LDAP), Novell Directory Service (NDS), Microsoft Active Directory, and the Solaris' Operating Environment Network Information Service (NIS) so that enterprises need not lock into a single-vendor solution. Specific topics covered include : Accessing the LDAP via JNDI. Using the directory as an object repository. Configuring a JNDI client. Handling event notifications from the directory. Creating a federation of naming systems. Building a JNDI service provider. Ail developers using the Java programming language to write applications or subsystems that access naming and directory services will find this book an indispensable resource.
Rosanna Lee is a former Senior Staff Engineer at Sun Microsystems, Inc.,where she led the design and development of the JNDI technology and theX/Open Federated Naming (XFN). She is also coauthor of the Java Class Libraries books and posters in the Java Series.
Scott Seligman, a Staff Engineer with the Java Software Development group at Sun Microsystems, Inc., is a lead designer and developer of the JNDI technology. He contributed extensively to the naming and directory clients for the Solaris Operating Environment, including XFN and the Name Service Switch. Scott is the lead engineer for the Java 2 SDK, Standard Edition, v1.4.