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
Register / Login


JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Reply 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: 3673

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Guice vs Spring DI
 
Similar Threads
Dependency Injection Usage
Dependency Injection - which gets the best IDE support?
Dependency Injection & Spring!
What is the leading DI framework at the moment?
* Welcome Dhanji Prasanna