Bean Validation 2.0
The Bean Validation 2.0 specification provides an annotation based model for validating JavaBeans. It can be used to assert and maintain the integrity of data as it travels through an application.
Command Line Install
To install the feature from the command line, type:
bin/installUtility install beanValidation-2.0
To use the feature at runtime add the following to your server.xml file