O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learn Spring Boot in 100 Steps - Beginner to Expert

Video Description

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

About This Video

  • An introduction to the power of Spring Boot in 10 steps
  • Develop a Todo management web application with Spring Boot in 25 steps
  • An introduction to unit testing with JUnit in 5 steps
  • An introduction to mocking with Mockito in 5 Steps
  • The advanced features of Spring Boot in 28 steps ( by developing a simple API for managing survey questionnaires)
  • An introduction to JPA in 10 steps; connecting our Todo management web application to JPA in 8 Steps.

In Detail

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.

Table of Contents

  1. Chapter 1 : Introduction
    1. Spring Boot Master Class - Preview 00:02:12
    2. Spring Boot Master Class - Course Overview 00:02:13
    3. Spring Boot Master Class - Git Repository 00:02:24
    4. Spring Boot Master Class - Installing Basic Tools 00:01:14
  2. Chapter 2 : Web Application with Spring Boot
    1. Step 0: Web Application with Spring Boot - Section Introduction 00:01:35
    2. Step 01: Part 1 Basic Spring Boot Web Application Setup 00:09:06
    3. Step 01: Part 2 Pom.xml, Spring Boot Application and application properties 00:10:59
    4. Step 02: Part 1 First Spring MVC Controller, @ResponseBody, @Controller 00:14:46
    5. Step 02: Part 2 Understanding HTTP Request Flow 00:02:57
    6. Step 03: Demystifying some of the Spring Boot magic 00:09:32
    7. Step 04: Redirect to Login JSP - @ResponseBody and View Resolver 00:08:02
    8. Step 05: Show userid and password on welcome page - ModelMap and @RequestParam 00:06:50
    9. Step 06: DispatcherServlet and Spring MVC Flow 00:06:10
    10. Step 07: Your First HTML form 00:09:19
    11. Step 08: Add hard-coded validation of user id and password 00:10:42
    12. Step 09: Magic of Spring 00:09:43
    13. Step 10: Create TodoController and list-todos view. Make TodoService a @Service 00:11:25
    14. Step 11: Architecture of Web Applications 00:07:11
    15. Step 12: Session vs Model vs Request - @SessionAttributes 00:08:33
    16. Step 13: Add new todo 00:07:30
    17. Step 14: Display Todos in a table using JSTL Tags 00:06:47
    18. Step 15: Bootstrap for Page Formatting using webjars 00:10:38
    19. Step 16: Let's delete a Todo 00:05:36
    20. Step 17: Format Add Todo Page and Adding Basic HTML5 form validation 00:04:57
    21. Step 18: Part 1 Validations with Hibernate Validator - Using Command Bean 00:10:40
    22. Step 18: Part 2 Using JSR 349 Validations 00:09:49
    23. Step 19: Updating a todo 00:11:05
    24. Step 20: Let's add a Target Date for Todo - Use initBinder to Handle Date Fields 00:11:36
    25. Step 21: JSP Fragments and Navigation Bar 00:09:57
    26. Step 22: Preparing for Spring Security 00:06:34
    27. Step 23: Initial Spring Security Setup 00:09:39
    28. Step 24: Refactor and add Logout Functionality using Spring Security 00:10:04
    29. Step 25: Exception Handling 00:07:52
  3. Chapter 3 : Introduction to JUnit in 5 Steps
    1. Step 0: JUnit in 5 Steps - Section Introduction 00:00:46
    2. Step 1: What is JUnit and Unit Testing? 00:03:55
    3. Step 2: First JUnit Project and Green Bar 00:04:44
    4. Step 3: First Code and First Unit Test 00:05:07
    5. Step 4: Other assert methods 00:03:46
    6. Step 5: Important annotations 00:05:08
  4. Chapter 4 : Introduction to Mockito in 5 Steps
    1. Step 0: Mockito in 5 Steps - Section Introduction 00:00:51
    2. Step 1: Setting up an example using http://start.spring.io 00:06:15
    3. Step 2: Using Stubs – Disadvantages 00:04:11
    4. Step 3: You’re first Mock 00:05:28
    5. Step 4: Using Mockito Annotations - @Mock, @InjectMocks, @RunWith(MockitoJUnitR 00:04:35
    6. Step 5: Mocking List interface 00:06:00
  5. Chapter 5 : Spring Boot Deep Dive with a simple API
    1. Section Introduction - Spring Boot Deep Dive with a simple API 00:01:42
    2. Step 01: Setup and Launch Spring Boot Application with Maven and Eclipse 00:08:36
    3. Step 01: Part 2 - Setup and Launch Spring Boot Application with Maven and Eclipse 00:10:49
    4. Step 02: Creating your first RestController 00:12:00
    5. Step 02: Theory: Basics of Spring Framework 00:08:41
    6. Step 03: Understanding Spring Boot Magic: Spring Boot Starter Web 00:12:19
    7. Step 04: Understanding Spring Boot Magic: Spring Boot Starter Parent 00:07:21
    8. Step 05: Spring Boot vs Spring 00:10:33
    9. Step 06: Create all Services for Survey and Questions 00:08:07
    10. Step 07: Creating REST Service with @GetMapping and @PathVariable 00:13:26
    11. Step 07: Theory - Message Converters and Introduction to REST 00:07:51
    12. Step 08: Second REST Service to retrieve a specific question 00:07:02
    13. Step 09: Spring Boot Developer Tools and LiveReload : Develop faster! 00:05:56
    14. Step 10: Create a Service to add a new question to survey:@PostMapping, Postman 00:16:42
    15. Step 11: Understand Content Negotiation. Deliver XML Responses 00:06:40
    16. Step 12: Spring Initializr: Create Spring Boot Projects on the fly! 00:06:13
    17. Step 13: Spring Boot Actuator: Monitor your Spring Boot applications! 00:11:34
    18. Step 14: Understanding Embeded servlet containers: Switch to Jetty or Undertow 00:04:51
    19. Step 15: Adding Dynamic Configuration to your application: YAML and More.. 00:13:06
    20. Step 16: Basics of Profiles 00:08:30
    21. Step 17: Advanced Application Configuration - Type Safe Configuration Properties 00:11:53
    22. Step 18: Spring Boot Starter: Spring Data JPA with CommandLineRunner 00:13:06
    23. Step 18: Spring Boot Starter: Spring Data JPA with CommandLineRunner Part 2 00:09:59
    24. Step 19: In Memory Database H2 Console and add a new JPA Repository Method 00:07:41
    25. Step 20: Spring Boot Starter: Introduction to Spring Data Rest 00:09:52
    26. Step 21: Spring Boot Integration Test 00:10:38
    27. Step 21: Spring Boot Integration Test Part 2 00:16:49
    28. Step 22: Adding Integration Test for POST Request 00:07:54
    29. Step 23: Small Refactoring to organize ourselves 00:03:51
    30. Step 24: Writing Unit Tests with Spring Boot and Mockito 00:07:57
    31. Step 24: Writing Unit Tests with Spring Boot and Mockito Part 2 00:09:10
    32. Step 25: Writing Unit test for create Todo 00:06:14
    33. Step 26: Securing our services with Basic Authentication using Spring Security 00:05:15
    34. Step 27: Configure Spring Security user roles for survey and other services 00:11:34
    35. Step 27: Configure Spring Security user roles - Part 2 00:09:04
    36. Step 28: A Deep Dive into Spring Boot Auto Configuration 00:10:52
  6. Chapter 6 : Introduction to JPA with Spring Boot in 10 Steps
    1. Step 0: JPA with Spring Boot in 10 Steps - Section Introduction 00:00:59
    2. Step 1: Object Relational Impedence Mismatch 00:04:43
    3. Step 2: World before JPA - JDBC, Spring JDBC and myBatis 00:07:00
    4. Step 3: Introduction to JPA 00:05:12
    5. Step 4: Creating a JPA Project using Spring Initializr 00:06:02
    6. Step 5: Defining a JPA Entity – User 00:04:41
    7. Step 6: Defining a Service to manage the Entity - UserService and EntityManager 00:04:53
    8. Step 7: Using a Command Line Runner to save the User to database 00:04:38
    9. Step 8: Magic of Spring Boot and In Memory Database H2 00:08:37
    10. Step 9: Introduction to Spring Data JPA 00:05:15
    11. Step 10: More JPA Repository: findById and findAll 00:02:54
  7. Chapter 7 : Connecting Web Application with JPA
    1. Section Introduction - Connecting Web Application with JPA 00:01:13
    2. Step 26: Adding Dependencies for JPA and H2 00:06:03
    3. Step 27: Configuring H2 Console 00:04:35
    4. Step 28: Create Todo Entity and JPA Repository 00:06:28
    5. Step 29: Insert Todo using JPA Repository 00:04:07
    6. Step 30: Update, Delete and Retrieve Todos using JPA Repository 00:05:39
    7. Step 31: Data initialization with data.sql 00:03:08
    8. Step 32: Connecting JPA to other databases 00:04:49
    9. Step 33: Upgrading to Spring Boot 2 and Spring 5 00:06:14
  8. Chapter 8 : Congratulations
    1. Congratulations! 00:00:51
  9. Chapter 9 : Appendix - First 10 Steps in Spring
    1. Section Introduction - First 10 Steps in Spring 00:00:51
    2. Step 1: Setting up a Spring Project using http://start.spring.io 00:04:49
    3. Step 2: Understanding Tight Coupling using the Binary Search Algorithm Example 00:08:27
    4. Step 3: Making the Binary Search Algorithm Example Loosely Coupled 00:05:22
    5. Step 4: Using Spring to Manage Dependencies - @Component, @Autowired 00:11:31
    6. Step 5: What is happening in the background? 00:06:28
    7. Step 6: Dynamic auto wiring and Troubleshooting - @Primary 00:04:47
    8. Step 7: Constructor and Setter Injection 00:04:56
    9. Step 8: Spring Modules 00:05:05
    10. Step 9: Spring Projects 00:04:46
    11. Step 10: Why is Spring Popular? 00:04:15