Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Spring and the fly likes difference between spring  and Guice Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Spring
Reply Bookmark "difference between spring  and Guice" Watch "difference between spring  and Guice" New topic
Author

difference between spring and Guice

raj talatam
Ranch Hand

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

to develope j2EE applications
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1282

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:
http://code.google.com/p/google-guice/wiki/SpringComparison

To get a comparison from the other side Spring in Action author Craig Walls has a blog post comparing the 2 here:
http://www.jroller.com/habuma/entry/guice_vs_spring_javaconfig_a


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: difference between spring and Guice
 
Similar Threads
Spring and Guice (DI Book)
Guice vs Spring DI
Struts 2 + EJB3 + Spring
What is the leading DI framework at the moment?
* Welcome Dhanji Prasanna