BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

rss

Annotation-Driven Dependency Injection with Google Guice 3.0

by Michael Floyd on  Apr 20, 2011 7

Late last month Google released Guice 3.0, a Java framework that implements the dependency injection (DI) design pattern. The motivation behind Guice was to make it easier for programmers to write DI code by reducing the need to write boilerplate factories. This article examines the new 3.0 features, loks at how Guice 3.0 supports Spring DI, and introduces Guice 4.1 (a.k.a. MiniGuice).

BT