This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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: 63053
    
  69

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
 
jQuery in Action, 3rd edition
 
subject: difference between Dependency Injection (DI) & Inversion of Control (IOC)
 
jQuery in Action, 3rd edition