I just created a demo for Guice, Google’s popular dependency injection framework. The Guice Demo is a bit more complex and realistic than the samples in the Guice Wiki. The documentation discusses some general aspects of applying the Dependency Inversion Principle.
As an aftermath of this demo, I’ve also created Guicer, an alternative Domain Specific Language (DSL) for configuring
a Guice Injector
which is simpler and more concise than the original Guice DSL.
The documentation introduces you to the DSL.
Enjoy!