O'Reilly logo
  • Charles Grossman thinks this is interesting:

When a standalone program starts, it starts the main program, creates the dependencies, and then proceeds to execute the appropriate methods. However, this is exactly the reverse if IoC is applied. That is, all the dependencies and relationships are created by the IoC container and then they are injected into the main program as properties. The program is then ready for action. This is essentially the reverse of usual program creation, thus the name Inversion of Control principle.


Cover of Just Spring
  • 1. Basics
  • from Just Spring
  • by Madhusudhan Konda
  • Publisher: O'Reilly Media, Inc.
  • Released: July 2011


Core Concept