A Comparison of Some Dependency Injection Frameworks: Part 6 Guice (Java) Continued

Introduction Part 5 of this series of articles started examining Guice as a dependency injection framework.  This article completes that, and makes some general comments on the Guice framework. The code for this article is available (it's the same code as in part 5). Testing Guice (Continued) Tests 4 and 5:  Creation of an object with singleton … Continue reading A Comparison of Some Dependency Injection Frameworks: Part 6 Guice (Java) Continued

A Comparison of Some Dependency Injection Frameworks: Part 5 Guice (Java)

Introduction This series of articles compares a number of dependency injection frameworks. Part 4 looked at Spring.Net.  This article and part 6 look at Google's Guice framework. Guice Guice is a valiant attempt by those clever guys at Google to make dependency injection simpler, and to remove some of the problems with XML configuration described in … Continue reading A Comparison of Some Dependency Injection Frameworks: Part 5 Guice (Java)