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

04 User Registration and JPA Form Validation - Spring Boot

Subscribe:
https://www.youtube.com/channel/UCj6pFzFN9QsMRGA6M3iO23Q?sub_confirmation=1

Spring boot video playlist:
https://www.youtube.com/playlist?list=PL3hpmQhMoz-cz1GBAtovJyrfspZctG03L

#java #springboot #FormValidation #authentication

Video 04: User Registration and JPA Form Validation - Spring Boot

This tutorial will demonstrate
1. How to make User Registration form and use hibernate validations.
2. Complete working example of User Registration.
-----------------
Important links:

Tutorial link:
https://tutorials.webencyclop.com/spring-boot/

Playlist link:
https://www.youtube.com/playlist?list=PL3hpmQhMoz-cz1GBAtovJyrfspZctG03L
-----------------
1. Show registration page to user, using spring controller and view (HTML).
2. Define spring models for database tables.

3.1: Set JPA or Hibernate validations on Spring model - (Server side validations for registration form)
3.2: Set validation error message - (Message to display when validation fails)

4.1: Define Spring Controller for receiving form data after submit.
4.2: Define Spring Service - (Controller will call service method to register user)
4.3: Define Spring Repository - (Service method will call repository method to actually save data to the database)
--------------------
Validations that can be used :
@NotEmpty(message = "*First Name field is mandatory")
@Email(message = "*Email is not valid")
@Length(min = 5, message = "*Password must be at least 5 characters")
@Pattern(regexp = "(^$|[0-9]{10})", message = "Mobile number must be 10 digits")
-------------------

Видео 04 User Registration and JPA Form Validation - Spring Boot канала WebEncyclop Tutorials
Показать
Комментарии отсутствуют
Введите заголовок:

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

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

Зарегистрируйтесь или войдите с
Информация о видео
13 сентября 2018 г. 20:48:04
00:26:46
Яндекс.Метрика