It's not a secret anymore!
The moose likes EJB and other Java EE Technologies and the fly likes Google Guice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Google Guice" Watch "Google Guice" New topic

Google Guice

Jimmy Ruts

Joined: Aug 28, 2012
Posts: 10


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,

Bill Gorder

Joined: Mar 07, 2010
Posts: 1682

Google has posted a comparison to Spring here

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

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.

[How To Ask Questions][Read before you PM me]
It is sorta covered in the JavaRanch Style Guide.
subject: Google Guice
It's not a secret anymore!