JJCC Blog

Tuesday Mar 13, 2007

Google's Guice

One of the blogs I read occasionally is written by Bob Lee, a Java programmer who works for Google. Recently, he announced the release of Google's Guice 1.0, a dependency injection framework built around annotations with support for generics. Why is this significant? To me, it's significant because I've grown to appreciate the productivity benefits of solutions built on annotations (Stripes, for instance) versus their XML alternatives (Struts, etc.). In this case, Guice is going up against Spring, or at least some of Spring.

At this point, I have little to add because I haven't used Guice. If you've read my article on Spring, though, you know I use it as more than a dependency injection framework, and I can envision Guice having a tough time pulling me away from Spring because of it. Nevertheless, it will be on my mind as I dig into new projects as a possible time-saver.

Comments:

Post a Comment:
  • HTML Syntax: Allowed

Feeds

Search

Links

Navigation