22. Bean Validation: Advanced Topics

This chapter describes how to create custom constraints, custom validator messages, and constraint groups using the Java API for JavaBeans Validation (Bean Validation).

The following topics are addressed here:

Image Creating Custom Constraints

Image Customizing Validator Messages

Image Grouping Constraints

Image Using Method Constraints ...

Get The Java EE 7 Tutorial: Volume 1, Fifth Edition 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.