- Java EE 8 Cookbook
- Elder Moraes
- 54字
- 2025-02-17 14:53:40
Using Bean Validation for data validation
You can use Bean Validation to constrain your data in many different ways. In this recipe, we are going to use it to validate a JSF form, so we can validate it as soon as the user tries to submit it, and avoid any invalid data right away.