Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Guice vs Spring DI  RSS feed

 
Vijitha Kumara
Bartender
Posts: 3992
27
Chrome Fedora Hibernate
  • 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
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!