The Java EE 7 Tutorial
22 Bean Validation: Advanced Topics
This chapter describes how to create custom constraints, custom validator messages, and constraint groups using the Java API for JavaBeans Validation (Bean Validation).
The following topics are addressed here: