/code - Brian SlesinskyOccasional essays, often concerning software development in Java.Guice, the Automatic Puzzle Factory- April 8, 2007 Lately I've been puzzled and intrigued by a Java 5 library called Guice, which Google released as open source last month. Guice is what's known as a dependency injection framework. It's sometimes compared to Spring, but that won't help you if you haven't used dependency injection frameworks or Spring. I think of Guice as a toolkit for building graphs of interdependent objects, or to put it another way, it's an automatic puzzle factory. Here's a short introduction to how Guice...http://slesinsky.org/brian/code/guice_puzzle_factory.html |