New in Spring 5. Migration of the Topjava project to Spring 5
Hello! I continue the series of migrations to new versions of frameworks.
Last time it was JUnit 5 for 10 minutes. , this time it will be Spring 5.
When they talk about a new one in Spring ? they basically start talking about the jet stack, omitting enough of that new thing that appeared in it besides him. There are very few reactive drivers to databases, so my video review about other important updates, I hope, will be relevant for most Spring users. In addition, along with Spring 5.x, all its dependencies are updated: spring-data 2.x, spring-security 5.x. In January of this year, our Spring 5 /JPA Enterprise (Topjava) project migrated from Spring 4.3.x to Spring 5. The process was fairly easy and at the end of a small video for 10 minutes I will also give all the changes in the project code.
HTTP /2 (
? TLS ?
? Push ), NIO /NIO.? Kotlin
Null-safety annotations (
@ Nullable), new documentation
Component index at compilation time (alternative to classpath scanning)
Compatible with Java EE 8 (Servlet 4.? Bean Validation 2.? ? JPA ???r3r3207., JSON Binding API 1.0)
The new common logging bridge is
Support for JUnit 5 + Testing Improvements (conditional and concurrent)
Support was removed: Portlet, Velocity, JasperReports, XMLBeans, JDO, Guava
Spring-Data-JPA 2.x, Spring-Security 5.x
Reactivity ( Web on Reactive Stack )
The State of Java in 2018 , Java in 2017 Survey
Spring Framework Wiki
Spring Framework 5.0 on JDK 8 & 9 - Juergen Hoeller
Five things you need to know about the Spring Framework 5
Alex Theedom (IBM)
Spring 5 uses Reactor 3
Reactor 3 project
The difference between RxJava and the Java 9 Flow API API is
Web on Reactive Stack
An example on Spring WebFlux
New in Spring 5: Functional Web Framework
Migration of TopJava
JUnit 5 + Extensions. Migration of the project TopJava
In September of this year Spring 5.1 is already coming out, do not leave behind
Thank you for attention!
It may be interesting