Bean Validation 1.0

The Bean Validation 1.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.

Enabling this feature

To enable the Bean Validation 1.0 feature, add the following element declaration inside the featureManager element in your server.xml file:
<feature>beanValidation-1.0</feature>

Developing a feature that depends on this feature

If you are developing a feature that depends on the Bean Validation 1.0 feature, include the following item in the Subsystem-Content header in the feature manifest file for your new feature:
com.ibm.websphere.appserver.beanValidation-1.0; type="osgi.subsystem.feature"

Standard API packages provided by this feature

  • javax.validation
  • javax.validation.bootstrap
  • javax.validation.constraints
  • javax.validation.groups
  • javax.validation.metadata
  • javax.validation.spi

Feature configuration elements

You can use the following elements in your server.xml file to configure the Bean Validation 1.0 feature:


Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: Saturday, 3 December 2016
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rwlp_feature_beanValidation-1.0
File name: rwlp_feature_beanValidation-1.0.html