Book Image

Modern Java Web Applications with Spring Boot 2.x [Video]

By : Sherwin John C.Tragura
Book Image

Modern Java Web Applications with Spring Boot 2.x [Video]

By: Sherwin John C.Tragura

Overview of this book

Building web application has been a challenge for many Java developers because of the complexities of their software requirements, leading to a bloated and unmanaged framework library repository and configurations. Spring Boot 2.x, a feature-rich platform built from the Spring 5.x framework, is created by to help developers solve their complex problems with fewer configurations but with strong dependency management features. In this course, you will learn how to create various modules in a Human Resources Information System (HRIS) such as employee timesheets, leave management, and profiling. You will use Spring Boot 2.x to create your HRIS app while integrating Spring Web MVC, Spring WebFlux, Spring Data, RESTful web services, and clients. Above all, you'll use the latest version of Spring Security—5.0—to secure your apps and OAuth 2.x to implement an OpenID connection. You'll apply reactive programming with its Spring Web Flux and Project Reactor features. Finally, you will deploy your apps and services using some popular cloud and container platforms such as Spring Cloud Foundry, Docker, and AWS. By the end of the course, you will be confident in implementing the core features of Spring Boot 2.x to create scalable, optimal, and robust enterprise web applications. All the related code files are placed on GitHub repository at:
Table of Contents (7 chapters)
Chapter 6
Building a Reactive Application
Content Locked
Section 1
Applying the Reactive Stream Model
Problem: How to build an application that has a fully working reactive components from DAO layer up to the views? Solution: Spring Boot 2.2 has an enhanced and improved reactive Spring Data MongoDB, ViewResolver, and @Controllers that can support transporting Mono<T> and Flux<T> model attributes.