Inject4Spring - a small Open Source library that extends base functionality of Spring framework by providing inversion of control (IoC) capabilities for Spring configuration metadata by allowing using "opposite" direction of specifying references between beans in Spring context.
In what I hope will be the first of several articles about Guice, a new lightweight dependency injection container from Bob Lee and Kevin Bourillion from Google, this article examines the simplest and most obvious use case for the Guice container, for mocking or faking objects in unit tests. In future articles I will examine other, more ambitious areas where it can be used, including dependency elimination in large code bases.