Java Design Patterns Introduction

Creational Patterns

Creational Patterns mainly deal with the instantiation process.

Creational Patterns make the systems independent from how their objects are created.

The following five patterns fall into this category:

  • Singleton Pattern
  • Abstract Factory Pattern
  • Prototype Pattern
  • Factory Method Pattern
  • Builder Pattern

Structural Patterns

Structural Patterns focus on how objects and classes are composed.

The following seven patterns fall into this category:

  • Proxy Pattern
  • Flyweight Pattern
  • Bridge Pattern
  • Facade Pattern
  • Decorator Pattern
  • Adapter Pattern
  • Composite Pattern

Behavioral Patterns

Behavioral Patterns take care of the responsibilities among the objects and the communication between them.

The following patterns fall into this category.

  • Observer Pattern
  • Template Method Pattern
  • Command Pattern
  • Iterator Pattern
  • State Pattern
  • Mediator Pattern
  • Strategy Pattern
  • Chain of Responsibility Pattern
  • Visitor Pattern
  • Interpreter Pattern
  • Memento Pattern



PreviousNext

Related