Oreilly - Hands-On Application Development with Spring Boot 2
by Tomasz Lelek | Released April 2019 | ISBN: 9781789137712
Make your Spring App production-ready from day oneAbout This VideoLearn the most important parts of developing applications with Spring BootExpose your resources via REST endpoints with Spring Data as the DB access layerMake your application production-ready with MicroMeter and Spring boot actuatorIn DetailSpring Boot is the fastest way to get a Spring application up and running with the fewest lines of code and the least configuration. It aims to make development easy so you can create production-grade applications and services. The Spring framework provides a great toolkit for the development of complex applications. In this course, we'll fully leverage Spring Boot's capabilities to create a payment system application and secure it with Spring Security.This course provides a hands-on approach to building a payment system application from scratch using Spring Boot 2.0. You'll begin by setting up Spring Boot together with Spring's most powerful feature: Dependency Injection. Then you'll build a data access layer with Spring data and rework it to be highly performant using Spring data reactive. Next, you'll learn about Spring rest and servlets and use it to expose resources via HTTP endpoints.Later you'll use Spring MVC to build an interface for the payment system. Moving on, you'll expose critical business metrics using MicroMeter library and Spring actuator with Prometheus library. Finally, you'll package your application into a Docker container and deploy your application into the cloud.Downloading the example code for this course: You can download the example code files for this course on GitHub at the following link: https://github.com/PacktPublishing/Hands-on-Application-Development-with-Spring-Boot-2. If you require support please email:
[email protected] Show and hide more
- Chapter 1 : Spring Dependency Injection with Spring Boot
- The Course Overview 00:02:35
- Set Up the Spring Boot Project and Spring Boot Runner 00:05:50
- Creating Scope of Payment Service Bean 00:04:02
- Creating @Configuration, @Component, and @Service Beans 00:05:29
- Controlling Life Cycle of Spring Bean 00:04:57
- Using Component Scan to Find out about Spring Components 00:05:27
- Chapter 2 : REST and Servlets with Spring Boot
- Exposing Users via REST Endpoint 00:05:03
- Intercepting REST Calls via Filter 00:06:06
- Using Filter to Add Transactions Support to the REST Endpoint 00:03:45
- Plugging Filtering Logic 00:04:59
- Testing Filters 00:03:43
- Chapter 3 : Accessing Data Layer with Spring Data
- Creating Spring Payment Entity 00:05:09
- Extending CrudRepository with Custom Methods 00:05:15
- Testing CrudRepository 00:05:46
- Reworking CrudRepository to Work in a Reactive Fashion 00:04:55
- Testing ReactiveCrudRepository 00:05:20
- Performing Joins between Payment and User 00:06:08
- Chapter 4 : Creating Web Interface with Spring Boot and Spring MVC
- Adding Spring MVC to the Spring Boot App 00:04:23
- Creating Views for the Payment and User 00:06:12
- Exposing View for Retrieving Payment via MVC Controller 00:04:52
- Exposing View for Creating New Payment via MVC Controller 00:05:28
- Testing MVC Application Using MockMVC Construct 00:07:57
- Chapter 5 : Securing Your Application with Spring Security
- Adding WebSecurity Configuration to Protect Private Endpoints 00:05:23
- Exposing Static Content Securely 00:05:18
- Testing Security of Payment Private Endpoints 00:05:10
- Adding Security for MVC Endpoints 00:04:23
- Performing Security Test on Your App 00:04:20
- Chapter 6 : Monitoring and Deploying Spring Boot Production App
- Measuring REST Endpoints and Data Access Layer 00:07:38
- Creating REST Endpoint for Exposing Custom Metrics 00:04:23
- Exposing Metrics via Spring Prometheus Library 00:05:17
- Making Application Reliable with Custom Health Checks 00:03:29
- Creating a Docker Container with Payment Application Cloud 00:04:28
- Deploy Ready Docker Container with Application to Heroku Cloud 00:04:29
Show and hide more
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.