Validating Data

The Bean Validation API is utilized for validating data values in both Java SE and EE applications. As of Java EE 6, Bean Validation was included in the platform, adding integrated validation capabilities for enterprise applications. JavaServer Faces applications can utilize bean validation for validating values that are entered on an input form or even for calculations that are processed on the server. The best part is that the validation can occur with minimal programming because annotations are utilized to declaratively apply constraints against data for validation.

The Bean Validation 1.1 API is included in the Java ...

Get Introducing Java EE 7: A Look at What's New now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.