title: Real world solutions using Dependency Injection
body: <p>I was reading about DI thoroughly, and it seems interesting. So far, I'm totally living without it.   </p>
  
  <p>All the examples i saw are related to JNDI and how DI helps you being more flexible.</p>
  
  <p>What is real life applications/problems that you solved with DI that will be hard to solve in other ways?</p>
  
  <p><strong>UPDATE</strong><br>
  All the answers till now are educating, but to rephrase the question, I'm looking for examples in your programming life, that made you say "this problem will be best solved with a DI framework".   </p>