File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes difference between spring  and Guice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "difference between spring  and Guice" Watch "difference between spring  and Guice" New topic

difference between spring and Guice

raj talatam
Ranch Hand

Joined: Apr 19, 2012
Posts: 92
what if diffence between guice (google framework) and spring which one is better

to develope j2EE applications
Bill Gorder

Joined: Mar 07, 2010
Posts: 1682

Google Guice is really only a DI framework where the Spring suite of projects encapsulates much more. If DI is all you need then I guess evaluate both. I have always used Spring so I cannot make an educated comparison however Guice has a comparison on their website here:

To get a comparison from the other side Spring in Action author Craig Walls has a blog post comparing the 2 here:

[How To Ask Questions][Read before you PM me]
I agree. Here's the link:
subject: difference between spring and Guice
It's not a secret anymore!