The Strategy Design Pattern in Java(I)

14 March 2008

The strategy design pattern is one of the most fundamental design pattern. The strategy pattern is a design pattern with the help which algorithms can be selected in a real time. The Strategy pattern is behavioral design pattern. The strategy pattern is very useful when it is needed to swap the algorithms used in an application at runtime.

The strategy pattern is used to define a family of algorithms, encapsulate each one, and make them interchangeable. The strategy design pattern allows the algorithms vary independent of each other from clients that implement them. With the help of strategy pattern a programmer can develop software as a collection of loosely coupled interchangeable units. As a result of which the software developed becomes highly extensible, maintainable, and reusable.

Read the next post on this.

del.icio.us:The Strategy Design Pattern in Java(I)  digg:The Strategy Design Pattern in Java(I)  spurl:The Strategy Design Pattern in Java(I)  wists:The Strategy Design Pattern in Java(I)  simpy:The Strategy Design Pattern in Java(I)  newsvine:The Strategy Design Pattern in Java(I)  blinklist:The Strategy Design Pattern in Java(I)  furl:The Strategy Design Pattern in Java(I)  reddit:The Strategy Design Pattern in Java(I)  fark:The Strategy Design Pattern in Java(I)  blogmarks:The Strategy Design Pattern in Java(I)  Y!:The Strategy Design Pattern in Java(I)  smarking:The Strategy Design Pattern in Java(I)  magnolia:The Strategy Design Pattern in Java(I)  segnalo:The Strategy Design Pattern in Java(I)  gifttagging:The Strategy Design Pattern in Java(I)

Top Of Page | Trackback

If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.

It will look like this: The Strategy Design Pattern in Java(I)

Leave a Reply