Validating Data Input in Spring 5 Web Applications
Data validation is one of the most critical aspects when designing and building a high-performance system. This course will teach you how to properly validate input data while using Spring Web 5.
What you'll learn
Introducing unvalidated data into your system may cause severe errors in the long term. In this course, Validating Data Input in Spring 5 Web Applications, you’ll learn to properly validate data introduced using web APIs. First, you’ll explore how invalid data can affect our system. Next, you’ll discover how out-of-the box annotations can be applied in order to have a consistent validation mechanism. Finally, you’ll learn how to verify and validate input data in comparison with the persisted data. When you’re finished with this course, you’ll have the skills and knowledge of data validation needed to validate input data in Spring 5 web applications.
Table of contents
- Hibernate Validator 4m
- Demo: Set up Hibernate Validator 4m
- @NotNull, @NotEmpty, and @NotBlank 7m
- @Min and @Max 5m
- @Size 3m
- @AssertTrue and @AssertFalse 4m
- @Positive and @Negative 5m
- @Past and @Future 6m
- @Email and @Pattern 5m
- Validation Groups 6m
- Custom Constraints 1m
- Demo: Creating Custom Constraint 5m
- Demo: Using Custom Constraint 3m
- Summary 1m