0 votes
in Spring by
What are the new features in Spring 5?

1 Answer

0 votes
by

Spring 5 brought a massive update to Spring framework. Some of the new features in Spring 5 are:

Spring 5 runs on Java 8+ and supports Java EE 7. So we can use lambda expressions and Servlet 4.0 features. It’s good to see Spring trying to support the latest versions.

Spring Framework 5.0 comes with its own Commons Logging bridge; spring-jcl instead of standard Commons Logging.

Support for providing spring components information through index file “META-INF/spring.components” rather than classpath scanning.

Spring WebFlux brings reactive programming to the Spring Framework.

Spring 5 also supports Kotlin programming now. This is a huge step towards supporting functional programming, just as Java is also moving towards functional programming.

Support for JUnit 5 and parallel testing execution in the Spring TestContext Framework.

Related questions

0 votes
asked Apr 4, 2021 in Spring by Robindeniel
0 votes
asked Jul 28, 2020 in Spring by sharadyadav1986
...