InfoQ Homepage Spring AOP Content on InfoQ
News
RSS Feed-
Annotation-Driven Dependency Injection with Google Guice 3.0
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).