Chapter 11. Design Patterns

Developers have been building JSP and Servlet Web Applications for a number of years. There are many ways to produce content via Servlets and JSP, but there are only a few ways that are commonly agreed upon as good. Understanding what exists, both good and bad, greatly increases your ability to build a good Web Application. This chapter is an overview of the common design patterns implemented by Web Application developers. In many ways this is one of the most important chapters of this book as it is something you can experiment with only after having a good understanding of the JSP and Servlet specifications.

This chapter discusses the following topics:

  • An explanation on why you should use design patterns.

  • Discussion of ...

Get Servlets and JavaServer Pages™: The J2EE™ Technology Web Tier now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.