読者です 読者をやめる 読者になる 読者になる

yohjizzz's Blog

I'm a Programmer.

DI Container by Google

Guice

Put simply, Guice alleviates the need for factories and the use of new in your Java code.
Think of Guice's @Inject as the new new.
You will still need to write factories in some cases,
but your code will not depend directly on them.
Your code will be easier to change, unit test and reuse in other contexts.

........

google-guice - Guice is a lightweight dependency injection framework for Java 5 and above, brought to you by Google. - Google Project Hosting