Java Technology Home Page
A-Z Index

Java Developer Connection(SM)
Books

Downloads, APIs, Documentation
Java Developer Connection
Tutorials, Tech Articles, Training
Online Support
Community Discussion
News & Events from Everywhere
Products from Everywhere
How Java Technology is Used Worldwide
Print Button
 
Book Excerpt Index

LDAP Programming with JavaTM

by Rob Weltman and Toney Dahbura

(July 05, 2000)

Chapter 5 |Chapter 10



Presented here are two chapters from LDAP Progamming with Java TM, by Rob Weltman and Toney Dahbura and published by Addison-Wesley earlier this year. Chapter 5, "Searching with the SDK," introduces you to Lightweight Directory Access Protocol (LDAP) in the Java programming language. This chapter focuses on building queries using the SDK to retrieve information. Chapter 10, "Don't Redo It, Reuse It: LDAP JavaBeans" is a little more advanced and covers how to use LDAP with JavaBeans TM technology. This chapter discusses invisible LDAP JavaBeans, and Graphical LDAP JavaBeans.

About the Book

The following is reprinted with permission from the publishers from the backcover of the book.

Lightweight Directory Access Protocol (LDAP) is now a staple of enterprise and Internet software environments. Anyone involved with Internet development, where Java technology is prominent, or in enterprise information systems must understand how to use Java technology--especially the Directory SDK for Java--in order to unlock the power of LDAP.

Written by the designer of the Directory SDK for Java and by a leading implementor of directory-based solutions, LDAP Programming with JavaTM is the first accurate, concise, and complete guide on accessing LDAP from Java applications. Assuming familiarity with Java programming, the book provides a comprehensive discussion of LDAP, from basic directory concepts to the most advanced techniques. It collects in one convenient resource the many innovative and experience-based techniques and approaches programmers have discovered for using the Directory SDK to solve LDAP access challenges.

If you are new to LDAP, you will find helpful background information about the role of directories in today's software systems; LDAP methods of storing, accessing, searching, and updating data; and how the Directory SDK for Java helps applications gain access to an LDAP server. Once you have become proficient with the essential concepts and techniques, you can move on to detailed material about authentication, LDAP and JavaScript, working with JavaBeans for reusable LDAP components, expressing data relationships in a directory, and other advanced LDAP subjects.

Specific topics covered include:

The LDAP naming and information models
The command-line tools of the SDK
Authentication with a password, SSL, and SASL
Configuring access control
Writing LDAP applets for a browser
Accessing the SDK from JavaScript
Storing configuration and preferences in a directory
Encapsulating LDAP functionality in a JavaBean
Using LDAP in Java servlets
LDAP URLs
Multiple threads and multiple connections
Referrals and replicated systems
LDAP controls
Synchronous and asynchronous operations
Performance tips

LDAP Programming with JavaTM also presents numerous examples, from simple code snippets to complete components and applications. The companion CD-ROM contains the entire book in searchable format, source code for the Directory SDK, and all the examples from the book. It also contains Netscape Directory Server 4.11 and Netscape Enterprise Server 4.0 for Windows NT and Solaris.

About the Authors

Rob Weltman is Director of the Directory Management Solutions Group at Netscape and is the designer of the Directory SDK for Java.

Tony Dahbura was a Lead Engineer at Netscape, specializing in LDAP implementation and planning, as well as the use of the Java language to facilitate LDAP access and usage. He is currently at LoudCloud.

Reader Feedback

Tell us what you think of this book excerpt.

 Very worth reading  Worth reading  Not worth reading

If you have other comments or ideas for future technical content, please type them here:


Print Button
[ This page was updated: 27-Sep-2000 ]
Products & APIs | Developer Connection | Docs & Training | Online Support
Community Discussion | Industry News | Solutions Marketplace | Case Studies
Glossary | Feedback | A-Z Index
For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's AT&T Direct Access Number first.
Sun Microsystems, Inc.
Copyright © 1995-2000 Sun Microsystems, Inc.
All Rights Reserved. Terms of Use. Privacy Policy.