Dependency Injection - which gets the best IDE support?
Edward Fox
Greenhorn
Joined: Apr 07, 2011
Posts: 3
posted
0
I'm new to DI and would like to use it in a ground up project. Spring and Guice DI comparisons seem to be a wash (both are loved by their separate camps). The pros and cons nearly cancel each other out.
So all other things being equal, IDE support becomes a big part of the decision. Of Guice and Spring, which works better with Eclipse, IntelliJ and Netbeans?
Thanks!
Jimmy Clark
Ranch Hand
Joined: Apr 16, 2008
Posts: 2159
posted
0
"Dependency Injection - which gets the best IDE support?"
This subject title may be a bit misleading. The concept of "Dependency Injection" is simply a design technique for writing object-oriented software. Any IDE which supports writing code should support this equally.
Spring and Guice are frameworks which help programmers implement "Dependecy Injection" techniques. So a more concise subject title might be "Spring or Guice - which gets the best IDE support?"
It is surely possible to implement Dependency Injection techniques without Spring or Guice, and without an IDE as well.