Strategy Design Pattern With Spring Boot
Strategy Design Pattern
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]