*
The moose likes OO, Patterns, UML and Refactoring and the fly likes difference between Dependency Injection (DI)  &  Inversion of Control (IOC) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "difference between Dependency Injection (DI)  &  Inversion of Control (IOC) " Watch "difference between Dependency Injection (DI)  &  Inversion of Control (IOC) " New topic
Author

difference between Dependency Injection (DI) & Inversion of Control (IOC)

vbala vmurugan
Greenhorn

Joined: Jun 20, 2008
Posts: 10
what are difference between Dependency Injection (DI) & Inversion of Control (IOC) ?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Inversion of Control is an older term for Dependency Injection.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Dilpreet Singh
Greenhorn

Joined: Jan 21, 2004
Posts: 6
first IOC then Martin Fowler coined term Dependency Injection and both were used interchangeably but the present scenario is ..we are finding difference between them.


DIL-A-NADAN
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: difference between Dependency Injection (DI) & Inversion of Control (IOC)
 
Similar Threads
difference between IOC and Dependency Injection
how to reduce the number of input parameters to a java function?
Practical Difference Between IOC & AOP
Spring with Quartz
Problems in large-scale IT projects