兩篇好文章: java
http://www.ibm.com/developerworks/cn/java/j-lo-beanvalid/ get
http://www.ibm.com/developerworks/cn/java/j-lo-jsr303/ developer