Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Spring
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: 89
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: 1681
    
    7

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]
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: difference between spring and Guice