O'Reilly logo
  • Carlo Cayos thinks this is interesting:

In this chapter, you got a taste of DI in Spring. DI is a way of associating application objects such that the objects don’t need to know where their dependencies come from or how they’re implemented. Rather than acquiring dependencies on their own, dependent objects are given the objects that they depend on. Because dependent objects often only know about their injected objects through interfaces, coupling is kept low.


Cover of Spring in Action, 4th Edition: Covers Spring 4


Dependency Injection definition