I recently came across Bob Lee's brand new IoC/DI framework: Guice. I'm usually using Spring for that purpose, and also because it goes much farther than just IoC/DI, but I thought I'd give Guice a try, especially because I wanted to play with Groovy's support for annotations.