Category: Bean Validation
-
The Java Bean Validation Cheat Sheet
In our previous post, we discussed how to use Java bean validation (AKA JSR-303 or Jakarta Bean Validation) in your Spring Boot and Java applications. We also discussed in a separate post, how to use bean validation to validate REST API calls. However, we only introduced a very small subset of the constraints that are…
-
How to use Java Bean Validation in Spring Boot
Java bean validation, AKA JSR-303 is a Java standard which is used to perform validation on items inside a Java application. Validation is performed by applying “constraints” on data items. As long as the data satisfies these constraints, it will be considered valid. Such constraints can be a specific numerical value range, being null or…