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.

Who this book is for

You would like to understand the magic of Spring Boot and are looking forward to developing your first RESTful API with Spring Boot and your first web application with Spring MVC and Spring Boot. You are an experienced developer who is new to Spring Boot and wants to discover what the hype is about.

Publisher resources

Download Example Code

Table of contents

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

Product information

  • Title: Learn Spring Boot in 100 Steps - Beginner to Expert
  • Author(s): In28Minutes Official
  • Release date: June 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781788996624