This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android 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: 3886
    
    5

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Guice vs Spring DI
 
It's not a secret anymore!