Course Overview
This video course is a Quick Start to learning How to Build RESTful Web Services with Spring Framework.
As you go through this video course you will learn how to use tools like:
Spring Tool Suite Development Environment,
Postman HTTP client, so that you can send HTTP Requests and Receive HTTP Responses,
You will also learn how to Download and Install Java if you do not have it already.
Although this video course is very short, and is very simple, it is also very practical!
You will write Java code that handles different types of HTTP Requests. You will learn how to create web service endpoints that accept HTTP Post, HTTP GET, HTTP PUT and HTTP Delete requests.
You will learn how to make your RESTful Web Service endpoints accept information via URL Query String parameters, via URL Path Parameters as well as information sent via the body of HTTP Request,
Additionally to learning how to read request parameters from HTTP request, you will learn how to make your RESTful Web Service, return information in different formats. For example, you will learn how to return information as a plain text or as a JSON or XML document.
You will learn how to validate HTTP request parameters and also how to validate a information sent via HTTP Request body. Make sure that certain required fields are not empty and that email address for example is of a correct format.
You will learn how to handle errors in your RESTful Web Service and also learn how to return information about the error in different custom formats.
And finally, additionally to building and running your RESTful Web Service with a Spring Tool Suite development environment, you will learn how to run your RESTful Web Service as a standalone Java application which runs independently of your development environment.
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 7 bài · 33 phút
- Source code Học thử
- Introduction Học thử 1:17
- Download and Install Postman HTTP Client Học thử 2:09
-
Postman Overview 10:41
-
Resource and Collection URIs 11:12
-
HTTP Methods: GET, POST, DELETE and PUT 3:44
-
HTTP Headers: Accept and Content Type 4:12
Chương 2 Setting up Develeopment Environment 2 bài · 8 phút
-
Install Java Platform(JDK) 5:48
-
Download and Install Spring Tool Suite(STS) 1:55
Chương 3 Creating a New Project 2 bài · 11 phút
-
Create new Spring Boot Project with Spring Tool Suite 6:12
- Creating a new Spring project using Spring Boot Initializr Học thử 4:42
Chương 4 Create RESTful Web Service Endpoints 3 bài · 11 phút
-
Create Users Rest Controller class 2:45
-
Adding Methods to Handle POST, GET, PUT, DELETE HTTP requests 3:13
- Running Web Service Application Học thử 4:36
Chương 5 Handle HTTP GET Request 3 bài · 13 phút
-
Reading Path Variables with @PathVariable annotaion 3:31
- Reading Query String Request Parameters Học thử 4:51
-
Making Parameters Optional or Required 4:35
Chương 6 Returning a Response 3 bài · 15 phút
- Returning Java Object as Return Value Học thử 4:11
-
Returning Object as JSON or XML Representation 5:35
-
Set Response Status Code 4:58
Chương 7 Handle HTTP POST Request 2 bài · 17 phút
-
Reading HTTP POST Request Body. The @RequestBody annotation. 8:13
-
Validating HTTP POST Request Body 8:56
Chương 8 Handle HTTP PUT and HTTP Delete Requests 3 bài · 19 phút
-
Store Users Temporary 4:50
-
Handle HTTP PUT Request 9:06
-
Handle HTTP Delete Request 4:52
Chương 9 Exceptions Handling 5 bài · 24 phút
-
Handle an Exception 7:44
-
Return Custom Error Message Object 5:35
-
Handle a Specific Exception 3:06
-
Throw and Handle You Own Custom Exception 4:13
-
Catch More Than One Exception with One Method 2:54
Chương 10 Dependency Injection 2 bài · 17 phút
-
Create and Autowire a Service Layer Class 10:54
-
Constructor Based Dependency Injection 6:24
Chương 11 Standalong Application 1 bài · 5 phút
-
Run Web Service as a Standalone Application 4:52
Chương 12 Bonus: Password Reset, Email Verification, Security 2 bài · 6 phút
-
Add Security, Implement Sign-up, Sign-in, Password Reset, Email Verification 5:32
-
Let's connect!
Requirment
-
Have basic knowledge of Java language
-
Be able to download software from Internet
Outcomes
-
Be able to create a RESTful Web Service with Spring Framework
-
Be able to use Postman HTTP client to send HTTP requests and receive HTTP responses in JSON or XML format
-
Create Web Service endpoints to handle HTTP Requests: POST, GET, PUT, DELETE
-
Read and Validate URL Query String Request Parameters
-
Read and Validate HTTP Request Body
-
Handle Java Exceptions and return back a proper HTTP Response
-
Build and Run RESTful Web Service Application as a Standalone app
0 Student
1 Course
0 review