• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Google Guice

 
Greenhorn
Posts: 10
Mac Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have a 'simple' question, what is the status of Google Guice nowadays?
Does it get used a lot?
Does anyone of you have experience or are you using it in your own applications?
And when or why would I chose Guice over EJB or Spring for DI?

Thanks in advance,

Jimmy
 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Google has posted a comparison to Spring here

http://code.google.com/p/google-guice/wiki/SpringComparison

To be fair that will be biased since considering who wrote it so you should also read this article by the Spring in Action author

http://jroller.com/habuma/entry/guice_vs_spring_javaconfig_a


I think by reading both articles you get a fairly balanced comparison.

Keep in mind this is a comparison of Guice to the relevant parts of Spring (DI only). Spring incorporates way more than just DI. If you have need for these things (like I do) I prefer to just use Spring for all of it as there is no comparable features in Guice.
reply
    Bookmark Topic Watch Topic
  • New Topic