Bean Validation3.02.01.1
Bean Validation
3.0
2.0
1.1
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.
Enabling this feature
To enable the Bean Validation 2.0 feature, add the following element declaration into your server.xml
file, inside the featureManager
element:
<feature>beanValidation-2.0</feature>
Standard API packages provided by this feature
-
javax.validation
-
javax.validation.bootstrap
-
javax.validation.constraints
-
javax.validation.constraintvalidation
-
javax.validation.executable
-
javax.validation.groups
-
javax.validation.metadata
-
javax.validation.spi
-
javax.validation.valueextraction