File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "* Welcome Dhanji Prasanna" Watch "* Welcome Dhanji Prasanna" New topic

* Welcome Dhanji Prasanna

Ajay Shanbhag

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

Joined: Sep 04, 2009
Posts: 9
Hi Dhanji Prasanna .. Welcome
I agree. Here's the link:
subject: * Welcome Dhanji Prasanna
It's not a secret anymore!