CHAPTER 6

image

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.