Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Spring Boot Validations Explained | @Valid, Annotations & Custom Validation

Автор: The Curious Coder

Загружено: 2025-09-26

Просмотров: 2463

Описание:

Java Spring Boot Interview Q29 !!

In this video, we dive deep into Spring Boot Validation with a practical REST API example. You’ll learn how to validate a user creation request using powerful validation annotations such as:

@NotNull, @NotBlank, @NotEmpty, @Size, @Email, @Pattern, @Min, @Max, @Positive, @Negative, @Digits, @Past, @Future, and the @Valid annotation in Spring Boot.

We’ll also cover:

1) Request validation in Spring Boot REST APIs
2) Using @Valid and @Validated annotations correctly
3) Handling validation errors with a Global Exception Handler (@RestControllerAdvice)
4) The complete step-by-step process of creating your own custom annotation for validation
5) How to apply the custom annotation in real-world REST API scenarios
6) Best practices for building production-ready Spring Boot applications with validations

This is a complete Spring Boot validation tutorial — from built-in annotations to creating and using custom validators — with code examples you can apply directly in your projects.

00:00 : Introduction
01:17 : Validation Without Annotations
03:36 : @NotNull Annotation
05:50 : Global Exception Handler
11:53 : @NotEmpty Annotation
14:06 : @NotBlank Annotation
15:54 : @Size Annotation
17:33 : @Min and @Max Annotation
19:15 : @Positive and @Negative Annotation
20:42 : @Digits Annotation
23:15 : @Email Annotation
25:54 : @Pattern Annotation
30:28 : Create Custom Validations

Global Exception Handler explained :
   • Global Exception Handler explained : Java ...  

Spring Boot Basics to Know :

1. Spring Boot and Java Setup
   • Spring Boot and Java Setup  

2. Project Object Model File | Understanding pom.xml
   • Project Object Model File | Understanding ...  

3. How to create an API ?
   • How to create an API ?  

4. How to Connect Spring Boot to a Database ?
   • How to Connect Spring Boot to a Database ?  

Instagram :
  / the.curious_coder  


#interview #springboot #java

Spring Boot Validations Explained | @Valid, Annotations & Custom Validation

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Создавать REST-клиенты в Spring Boot 4 стало еще проще!

Создавать REST-клиенты в Spring Boot 4 стало еще проще!

Spring Boot Pagination, Sorting & Filtering 2 | Employee Dashboard Example

Spring Boot Pagination, Sorting & Filtering 2 | Employee Dashboard Example

Virtual Threads in Spring Boot 🔥 10x Faster & Lighter with RealTime Example @Java Techie

Virtual Threads in Spring Boot 🔥 10x Faster & Lighter with RealTime Example @Java Techie

What's Behind @Transactional in Spring Boot Transaction Management?

What's Behind @Transactional in Spring Boot Transaction Management?

Собеседование по Java Spring Security в режиме реального времени | 22,5 рупий LPA | JWT, аутентиф...

Собеседование по Java Spring Security в режиме реального времени | 22,5 рупий LPA | JWT, аутентиф...

Глубокое погружение в управление памятью в Java | Как Java управляет памятью изнутри

Глубокое погружение в управление памятью в Java | Как Java управляет памятью изнутри

Учебное пособие по Spring Boot 4 — освойте Spring Boot за 30 минут

Учебное пособие по Spring Boot 4 — освойте Spring Boot за 30 минут

Модульная архитектура Spring Boot 4: что вам нужно знать.

Модульная архитектура Spring Boot 4: что вам нужно знать.

Spring Boot Annotations Full Course | One-Stop Solution for Interviews

Spring Boot Annotations Full Course | One-Stop Solution for Interviews

How HashMap Works Internally in Java | Hashing, Hash Collision Explained

How HashMap Works Internally in Java | Hashing, Hash Collision Explained

Нерассказанная история Spring Boot

Нерассказанная история Spring Boot

Master Spring Boot Interviews — 50 Questions in One Shot !

Master Spring Boot Interviews — 50 Questions in One Shot !

Exception Handling in Spring Boot REST API Explained With Demonstration

Exception Handling in Spring Boot REST API Explained With Demonstration

Spring Boot Pagination, Sorting & Filtering | Employee Dashboard Example | REST API Tutorial

Spring Boot Pagination, Sorting & Filtering | Employee Dashboard Example | REST API Tutorial

Внутренняя работа DispatcherServlet в Spring MVC | Поток, перехватчики и загрузка файлов

Внутренняя работа DispatcherServlet в Spring MVC | Поток, перехватчики и загрузка файлов

КАК НЕЛЬЗЯ ХРАНИТЬ ПАРОЛИ (и как нужно) за 11 минут

КАК НЕЛЬЗЯ ХРАНИТЬ ПАРОЛИ (и как нужно) за 11 минут

Spring Boot — создание пользовательских аннотаций для валидации | InterviewQA | JavaTechie

Spring Boot — создание пользовательских аннотаций для валидации | InterviewQA | JavaTechie

How to Design APIs Like a Senior Engineer (REST, GraphQL, Auth, Security)

How to Design APIs Like a Senior Engineer (REST, GraphQL, Auth, Security)

equals() против hashCode() в Java | Внутреннее применение и реальные примеры использования

equals() против hashCode() в Java | Внутреннее применение и реальные примеры использования

Exception Handling in Spring Boot | Lec.24 |Spring Framework Bootcamp

Exception Handling in Spring Boot | Lec.24 |Spring Framework Bootcamp

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]