Overview of Servlets

A basic understanding of the architecture of Java servlets is important to the application that will be developed in this chapter. A servlet at its simplest level can be thought of as a Java application written to reside on a server and provide data back to clients. These clients do not have to be HTTP clients, although our discussion will focus on Web clients. The servlet runs either on a Web server that hosts servlets natively or through the use of a servlet engine that extends the functionality of a Web server. Servlets also provide the added benefit of being platform neutral: you can have the servlet running in Solaris, Linux, NT, or any other operating system that has a servlet engine. Servlets provide the same functionality ...

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.