Today, we're releasing Guice 2. The minimally-sized API extensions introduced by Guice 2 will have a majorly positive impact on the size and maintainability of your code. We closely scrutinized each addition, carefully balancing maintainability and flexibility. Here are a few of my favorite new features:
- Provider methods eliminate the boilerplate of manually-constructed dependencies.
- Module overrides allow you to tweak a production module for a unit test or QA deployment.
- Private modules enable compartmentalized configuration, simplifying module reuse.
Guice 2.0 Release Notes