Chapter 3. Composition of Design Patterns

The development of applications using design patterns as design components requires a careful look at composition techniques. In this chapter we briefly review several techniques for composing design patterns. These techniques can be categorized as

  • Behavioral composition techniques

  • Structural composition techniques

The behavioral techniques are based on object interaction specifications to show how instantiations of patterns can be composed, whereas structural techniques are based on the static architectural specifications of composed instantiated patterns using class diagrams. Although we adopt in the following chapters the structural approach, a hybrid technique showing both structural composition and behavioral ...

Get Pattern-Oriented Analysis and Design: Composing Patterns to Design Software Systems now with the O’Reilly learning platform.

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