September 5, 2022

Video for lesson 21 of OpenXava course

The techniques in the previous section are very useful for many validations. Nevertheless, sometimes you will face some validations that are very generic and you will want to reuse them over and over again. In this case to define your own Bean Validation annotation can be a good option. Defining a Bean Validation is more verbose but usage and reuse is simple; just adding an annotation to your property or class.

In this video we are going to create a validator from Bean Validation.

Video for lesson 21: Custom Bean Validation annotation

Remember to subscribe to the channel so you don't miss any new videos.

blog comments powered by Disqus

Español - 中文