Jakarta Bean Validation 3.0
The Jakarta Bean Validation 3.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 the Hibernate Validator Engine.
Enable this feature
To enable the Jakarta Bean Validation 3.0 feature, add the following element declaration into the server.xml file, inside the featureManager element:
<feature>beanValidation-3.0</feature>
Feature configuration elements
Standard API packages provided by this feature
- jakarta.annotation
- jakarta.annotation.security
- jakarta.annotation.sql
- jakarta.validation
- jakarta.validation.bootstrap
- jakarta.validation.constraints
- jakarta.validation.constraintvalidation
- jakarta.validation.executable
- jakarta.validation.groups
- jakarta.validation.metadata
- jakarta.validation.spi
- jakarta.validation.valueextraction
Features that this feature enables
Supported Java versions
- JavaSE-1.8
- JavaSE-11.0
- JavaSE-17.0
- JavaSE-21.0
- JavaSE-24.0
Platform Versions
- jakartaee-9.1
- jakartaee-10.0
Features that enable this feature
Develop a feature that depends on this feature
If we are developing a feature that depends on this feature, include the following item in the Subsystem-Content header in your feature manifest file.
io.openliberty.beanValidation-3.0; type="osgi.subsystem.feature"
SPI packages provided by this feature
- com.ibm.ws.adaptable.module.structure
- com.ibm.ws.anno.classsource.specification
- com.ibm.wsspi.adaptable.module
- com.ibm.wsspi.adaptable.module.adapters
- com.ibm.wsspi.anno.classsource
- com.ibm.wsspi.anno.info
- com.ibm.wsspi.anno.service
- com.ibm.wsspi.anno.targets
- com.ibm.wsspi.anno.util
- com.ibm.wsspi.artifact
- com.ibm.wsspi.artifact.equinox.module
- com.ibm.wsspi.artifact.factory
- com.ibm.wsspi.artifact.factory.contributor
- com.ibm.wsspi.artifact.overlay