In this video, find out what knowledge you should ideally have in order to take full advantage of this course and related learning material. Discover what you need in order to take an active role while following this course. Get an introduction to what IDEs are best suited to use during this course, what version of Java SE you need, the Java Enterprise Edition version we are going to use, and discover what Enterprise server is most appropriate to use with this course.
- [Instructor] To get the most out of this course, you should be comfortable developing in Java, and should know the Java Bean standard. If you're comfortable with these technologies, you should have no trouble following along with this course. This course uses the Java EE RESTful Web Services API, JAX-RS, in one of the advanced lessons. If you're not familiar with this API, you should check out my course RESTful Services with JAX-RS 2.0. The application you will be building uses JavaServer Faces. Now you do not need to know JavaServer Faces to take this course, but if you are curious, take a look at Patrick Royal's course, Java EE: Servlets and JavaServer Faces.
Once you learn how to develop using the Bean validation API, you'll find it a powerful way to protect your application's data. And as you already know, data integrity is essential for the proper running of your application. The project source code has been packaged as a Maven project. So it can be set up with minimal friction in an IDE that supports Maven projects. Now the IDE I have chosen to use in this course is IntelliJ Ultimate Edition. However you can use any IDE that you like. Ideally it should be able to support Maven projects.
NetBeans IDE is a good alternative, and so too is Eclipse. If you wish to use the same IDE as I'm using, you can download a trial version of the Ultimate Edition from the JetBrains website. You'll also need to download and install Postman, from getpostman.com. We'll be using this in one of the advanced topics. This project is developed using Java EE 8 and Bean Validation Version 2.0, which is the new version released in Java EE 8. However, if you're using a previous version of Java EE, this course will still be very useful as the main difference between Bean Validations versions are the number of constraints available for you to use.
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)