This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Guice vs Spring DI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Guice vs Spring DI" Watch "Guice vs Spring DI" New topic
Author

Guice vs Spring DI

Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3817

Hi Dhanji Prasanna,

How do you compare the DI implementations in both Spring and Guice ? Is there any substantial difference(s) in performance ? Since Guice primarily focuses on DI is it better than Spring's counterpart ?

Thanks,


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Dhanji Prasanna
author
Ranch Hand

Joined: Aug 30, 2009
Posts: 38
Hello,

Here is a comparison from the Guice wiki:
http://code.google.com/p/google-guice/wiki/SpringComparison

In performance, a speed test we wrote outdid spring 1.0 by 100x and spring 2.5 by 10x (This benchmark is available in the Guice code repository). Both continue to make speed improvements.


Software Engineer at Google

http://twitter.com/dhanji
 
 
subject: Guice vs Spring DI
 
Similar Threads
* Welcome Dhanji Prasanna
What is the leading DI framework at the moment?
Dependency Injection & Spring!
Dependency Injection - which gets the best IDE support?
Dependency Injection Usage