Now that we've examined some of the architectural issues surrounding the use of server-side programming and J2EE, we can look in-depth at the first of the APIs that make up the programming model. In this chapter, we will introduce you to the concept of a servlet and discuss what servlet programming entails. We will discuss the following:
HyperText Transfer Protocol (HTTP) basics
Servlet life cycle
web.xml deployment descriptor file
Arguments for using servlets
This chapter, which fundamental concepts about the servlet API, will focus entirely on the servlet container as shown in Figure 6.1. In the next chapter, we will examine how to take the examples and principles that we will review ...