4.2. Structural Patterns

Structural patterns control the relationships between large portions of your applications. Structural patterns affect applications in a variety of ways, for example, the Adapter pattern enables two incompatible systems to communicate, while the Façade pattern enables you to present a simplified inter-face to a user without removing all the options available in the system.

Structural patterns allow you to create systems without rewriting or customizing the code. This provides the system with enhanced reusability and robust functionality.

The following Structural patterns are described:

  • Adapter

  • Bridge

  • Composite

  • Decorator

  • Façade

  • Flyweight

  • Proxy

Adapter Pattern

The Adapter pattern acts as an intermediary between two classes, converting ...

Get Sun Certified Enterprise Architect for J2EE™ Technology Study Guide 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.