Marketplace for Content, Tests and Assessment
 
 
Home > Tech news > What is google Guice ?

What is google Guice ?

People generally confuse with google Juice and google Guice.

Google Juice is the value that
Google
gives to your site, for having a link from a good site. The value adds up for each link, and you get better search rankings

Google Guice is a lightweight dependency injection framework for Java 5 and above, brought to you by Google.

So if it is a lightweight dependency injection framework , the next question that comes to mind of programmers is it same as Spring or better than Spring ?

Google has explained the difference between Spring and Google Guice.

Guice and Spring don’t compete directly. Guice was born purely out of use cases from one of Google’s biggest applications: AdWords.

(that is a fantastic usage of dependency injection).

Spring supports two polar configuration styles: explicit configuration and auto-wiring

Guice wholly embraces annotations and generics.

So even if they both are based on principle of dependency injection , they are not same.

  1. No comments yet.
  1. No trackbacks yet.
Get Adobe Flash playerPlugin by wpburn.com wordpress themes