Understanding Bean Validation 2.0: Bean Validation

Understanding Bean Validation 2.0: Bean Validation
Understanding Bean Validation 2.0: Bean Validation by Antonio Goncalves
English | 2018 | ISBN: 1980399025 | 129 Pages | EPUB, AZW3 | 10 MB

Validating data is a common task that Java developers have to do and it is spread throughout all layers (from client to database) of an application. This common practice is time-consuming, error prone, and hard to maintain in the long run. In addition, some of these constraints are so frequently used that they could be considered standard (check for a null value, its size, its range, etc.). It would be good to be able to centralize these constraints in one place and share them across layers. That’s when Bean Validation comes into play.In this fascicle will you will learn Bean Validation and use its different APIs to:- Apply constraints on a bean- Validate all sorts of constraints- Write your own constraints- A few advanced topics- Integrate Bean Validation with other frameworks (JPA, JAX-RS, CDI, Spring)