• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Dependency Injection - which gets the best IDE support?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"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.
 
Ranch Hand
Posts: 222
Google Web Toolkit Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can also use Apache Commons Configuration: http://commons.apache.org/configuration/userguide/howto_beans.html#Declaring_and_Creating_Beans
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic