Course info
Jan 31, 2018
1h 25m

Spring has undergone quite a few changes with the upgrade to Spring 5. In this course, What’s New in Spring 5, you’ll learn about what has changed in the framework and how to take advantage of the newest development features. First, you’ll learn about the move to more recent versions of the JDK, and the significant changes to the core of the Spring Framework. Next, you’ll explore Kotlin, the newest language supported by Spring. Kotlin has long been used for Android development and is a great way to build a full stack in the same language utilized by Spring. Then, you'll discover how to use WebFlux with the reactive approaches provided by Mono and Flux. Finally, you’ll explore the changes made in JUnit 5 and the latest methods to test your application. When you’re finished with this course, you'll have a foundational understanding of the new features in Spring 5, and will be able rapidly adopt them in your applications.

About the author
About the author

Bryan is a Director at Software Technology Group, a consulting company based out of Salt Lake City, and has authored and taught numerous courses in Java.

More from the author
Building Applications Using Spring JDBC
2h 33m
Apr 27, 2017
More courses by Bryan Hansen
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Bryan Hansen, and welcome to my course, What's New in Spring 5. I'm the Director of Development at Software Technology Group and a long-time Pluralsight author. It has been four years since the previous major release of the Spring framework, and there are quite a few improvements and some major overhauls in a few areas that you need to know about. In this course, we're going to learn about the changes introduced by this release and how to adapt them into your code today. Some of the major topics that we will cover include changes to the Spring core, functional programming with Kotlin, reactive programming using WebFlux, and changes to unit testing using JUnit 5. By the end of this course, you'll know about the introduced changes with this release in the API and how to begin using the new functionality today. Before beginning this course, you should be familiar with Java and Spring development. I hope you'll join me on this journey to learn about what's new in Spring with the What's New in Spring 5 course at Pluralsight today.

Spring 5 has been the first major release for the Spring framework in almost four years. Spring has always been very calculated with their releases, and this one is new different as it is timed around some very pivotal milestones with Java and other events in the development ecosystem. Hi, I'm Bryan Hansen. In this course, What's New in Spring 5, is here to help you get up to speed quickly with everything you need to know with the latest changes in the Spring framework.

Spring Core
In this module, we are going to be talking about enhancements made in Spring Core. There are a lot of features that were upgraded with this release, so we're going to walk through examples that illustrate a few of them, mainly nullable arguments, default methods, and logging enhancements.

Functional Programming with Kotlin
In this module, we're going to be talking about Spring's availability to now use Kotlin. Although an entire course could be dedicated to Kotlin, we will cover the high level points of working with it, mainly Kotlin as an alternative language to Java and its use for configuration in Spring.

Reactive Programming Using WebFlux
Java 8 formerly introduced streams into the language that you may or may not have taken advantage of. It made heavy processing tasks have the option to be offloaded so that another process could function while waiting for that one to finish. Think of it as a different way to do multithreading. In Spring 5, they took this concept further to make Spring work with reactive calls in a project called WebFlux. Let's dive into WebFlux and see how to use it inside of our application.

Testing Enhancements
Although this course isn't on JUnit, we're going to look at some of the enhancements in JUnit 5 because they change the way we do testing inside of Spring 5. We're going to start off by looking at some of the JUnit enhancements and how they've improved overall testing and then look at the enhancements specifically to Spring. Let's start off by looking at the enhancements to the JUnit API moving from version 4 to version 5.