Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
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 begin the journey into server-side use of the SDK.