みなさん、はじめまして。 Amebaの基盤改善チームでアプリケーションエンジニアをしている森です。 仕事ではAmebaの会員登録システムを担当しています。 唐突ですが、今回このブログではJSR-303 Bean Validationについて導入方法を解説します。 このテーマを選んだ理由はSeasar(SAStruts)のようなアノテーションで行うバリデーションがSpring MVCで出来ないかなぁと思った事です。幸いSpring3.0からJSR-303 Bean Validationが標準サポートされた事でアノテーションの利用が簡単になりました。以下に詳しく見ていきます。 (JSR-303 Bean Validationの概要) ●JSR-303 Bean Validationの目的 Java仕様を策定しているJCP(Java Community Process)が、JavaBeanオブジ