October 01, 2003

Behavioral Pattern

Behavioral Patterns are related to the way objects interact and behave in conjunction with related objects. These patterns govern the way in which objects interact and communicate with each other.

• Advantages:

– These patterns let us build specialized objects that are used to communicate with the actual objects, thereby encapsulating the actual object's communication internals.

– By presenting an object that is used to communicate with the actual object, a change to the object only implies changing the related object, and not all the clients who access these objects. The Template pattern and the Iterator pattern are commonly used examples of behavioral patterns.

Behavioral Pattern is divided in following sub groups:

· Chain of Responsibility

· Iterator

· Mediator

· Memento

· Observer

· State

· Template Method

· Visitor