O'Reilly logo

Applied Java™ Patterns by Olav Maassen, Stephen Stelting

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 1. Creational Patterns

Introduction to Creational Patterns

These patterns support one of the most common tasks in object-oriented programming—the creation of objects in a system. Most OO systems of any complexity require many objects to be instantiated over time, and these patterns support the creation process by helping to provide the following capabilities:

  • Generic instantiation –This allows objects to be created in a system without having to identify a specific class type in code.

  • Simplicity –Some of the patterns make object creation easier, so callers will not have to write large, complex code to instantiate an object.

  • Creation constraints –Some patterns enforce ...

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