Migrate applications that use the Bean Validation API
The Bean Validation API is introduced with the Java Enterprise Edition 6 platform as a standard mechanism to validate JavaBeans in all layers of an application, including, presentation, business, and data access. Before the Bean Validation specification, the JavaBeans were validated in each layer. To prevent the reimplementation of validations at each layer, developers bundled validations directly into their classes or copied validation code, which was often cluttered. Having one implementation that is common to all layers of the application simplifies the developers work and saves time.
Subtopics
- Migration of JPA applications and bean validation
The Java Persistence API (JPA) 2.0 provides support for the Bean Validation API so that data validation can be done at run time. This topic includes best practices when to deploy Version 7 Feature Pack for OSGi and JPA 2.0 applications on Version 8.x.
Related information:
Develop applications that use the Bean Validation API
Troubleshooting applications that use the Bean Validation API