Hi Dhanji Prasanna,
Thanks for promoting your book in javaranch.
I have a few questions.
1. How does your book cover Dependency Injection related to Spring?
2. What are the other languages where DI is used?
3. What kind of applications can DI be used?
4. What are the future prospects of DI?
Thanks and Regards,
*Nothing is CONSTANT in life, except CHANGE*
Yes it covers both Spring and Guice. DI as a design pattern is usable in most object oriented languages, though the only ones where it's in common use and with popular libraries are Java and C#. Ruby has a few but they never really took off there.
DI is useful in any non-trivial application in reducing boilerplate code and helping in a variety of ways, including making your code more testable and tolerant to change.