GoogleがDIコンテナを発表しました。
上記ページに書かれている特徴は↓こちら。
- Guice empowers dependency injection.
- Guice cures tight coupling.
- Guice enables simpler and faster testing at all levels.
- Guice reduces boilerplate code.
- Guice is type safe.
- Guice externalizes configuration when appropriate.
- Guice lets you compose your application of components which are truly independent.
- Guice reports error messages as if they will be read by human beings.
- Guice is the anti-static.
- Guice is small and very fast.
なかなかおもしろそうです。
DIコンテナと言えば、老舗の Spring framework か、国産で勢いのある Seaser2 か、って感じでしたが、さてGuiceの実力はどんなものなんでしょうか。
とりあえず、上記売り文句で、
・Guice enables simpler and faster testing at all levels.
・Guice is small and very fast.
は気になるところ。
今度時間を見つけて触ってみようかな。