All the material for this course is available from the course's source code repository. You can access all the code for each stage of the course as we progress through the chapters and examples.
- [Narrator] You will have access to the exercise files, which you can download to the desktop, as I have done here. I'm currently on a PC, but the files will still work regardless of your operating system, and you shouldn't pull the exercise files into your IDE, as a Maven project. Now, I'm going to be using IntelliJ during this course, however, any IDE that supports Maven will do. The exercise files have a modular structure that reflects the start and end state of each lesson. For example, the start state for chapter three, lesson three is located in folder 03_03_start, and the end state is in 03_03_end.
The start state contains all the necessary files and classes required for the lesson. The end state contains the completed code for each lesson, which you can use as a reference. Additionally, there are several challenges throughout the course, and the solution to these challenges are also included in the exercise files.
In this course, you can journey through the many constraints that are built into the 2.0 version of the Bean Validation API, as well as the additional constraints provided by the Hibernate Validator 6.0. Learn Bean Validation in a practical way while you build a functioning web application. Instructor Alex Theedom shows how to extend the API with custom constraints and how to internationalize validation failure messages. Plus, learn advanced techniques such as cross-field and cross-parameter validation, and how Bean Validation integrates with other Java EE technologies such as JAX-RS, Java Persistence API (JPA), and JavaServer Faces (JSF). By the end of this course, you will have gained practical experience of using Bean Validation in a real web application and be able to implement what you have learned in your own Java applications.
- What is Bean Validation?
- Applying the built-in constraints
- Applying Hibernate constraints
- Designing custom constraint validators
- Managing and configuring validation failure messages
- Creating custom composite constraints
- Creating custom validation constraints
- Cross-field and cross-parameter validation
- Integration with RESTful web services (JAX-RS)