Conclusion

This chapter has introduced the use of the Java LDAP SDK as a key component of a substantial server-side application. A connection-pooling class will benefit the development of almost any servlet involving LDAP. Directory SDK for Java 4.0 includes the class netscape.LDAP.ConnectionPool for this purpose. A servlet can allocate multiple connection pools for different purposes—for example, one for each LDAP server it connects to. The phone book servlet also demonstrates the dynamic creation of HTML based on LDAP queries and data.

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.