CHAPTER 8 ■ SOME PATTERN PRINCIPLES
Enterprise Patterns
I look at some patterns that describe typical Internet programming problems and solutions. Drawn
largely from Patterns of Enterprise Application Architecture and Core J2EE Patterns, the patterns deal with
presentation, and application logic.
Database Patterns
An examination of patterns that help with storing and retrieving data and with mapping objects to and
from databases.
Summary
In this chapter, I examined some of the principles that underpin many design patterns. I looked at the
use of composition to enable object combination and recombination at runtime, resulting in more
flexible structures than would be available using inheritance alone. I introduced you to decoupling, the
practice of extracting software components from their context to make them more generally applicable.
I reviewed the importance of interface as a means of decoupling clients from the details of
implementation.
In the coming chapters, I will examine some design patterns in detail.