This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes * Welcome Dhanji Prasanna Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "* Welcome Dhanji Prasanna" Watch "* Welcome Dhanji Prasanna" New topic
Author

* Welcome Dhanji Prasanna

Ajay Shanbhag
Greenhorn

Joined: Sep 04, 2009
Posts: 3
Hi Dhanji,

Since this forum is about refactoring too, how is dependency injection helpful in refactoring a piece of code? Especially if we have a very complex project (....a so called big ball of mud). Wouldn't it require a lot of effort in chartering out dependencies among objects before establishing the configuration?

Also, at what stage of refactoring should we consider dependency injection so that effort can be maximised? What is the best approach and who are good candidates for dependency injection???
Prasanna Soundarapandiyan
Greenhorn

Joined: Sep 04, 2009
Posts: 9
Hi Dhanji Prasanna .. Welcome
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: * Welcome Dhanji Prasanna
 
Similar Threads
Welcome Javid Jamae & Peter Johnson
* Winners: Dependency Injection
* Welcome David A Black
* Welcome Jeff Davis
* Welcome Glen Smith & Peter Ledbrook