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. This feature is built on top of the Hibernate Validator Engine.
Command Line Install
To install the feature from the command line, type:
bin/installUtility install beanValidation-2.0
If you are installing into 18.104.22.168 or earlier and the feature supports that version, use the featureManager command, for example:
bin/featureManager install beanValidation-2.0 --when-file-exists=ignore
To use the feature at runtime add the following to your server.xml file