File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Guice vs Spring DI

 
Vijitha Kumara
Bartender
Posts: 3909
9
Chrome Fedora Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
Dhanji Prasanna
author
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic