RESTful Web Services, Java, Spring Boot, Spring MVC and JPA
4.5 (2,192 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
12,158 students enrolled

RESTful Web Services, Java, Spring Boot, Spring MVC and JPA

Implement API calls: Sign-up, sign-in, email verification, password reset, update, delete. Deploy to Amazon AWS Cloud.
Bestseller
4.5 (2,192 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
12,158 students enrolled
Created by Sergey Kargopolov
Last updated 6/2020
English
English [Auto], French [Auto], 1 more
  • Italian [Auto]
Current price: $27.99 Original price: $39.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 23 hours on-demand video
  • 4 articles
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Build a RESTful Web Service with Spring MVC and Spring Boot
  • Learn how to implement User Sign-in functionality
  • Learn how to implement User Sign-up functionality
  • Protect RESTful Web Service with Spring Security Framework
  • Learn how to implement Token-Based Authentication
  • Implement Password Reset and Email Verification features
  • Use Spring Data JPA Query Methods
  • Use Spring Data JPA Native SQL Queries
  • Download and Install MySQL Server on Mac
  • Download and Install MySQL Workbench
  • Download and Install Spring Tool Suite
  • Create new project using Spring Tool Suite and Spring Initializer
  • Download, run and stop Apache Tomcat
  • Deploy RESTful Web Service application to Apache Tomcat
  • Run RESTful Web Service application as a stand along Java application
  • Build and run REST API with Maven
  • Use Postman HTTP client to send HTTP Request to a Web Service endpoints
  • Start up Amazon EC2 server
  • Install Java, MySQL and Apache Tomcat on Amazon AWS EC2 server
  • Deploy RESTful Web Service to Amazon AWS EC2 server
  • Use H2 in-memory database
  • Use H2 database console to preview data in memory database as well as in a stand along MySQL database server
  • Use JUnit 5 to test code
  • Use Rest Assured to test RESTful Web Service endpoint
Course content
Expand all 269 lectures 23:02:47
+ Introduction
8 lectures 39:55
Source Code
00:05
Resource and Collection URIs
11:12
HTTP Methods: GET, POST, DELETE and PUT
03:44
HTTP Headers: Accept and Content Type
04:12
Introduction to Web Service Application Layers
04:29
A few suggestions
03:23
+ Download, Install and run MySQL Database on Local Computer
6 lectures 28:38
Start MySQL Server and Login
06:14
Creating MySQL Database and a new User
06:25
Downloading and Installing MySQL Workbench
03:02
Connect to MySQL Database using MySQL WorkBench
05:26
MySQL WorkBench brief overview
04:15
+ Getting Started. Creating a New Project.
2 lectures 10:54
Create new Spring Boot Project with Spring Tool Suite
06:12
Creating a new Spring project using Spring Boot Initializr
04:42
+ Quick Start
3 lectures 10:34
Create Users Rest Controller class
02:45
Adding Methods to Handle POST, GET, PUT, DELETE HTTP requests
03:13
Running Web Service Application
04:36
+ Adding MySQL Database Support
2 lectures 10:42
Update POM.XML file
06:16
Configure MySQL Database Access Details
04:26
+ Implementing User Sign up
14 lectures 01:04:18
Adding method to handle HTTP Post Request
02:20
Implementing the Create User Request Model class
03:21
Implementing Create User Response Model
06:05
Implementing the UserDto
04:38
Making use of UserRest and UserDto in RestController
03:19
Implementing Service class method
03:57
Implementing UserEntity class
06:13
Set Default Value for Email Verification Status field
01:07
Implementing UsersRepository class
05:32
Autowire UserRepository into Service class
05:00
Trying how the User Sign up works
06:12
Preventing Duplicate Entries with @Column(unique=true)
03:46
Check if user already exists
06:19
Generate User Public ID
06:29
+ Spring Security for User Sign-up
3 lectures 17:06
Adding Spring Security to our project
05:22
Encrypt User Password
02:53
Make the Sign-up Web Service Endpoint Public
08:51
+ Spring Security for User Sign-in
11 lectures 01:02:22
Implementing User Sign-in Request Model
01:56
Implementing Load User By Username
04:53
Implementing SecurityConstants class
02:36
Implementing Authentication Filter
09:24
Trying how user Sign-in works
05:49
Add public User ID to a Response Header
11:49
Customize User Authentication URL
03:01
Implementing Authorization Filter
08:25
Trying how User Authorization works
02:30
Making Your REST API Stateless
02:00
Reading Token Secret from a property file
09:59
+ Implementing Get User Details Web Service Endpoint
4 lectures 17:49
Get User Details Resource Method
05:05
Implement Service layer method
03:08
Update UserRepository
03:59
Trying the Get User Details API Call
05:37
Requirements
  • Basic knowledge of Java
  • Mac computer
Description

This is a very practical video course aimed at beginner Java developers to help them build their very first RESTful Web Service application with Java, Spring MVCSpring Boot and Spring Data JPA to implement features like: 

  • User sign-up and User sign-in, 

  • Email verification,

  • Password Reset,

  • Get user details API call, 

  • Get list of users API call and implement Pagination, 

  • Update user details and Delete user details API calls, 

  • Learn to secure Web Service endpoints with Spring Security

  • Learn to use Amazon AWS Simple Email Service(SES) to send and request to confirm user email address, 

  • and learn to generate and include the JSON Web Token in HTTP Request.

Students will learn how to use Postman HTTP client software to send: HTTP POST, GET, DELETE and PUT requests, as well as how to set needed HTTP Headers. We will also cover how to: 

  • Send data to your RESTful WebService via HTTP Body and,

  • How to pass data via URL Query String and as a Path parameter,

  • How to enable your RESTful Web Service to respond to Cross Origin AJAX HTTP Requests.

You will also learn how to make your RESTful Web Service accept and respond back with JSON or XML media type.

This video course you will learn how to: 

  • Download and install Spring Tool Suite(STS), 

  • Download and install MySQL server and MySQL Workbench GUI, 

  • Download and run Apache Tomcat,

  • Add a specific Apache Tomcat Version to your Spring Tool Suite, 

  • User Maven to build and run your project as well as package it into a deployable WAR file, 

  • You will also learn how to run your Web Service as a stand along Java application with build-in Tomcat, 

  • Deploy your RESTful Web Service to Apache Tomcat as well as, 

  • Start up your own Amazon AWS EC2 Service in Amazon Cloud, install Java, MySQL, Tomcat and deploy RESTful Web Service to your very own cloud server. 

This video course also covers the H2 in-memory database and teaches how to build RESTful Web Service that stores data in a database without a need to install MySQL or any other database server. You will also learn how to use H2 console to preview data stored in an in-memory database tables or in a MySQL database server.

When it comes to storing data in a database you will learn how to use Spring Data JPA Query Methods as well as Native SQL Queries.

You will also learn how to use JUnit 5 to test your code and how to use one of the most popular test frameworks called Rest Assured to test RESTful Web Service endpoints of your REST Api.

Who this course is for:
  • Beginner Java developers
  • Java developers interested in learning how to Build, Deploy RESTful Web Services
  • Java developers interested in learning how to Test Rest API with Rest Assured framework