A Comparison of Some Dependency Injection Frameworks: Part 7 Spring JavaConfig

Introduction This series of articles is examining a number of dependency injection frameworks.  Part 3 of the series looked at the Spring framework configured with XML.  Part 5 and part 6 looked at Guice.  This article will apply the same tests to the Spring framework but configured in code using the JavaConfig download. Code The … Continue reading A Comparison of Some Dependency Injection Frameworks: Part 7 Spring JavaConfig

A Comparison of Some Dependency Injection Frameworks: Part 3 Spring with XML Configuration (Java)

Introduction Part  2 of this series of articles discussed some tests we will be applying to a variety of dependency injection frameworks.  It also showed the classes that didn't substantially change regardless of the framework. This article will look at how we run these tests in the Spring framework. Code The full code for the … Continue reading A Comparison of Some Dependency Injection Frameworks: Part 3 Spring with XML Configuration (Java)