Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA CompTIA Security+ Amazon AWS Microsoft AZ-900
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Personal Development Personal Transformation Mindfulness Life Purpose Meditation CBT Emotional Intelligence
Web Development JavaScript React CSS Angular PHP Node.Js WordPress Vue JS
Google Flutter Android Development iOS Development React Native Swift Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
Microsoft Power BI SQL Tableau Business Analysis Data Modeling Business Intelligence MySQL Data Analysis Blockchain
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Business Plan Startup Freelancing Online Business Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee
Development Software Engineering Spring MVC

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
Rating: 4.5 out of 54.5 (2,781 ratings)
16,118 students
Created by Sergey Kargopolov
Last updated 4/2021
English
English [Auto], French [Auto], 
30-Day Money-Back Guarantee

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
Curated for the Udemy for Business collection

Course content

34 sections • 270 lectures • 23h 4m total length

  • Source Code
    00:05
  • Install HTTP client Postman
    Preview02:09
  • Preview10:41
  • 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

  • Downloading and Installing MySQL on MAC
    Preview03:16
  • 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

  • Install Java Platform (JDK)
    05:48
  • Download and Install Spring Tool Suite(STS)
    Preview01:55

  • Create new Spring Boot Project with Spring Tool Suite
    06:12
  • Creating a new Spring project using Spring Boot Initializr
    04:42

  • 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

  • Update POM.XML file
    06:16
  • Configure MySQL Database Access Details
    04:26

  • 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

  • Adding Spring Security to our project
    05:22
  • Encrypt User Password
    02:53
  • Make the Sign-up Web Service Endpoint Public
    08:51

  • 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

  • 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 MVC, Spring 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

Featured review

Dung Dao
Dung Dao
37 courses
8 reviews
Rating: 4.5 out of 5a year ago
I really love this course. Many of the other Spring Boot with JPA courses out there will consume at least 4-5 hours to have you work with UI, which is not really necessary if you want to know deeply about how Spring really works. Don't expect about fancy web application after this course. All this course is about firm and concise understanding of Spring Boot.

Instructor

Sergey Kargopolov
Software developer
Sergey Kargopolov
  • 4.5 Instructor Rating
  • 10,898 Reviews
  • 93,138 Students
  • 6 Courses

I have more than 20 years experience of building different types of software. I started my career as an Entrepreneur with an award winning web projects and currently I’m a Full Stack Mobile App Developer with passion for teaching beginner programmers to reach their goals and assisting them in development of their first mobile apps. If you Google my name you will find hundreds of video tutorials, technical articles and code examples that I’ve published over the years teaching how to build mobile apps for iOS and Android Platforms.

Happy coding and I see you in the course:)

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Impressum Kontakt
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.