Thursday, May 8, 2008
Title: What's So Great About Guice
Presented By: Scott Bale, Terracotta
About the Presentation:

Guice (http://code.google.com/p/google-guice/) is a lightweight dependency injection (DI) framework, alleviating the need for hand-written factories or use of the Java "new" keyword. Guice makes the provocative claim to being the new "new". Guice differs from Spring in it's approach to DI - Guice eschews XML configuration in favor of leveraging Java's native type-safety via Java 5 annotations and generics. But Guice need not necessarily be seen as a replacement for Spring; Guice has built-in Spring integration. In this presentation we will learn the basics of Guice, it's API and object model, via simple code exercises. We will also examine the options available to migrate existing code bases to Guice.

This talks assumes basic familiarity with Java 5 annotations and generics, as well as dependency injection.

About the Presenters:

Scott Bale works for Terracotta (http://www.terracottatech.com/). He has been a Java software developer since 1998, and has become a proponent of test-driven development and dependency injection as a means to reduce coupling and improve testability and maintainability of code.

 
Presentation Materials: guice.pdf, guiceTalkEclipseProjects.zip

Send comments to javasigsc at ociweb dot com