O'Reilly logo

Java™ Design Patterns: A Tutorial by James W. Cooper

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. The Façade Pattern

In this chapter, we take up the Façade pattern. This pattern is used to wrap a set of complex classes into a simpler enclosing interface.

Frequently, as your programs evolve and develop, they grow in complexity. In fact, for all the excitement about the benefits of design patterns, these patterns sometimes generate so many classes that it is difficult to understand the program's flow. Furthermore, there may be a number of complicated subsystems, each of which has its own complex interface.

The Façade pattern allows you to simplify this complexity by providing a simplified interface to those subsystems. This simplification might in some cases reduce the flexibility of the underlying classes, but usually it provides ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required