Загрузка страницы

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 seleniumexpress@gmail.com
you can ping me on my Facebook page

https://www.facebook.com/seleniumexpress
Make sure to join my private Facebook page

“SeleniumExpress - Support"

https://www.facebook.com/groups/187000222361579/
you can ask for support in my website forum

https://www.seleniumexpress.com
Subscribe to my youtube channel

https://www.youtube.com/channel/UCpUYkSDJpHug-vfC5S-NXRA?sub_confirmation=1
Follow me on Insta

https://www.instagram.com/selenium_express/
Music :

-----------

credits : -

(intro)

Adventures by A Himitsu https://soundcloud.com/a-himitsu

Creative Commons — Attribution 3.0 Unported— CC BY 3.0

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

Music released by Argofox https://youtu.be/8BXNwnxaVQE

Music provided by Audio Library https://youtu.be/MkNeIUgNPQ8
intro template :

www.youtube.com/Alexbau01

Видео Develop Custom Validators for Spring Web-app | A step by step guide to Hibernate Validator[Advanced] канала Selenium Express
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
23 мая 2020 г. 13:24:39
02:10:40
Другие видео канала
Client-side vs Server-side validation | Spring MVC Form Validation | Hibernate Validator | JSR 380Client-side vs Server-side validation | Spring MVC Form Validation | Hibernate Validator | JSR 380How HashMap works internally || Popular java interview question on collection (HashMap)How HashMap works internally || Popular java interview question on collection (HashMap)Send Emails to your App users ||Spring MVC || Design the Service Layer with 7 best coding practices.Send Emails to your App users ||Spring MVC || Design the Service Layer with 7 best coding practices.Why we need constructor inside an abstract class ? || Popular  Java interview questionWhy we need constructor inside an abstract class ? || Popular Java interview questionWHEN we should not transfer data through URL || @PathVariable || Let’s set up the Email FormWHEN we should not transfer data through URL || @PathVariable || Let’s set up the Email FormHow exactly the Sessions and Cookies work? || Session Management || Spring MVC || @SessionAttributesHow exactly the Sessions and Cookies work? || Session Management || Spring MVC || @SessionAttributesDecoding Spring Bean scopes | Hands-On | Spring interview questions and answers for experiencedDecoding Spring Bean scopes | Hands-On | Spring interview questions and answers for experiencedREAL-TIME: Spring Bean life cycle using @PostConstruct |@PreDestroy |init - method| destroy -methodREAL-TIME: Spring Bean life cycle using @PostConstruct |@PreDestroy |init - method| destroy -method@SessionAttributes - Unraveling the mystery | HttpSession Vs @SessionAttributes |ConversationalScope@SessionAttributes - Unraveling the mystery | HttpSession Vs @SessionAttributes |ConversationalScope46. Custom Bean Validation Annotation in Spring46. Custom Bean Validation Annotation in SpringObject cloning in java ||  DIFFERENT ways to create an OBJECT || Part 4 || clone( )Object cloning in java || DIFFERENT ways to create an OBJECT || Part 4 || clone( )2 REST API Validation || Custom Bean Validation Annotation in Micro-services || Green Learner2 REST API Validation || Custom Bean Validation Annotation in Micro-services || Green LearnerHOW to handle PHONE/ CREDIT CARD user input? Spring MVC / BOOT Formatter | Explore with debugging.HOW to handle PHONE/ CREDIT CARD user input? Spring MVC / BOOT Formatter | Explore with debugging.How substring method works internally ? | popular java interview questions | java.lang.stringHow substring method works internally ? | popular java interview questions | java.lang.stringSpring Boot - Testing basicsSpring Boot - Testing basicsDevelop your first Spring Jdbc app | Configure JdbcTemplate in 2 simple steps | Spring CRUD - InsertDevelop your first Spring Jdbc app | Configure JdbcTemplate in 2 simple steps | Spring CRUD - InsertIntro to Spring Boot: Model ValidationIntro to Spring Boot: Model ValidationWhen to use throws keyword in JAVA || Try Catch vs Throws || Exception handling in javaWhen to use throws keyword in JAVA || Try Catch vs Throws || Exception handling in javaSpring JDBC Course Preview || Let’s talk database || Spring FrameworkSpring JDBC Course Preview || Let’s talk database || Spring Framework
Яндекс.Метрика