wood burning stoves 2.0*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Dependency Injection - which gets the best IDE support? 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 "Dependency Injection - which gets the best IDE support?" Watch "Dependency Injection - which gets the best IDE support?" New topic
Author

Dependency Injection - which gets the best IDE support?

Edward Fox
Greenhorn

Joined: Apr 07, 2011
Posts: 3
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: 2187
"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.
Elchin Asgarli
Ranch Hand

Joined: Mar 08, 2010
Posts: 222

You can also use Apache Commons Configuration: http://commons.apache.org/configuration/userguide/howto_beans.html#Declaring_and_Creating_Beans


Personal page, SCJP 6 with 91%, SCWCD 5 with 84%, OCMJD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dependency Injection - which gets the best IDE support?
 
Similar Threads
* Welcome Dhanji Prasanna
Guice vs Spring DI
What is the leading DI framework at the moment?
Dependency Injection Usage
Injecting Simple properties ? Guice or Spring