2009-06-22から1日間の記事一覧

サーブレットでGoogle guice

サーブレットで Google guice を使用する場合、guice-servlet-2.0.jar を使う。 web.xml に、com.google.inject.servlet.GuiceFilter でフィルタを宣言。 サーブレットの初期化で com.google.inject.servlet.ServletModule を install のバインド定義したイ…