Right way of implementing Design Patterns in Spring Boot. Stars are appreciated
github.com
github.com
The candidates, experienced with Java and Spring, end up providing a number of if/else conditions (best they do is a switch case) to switch between strategies. I felt many aren't aware of Spring Dependency Resolver.
So I have created a sample implementation, which I believe is not redundant, that explains how to use implement Strategy and Factory patterns in Spring boot, that will allow you to just provide a new implementation and Spring will do rest of the magic.
Feel free to share any feedback, I just want to make things easier and better for fellow engineers