Wednesday, October 14, 2009

Why Dependency Injections

Dependency Injections helps decouple the various components of the application by

  1. Having the components reference each other through abstract interfaces and
  2. Delegate instantiation of concrete implementation classes to a dependency injection framework like Spring

No comments: