Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Modern Java Web Applications with Spring Boot 2.x
Rating: 4.1 out of 5(5 ratings)
75 students

Modern Java Web Applications with Spring Boot 2.x

Learn how to build, test, and deploy enterprise-grade Java applications
Last updated 1/2020
English
English

What you'll learn

  • Create model view controller web applications with Spring Web MVC
  • Create RESTful web services and consume them in web pages with Spring Web MVC
  • Secure your applications and services with Spring Security
  • Include social login in your applications with OpenID Connect
  • Persist data with Spring Data and MongoDB
  • Build reactive applications and services with Spring Web Flux and Project Reactor
  • Build stream-based and reactive applications using Kotlin
  • Use Spring Cloud Config to configure your application
  • Creating API gateways using Spring Cloud
  • Deploy your web applications and services to a PaaS provider

Course content

7 sections48 lectures6h 38m total length
  • The Course Overview5:06

    This video provides an overview of the entire course.

  • Setting Up the Development Environment9:24

    Problem: The previous Spring Boot versions do not support Java 12 and Servlet 4.0 container. Solution: This video will show viewers that Java 12 can now be used to create Spring Boot 2.2 project, compile, and run its components with some additional mandatory requirements.

  • Creating a Starter Project with Spring Initializr3:07

    Problem: In a tight schedule, it is always not applicable to setup the development environment from scratch. Solution: The easiest way of setting up Spring Boot 2.2 application is through the Spring Initializr service.

  • Adding @Controller and URL Mappings7:18

    Problem: The first portion to implement is the HTTP request layer in a Spring Boot 2.2 way. Solution: This portion will show viewer how easy it is to establish the layer, that will manage HTTP request and response, without implementing MvcConfigurer.

  • Binding Request Parameters6:22

    Problem: Request parameters and form data must be captured in an HTTP request transaction. Solution: Just like any other web platform, Spring Boot 2.2 has a way of managing and retrieving request parameters and form data, through its Spring Framework 5.

  • Understanding Form Transactions13:37

    Problem: There are three different types of form handling transactions supported by HTTP. Solution: Spring Boot 2.2 can implement these three form handling transactions.

  • Creating the Views16:19

    Problem: Create views made up of different Java template engines. Solution: Spring has an auto-configured support for Freemarker, Thymeleaf, Groovy templates, and Mustache; but it can be overridden if we use them all at once, in one application.

       •  Create four category views according to Freemarker, Thymeleaf, Groovy templates, and Mustache view engines

       •  Create a @Configuration class, to override the respective autoconfiguration of each Java view template engines

       •  Apply look and feel UI features, using Bootstrap framework

  • Managing Exceptions8:42

    Problem: Create custom exceptions and global error page, that will replace the White Label error page. Solution: Spring Boot 2.2 can implement exception handlers using concepts of Spring 5 framework.

  • Managing Cross-Cut Concerns7:54

    Problem: With the highlight of @ControllerAdvice, AOP can also be used to manage cross-cut implementations. Solution: Spring Boot supports Spring 5 AOP features.

       •  Create an @Aspect class, that will implement some advice methods

       •  Highlight @Before, @After, and @Around advice methods, and create @Pointcut expressions

       •  Use AOP to validate method parameters at runtime, and perform event handling mechanism, using ApplicationEvent

  • Test your knowledge

Requirements

  • No prior knowledge of Spring Boot.
  • Basic Java programming knowledge

Description

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.

About the Author

Sherwin John Calleja Tragura started his career as a Java developer by focusing on the Documentum and Alfresco document management systems. His first exposure to mobile applications started in 2010 when he first installed and used the Alfresco mobile application, which featured core document content services.

He is currently a technical corporate trainer and a subject matter expert on Java, JEE, and Spring application development. He is a certified EMC Documentum and OCP Java 7 Associate. He authored the following Packt books—Spring MVC Blueprints and Spring 5 Cookbook and also a Packt video course: Jakarta EE 8 Recipes. Before that, he was a technical editor for Alfresco Share, Alfresco 3 Records Management, Mastering Hibernate, and Delphi Cookbook.

Who this course is for:

  • This course is for developers who want to develop applications and services with Spring Boot 2.x.