source code of the Dependency Injection post
Please find the source code under
src / main/java/blog
- Classic = without DI framework. also presents service locator
- DI = same example, but with DI (Google Guice) implementation
- DI and Polymorphism - a little more elaborated example, showing also the aspect of polymorphism
Enjoy!