O'Reilly logo

LDAP Programming with Java™ by Tony Dahbura, Rob Weltman

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

A Directory Viewer Applet

This section provides a simple example of an applet for displaying entries and attributes in the sample directory on the CD-ROM that accompanies this book. This rudimentary example is presented here mainly to explain how to set up applets; more full-featured examples are provided in subsequent chapters of this book.

A Simple Example for Java Plug-In Software

The DirBrowser class, a simple applet, uses a JTree component to display the entriesin the directory hierarchy and a JTextArea component to display the attributes of theselected entry. The JTree and JTextArea components are in a JSplitPane component.

Each node or leaf in the tree represents an LDAP entry in the directory. When the user selects a node, the applet ...

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