This chapter has introduced you to the world of servlet development. We started with a discussion of how servlets worked. Following that, you learned how to set up your development environment.
You learned how the HTTP protocol, the language of servlets, works. Following that, you learned how to create servlets using both the GenericServlet class and the HttpServlet class.
We covered how to create servlets that called other classes and how to deploy those classes. Then you learned how to preserve servlet state in the browser using cookies. Finally, you learned how to use the HTTPSession interface to store data on the server between servlet calls by the same browser.