Tuesday, May 1, 2007

Google-Guice a IoC framework Java

clipped from code.google.com
Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 5, brought to you by Google.

Guice wholly embraces annotations and generics, thereby enabling you to wire together and test objects with less effort than ever before. Annotations finally free you from error-prone, refactoring-adverse string identifiers.

In a nutshell:

  • Guice empowers dependency injection.
  • Guice cures tight coupling.
  • Guice enables simpler and faster testing at all levels.
  • Guice reduces boilerplate code.
  • Guice is type safe.
  • Guice externalizes configuration when appropriate.
  • Guice lets you compose your application of components which are truly independent.
  • Guice reports error messages as if they will be read by human beings.
  • Guice is the anti-static.
  • Guice is small and very fast.