philwilson.org

Dependency Injection

03 March, 2018

I was busy writing a blog post about types of dependency injection, since it’s come up a few times at work, but it seems as though Roger has done it for me: Java: Spring Dependency Injection Patterns – The good, the bad, and the ugly.

Basically: use constructor injection.

See other posts tagged with di general java spring and all posts made in March 2018.