Essential Points

The following summarizes the most important points described in this chapter:

  • Creational patterns allow objects to be created in a system without having to identify a specific class type in the code, so you do not have to write large, complex code to instantiate an object.

  • The Abstract Factory pattern provides an interface for creating families of related or dependent objects without specifying their concrete classes.

  • The Builder pattern separates the construction of a complex object from its represenation so the same construction process can create different objects.

  • The Factory Method pattern defines an interface for creating an object, but lets the subclasses decide which class to instantiate.

  • The Prototype pattern allows an object ...

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.