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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access