Learn Spring Boot in 100 Steps – Beginner to Expert

Learn Spring Boot in 100 Steps – Beginner to Expert

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 13h 21m | 1.74 GB

Become an expert on Spring Boot by developing a REST API and a Spring MVC web application in 100 steps

Spring Boot has a lot of magic going for it. Developing REST services with Spring Boot is cool and fun. Spring Boot makes it easy to create stand-alone, production-grade Spring-based applications that you can just run. Most Spring Boot applications need very little Spring configuration. In this course, you will learn the features of Spring Boot and Spring Boot starter projects with a hands-on, step by step, approach to developing. You’ll make a basic Todo management Java application using Spring Boot with Login and Logout functionalities, and basic REST service to manage survey questionnaire. You will be introduced to REST services, Spring security (authentication and authorization), Maven (dependencies management), Eclipse (IDE) and the Tomcat embedded web server. We will help you set up each one of these. You will learn about Spring Boot step by step in more than 100 steps. This course is a perfect first introduction to Spring Boot.

Thorough and broad introduction to different parts of Spring Boot.

What You Will Learn

  • You will learn the magic of Spring Boot including auto-configuration, Spring Initializr, and starter projects.
  • You will learn to develop RESTful web services with Spring Boot and to develop a step by step web application connecting to JPA/Hibernate with Spring MVC and Spring Boot.
  • You will learn to use a wide variety of Spring Boot starter projects including Spring Boot web, Spring Boot test, Spring Boot data JPA, and Spring Boot data REST.
  • You will come to understand Spring MVC in-depth studying the DispatcherServlet , model, controllers, and ViewResolver.
  • You will understand how to make the best use of the Spring Boot actuator and Spring Boot developer Tools.
  • You will learn how to externalize application configuration using Spring Boot profiles and dynamic configuration and well as how to use the embedded servlet container options provided by Spring Boot (Tomcat, Jetty, and Undertow).
  • You will learn to write great unit and integration tests using Spring Boot starter test and will come to understand the basics of developing a web application – POST, GET, HTTP, MVC pattern.
  • You will get to grips with the basics of styling your web page using the Bootstrap framework.
Table of Contents

Introduction
1 Spring Boot Master Class – Preview
2 Spring Boot Master Class – Course Overview
3 Spring Boot Master Class – Git Repository
4 Spring Boot Master Class – Installing Basic Tools

Web Application with Spring Boot
5 Step 0 – Web Application with Spring Boot – Section Introduction
6 Step 01 – Part 1 Basic Spring Boot Web Application Setup
7 Step 01 – Part 2 Pom.xml, Spring Boot Application and application properties
8 Step 02 – Part 1 First Spring MVC Controller, @ResponseBody, @Controller
9 Step 02 – Part 2 Understanding HTTP Request Flow
10 Step 03 – Demystifying some of the Spring Boot magic
11 Step 04 – Redirect to Login JSP – @ResponseBody and View Resolver
12 Step 05 – Show userid and password on welcome page – ModelMap and @RequestParam
13 Step 06 – DispatcherServlet and Spring MVC Flow
14 Step 07 – Your First HTML form
15 Step 08 – Add hard-coded validation of user id and password
16 Step 09 – Magic of Spring
17 Step 10 – Create TodoController and list-todos view. Make TodoService a @Service
18 Step 11 – Architecture of Web Applications
19 Step 12 – Session vs Model vs Request – @SessionAttributes
20 Step 13 – Add new todo
21 Step 14 – Display Todos in a table using JSTL Tags
22 Step 15 – Bootstrap for Page Formatting using webjars
23 Step 16 – Let’s delete a Todo
24 Step 17 – Format Add Todo Page and Adding Basic HTML5 form validation
25 Step 18 – Part 1 Validations with Hibernate Validator – Using Command Bean
26 Step 18 – Part 2 Using JSR 349 Validations
27 Step 19 – Updating a todo
28 Step 20 – Let’s add a Target Date for Todo – Use initBinder to Handle Date Fields
29 Step 21 – JSP Fragments and Navigation Bar
30 Step 22 – Preparing for Spring Security
31 Step 23 – Initial Spring Security Setup
32 Step 24 – Refactor and add Logout Functionality using Spring Security
33 Step 25 – Exception Handling

Introduction to JUnit in 5 Steps
34 Step 0 – JUnit in 5 Steps – Section Introduction
35 Step 1 – What is JUnit and Unit Testing
36 Step 2 – First JUnit Project and Green Bar
37 Step 3 – First Code and First Unit Test
38 Step 4 – Other assert methods
39 Step 5 – Important annotations

Introduction to Mockito in 5 Steps
40 Step 0 – Mockito in 5 Steps – Section Introduction
41 Step 1 – Setting up an example using http -_start.spring.io
42 Step 2 – Using Stubs – Disadvantages
43 Step 3 – You’re first Mock
44 Step 4 – Using Mockito Annotations – @Mock, @InjectMocks, @RunWith(MockitoJUnitR
45 Step 5 – Mocking List interface

Spring Boot Deep Dive with a simple API
46 Section Introduction – Spring Boot Deep Dive with a simple API
47 Step 01 – Setup and Launch Spring Boot Application with Maven and Eclipse
48 Step 01 – Part 2 – Setup and Launch Spring Boot Application with Maven and Eclipse
49 Step 02 – Creating your first RestController
50 Step 02 – Theory – Basics of Spring Framework
51 Step 03 – Understanding Spring Boot Magic – Spring Boot Starter Web
52 Step 04 – Understanding Spring Boot Magic – Spring Boot Starter Parent
53 Step 05 – Spring Boot vs Spring
54 Step 06 – Create all Services for Survey and Questions
55 Step 07 – Creating REST Service with @GetMapping and @PathVariable
56 Step 07 – Theory – Message Converters and Introduction to REST
57 Step 08 – Second REST Service to retrieve a specific question
58 Step 09 – Spring Boot Developer Tools and LiveReload – Develop faster!
59 Step 10 – Create a Service to add a new question to survey -@PostMapping, Postman
60 Step 11 – Understand Content Negotiation. Deliver XML Responses
61 Step 12 – Spring Initializr – Create Spring Boot Projects on the fly!
62 Step 13 – Spring Boot Actuator – Monitor your Spring Boot applications!
63 Step 14 – Understanding Embeded servlet containers – Switch to Jetty or Undertow
64 Step 15 – Adding Dynamic Configuration to your application – YAML and More..
65 Step 16 – Basics of Profiles
66 Step 17 – Advanced Application Configuration – Type Safe Configuration Properties
67 Step 18 – Spring Boot Starter – Spring Data JPA with CommandLineRunner
68 Step 18 – Spring Boot Starter – Spring Data JPA with CommandLineRunner Part 2
69 Step 19 – In Memory Database H2 Console and add a new JPA Repository Method
70 Step 20 – Spring Boot Starter – Introduction to Spring Data Rest
71 Step 21 – Spring Boot Integration Test
72 Step 21 – Spring Boot Integration Test Part 2
73 Step 22 – Adding Integration Test for POST Request
74 Step 23 – Small Refactoring to organize ourselves
75 Step 24 – Writing Unit Tests with Spring Boot and Mockito
76 Step 24 – Writing Unit Tests with Spring Boot and Mockito Part 2
77 Step 25 – Writing Unit test for create Todo
78 Step 26 – Securing our services with Basic Authentication using Spring Security
79 Step 27 – Configure Spring Security user roles for survey and other services
80 Step 27 – Configure Spring Security user roles – Part 2
81 Step 28 – A Deep Dive into Spring Boot Auto Configuration

Introduction to JPA with Spring Boot in 10 Steps
82 Step 0 – JPA with Spring Boot in 10 Steps – Section Introduction
83 Step 1 – Object Relational Impedence Mismatch
84 Step 2 – World before JPA – JDBC, Spring JDBC and myBatis
85 Step 3 – Introduction to JPA
86 Step 4 – Creating a JPA Project using Spring Initializr
87 Step 5 – Defining a JPA Entity – User
88 Step 6 – Defining a Service to manage the Entity – UserService and EntityManager
89 Step 7 – Using a Command Line Runner to save the User to database
90 Step 8 – Magic of Spring Boot and In Memory Database H2
91 Step 9 – Introduction to Spring Data JPA
92 Step 10 – More JPA Repository – findById and findAll

Connecting Web Application with JPA
93 Section Introduction – Connecting Web Application with JPA
94 Step 26 – Adding Dependencies for JPA and H2
95 Step 27 – Configuring H2 Console
96 Step 28 – Create Todo Entity and JPA Repository
97 Step 29 – Insert Todo using JPA Repository
98 Step 30 – Update, Delete and Retrieve Todos using JPA Repository
99 Step 31 – Data initialization with data.sql
100 Step 32 – Connecting JPA to other databases
101 Step 33 – Upgrading to Spring Boot 2 and Spring 5

Congratulations
102 Congratulations!

Appendix – First 10 Steps in Spring
103 Section Introduction – First 10 Steps in Spring
104 Step 1 – Setting up a Spring Project using http -_start.spring.io
105 Step 2 – Understanding Tight Coupling using the Binary Search Algorithm Example
106 Step 3 – Making the Binary Search Algorithm Example Loosely Coupled
107 Step 4 – Using Spring to Manage Dependencies – @Component, @Autowired
108 Step 5 – What is happening in the background
109 Step 6 – Dynamic auto wiring and Troubleshooting – @Primary
110 Step 7 – Constructor and Setter Injection
111 Step 8 – Spring Modules
112 Step 9 – Spring Projects
113 Step 10 – Why is Spring Popular