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 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.