/code - Brian SlesinskyOccasional essays, often concerning software development in Java.Inject is the new import- January 23, 2008 import com.example.Thing; ... Thing.go(); import com.example.Thing; ... Inject private Thing thing; ... thing.go() I've written before about how Guice works, but didn't explain why you would want to use it. Here's one way to think about it. Read morehttp://slesinsky.org/brian/code/inject_is_the_new_import.html |