Develop Custom Validators for Spring Web-app | A step by step guide to Hibernate Validator[Advanced]

Описание к видео Develop Custom Validators for Spring Web-app | A step by step guide to Hibernate Validator[Advanced]

Let's learn to create ANNOTATIONS to validate web forms. In this video, We will develop our custom validators.
We must aware of these concepts as there is no real-world application exists which doesn't use custom validators.

There are different ways to build custom validators. Today we will develop custom validators using the JSR 303/ 349/ 380. We will use the hibernate validators / Java bean validation API as the dependency.

Our goal is here to create some annotations like @Size, @NotNull, @NotBlank. In this video, we will create an annotation called @Age to validate the age field of our project.

Below are the contents we will be covering in this tutorial.
Video Map:
⏱️TIMESTAMPS⏱️
Introduction 00:00
Bean Validation API [remaining] : 06:09
Create Custom Annotation[Theory] : 15:05
Java Retention Policy : 21:10
Custom Validation constraint[Theory] : 29:27

The 20 Minutes Challenge: 32:56
Looking into Hibernate Validator source code
@Size/ @NotBlank Source code Analysis: 34:53
Understanding the Resource bundle: 45:16

Developing @Age annotation: 55:50
Writing a validation constraint class: 01:03:27
Implementing the logic: 01:11:24

Let's Debug: 01:30:35
An important scinario : 01:36:14

Configuring properties file with our app(Analysis) 01:39:07
Adding a properties file : 01:45:35
Implementing the MessageSource bean/ResourceBundleMessageSource : 01:48:19
Implementing LocalValidatorFactoryBean :02:01:47
Wrapping up with assignment: 02:08:35

In the next video, we will learn a different approach to create form validators. We can either use JSR 303/380 or SpringValidator interface to create a custom validator.

--------------



Any time you are getting stuck with issues, Feel free to ask for support.

You can send mail to [email protected]



you can ping me on my Facebook page

  / seleniumexpress  



Make sure to join my private Facebook page

“SeleniumExpress - Support"

  / 187000222361579  



you can ask for support in my website forum

https://www.seleniumexpress.com



Subscribe to my youtube channel

   / @seleniumexpress  



Follow me on Insta

  / selenium_express  



Music :

-----------

credits : -

(intro)

Adventures by A Himitsu   / a-himitsu  

Creative Commons — Attribution 3.0 Unported— CC BY 3.0

http://creativecommons.org/licenses/b...

Music released by Argofox    • A Himitsu - Adventures [Royalty Free ...  

Music provided by Audio Library    • Adventures – A Himitsu (No Copyright ...  



intro template :

   / alexbau01  

Комментарии

Информация по комментариям в разработке