This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: * Welcome Dhanji Prasanna
 
Similar Threads
* Winners: Dependency Injection
* Welcome David A Black
* Welcome Jeff Davis
* Welcome Glen Smith & Peter Ledbrook
Welcome Javid Jamae & Peter Johnson