Strategy Design Pattern With Spring Boot

Strategy Design Pattern

Ravinder Thirumala
3 min readFeb 17, 2020

--

Strategy design pattern is a behavioral design pattern that enables selecting an algorithm at run-time.

The intent of the Strategy design pattern is to:
“Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.” [GoF]

UML class and sequence diagram from wiki

--

--

Ravinder Thirumala

Java enthusiast and open source contributor

Recommended from Medium

Lists

See more recommendations