Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Google Guice

 
Jimmy Ruts
Greenhorn
Posts: 10
Eclipse IDE Java Mac
  • Mark post as helpful
  • send pies
  • 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
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic