Inversion of Control vs Dependency injection

Discussions

EJB design: Inversion of Control vs Dependency injection

  1. Inversion of Control vs Dependency injection (6 messages)

    Hi, I am confused with the difference between Inversion of Control vs Dependency injection. Can anyone please explain the difference between these. Many Thanks, Roy
  2. They are both the same.
  3. Hi, IoC & DI are one and the same. Few think IoC is not the right name as it is a very broader percepective than compared to just dependency injection. Checkout this link for more clarity, http://www.martinfowler.com/articles/injection.html Thanks, Senthil Balakrishnan
  4. Thanks a lot everyone. Regards, Siddhartha Roy
  5. Hi,

    I am confused with the difference between Inversion of Control vs Dependency injection. Can anyone please explain the difference between these.

    Many Thanks,

    Roy
    DI is only a specific case of the more general concept known as IoC but in general they are used interchangeably.
  6. Funny that this discussion should catch my eye. I have just finished writing a blog article on this. You can check out the same at: http://neelzone.wordpress.com/2007/04/04/injection-and-inversion/ Regards, Neel
  7. Explanation about Difference between IOC (Inversion Of Control) and DI (Dependency Injection) in Spring? find from below site http://javavillage.in/view_topic.php?id=45