Chapter 13. Servlets and LDAP

Most of the examples and discussion in the book so far have pertained to using the LDAP SDK in a client application or applet. This chapter will focus on using the SDK in server applications. We will build a general-purpose server-side phone book application that can be used to provide HTML access to an LDAP directory. The application will be built as a Java servlet and provide digital certificate (X.509v3) lookup and the ability to view someone's photograph. The servlet also supports the concept of internal and external users.

Server-side applications typically are exposed to much higher bandwidth requirements than client-side programs, and we will look closely at squeezing maximal performance from the SDK. Let's ...

Get LDAP Programming with Java™ 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.