aspose file tools*
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
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: 3829

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