Spring Framework 5


This tutorial covers all Spring framework concepts, examples, integrations, projects etc with latest release Spring 5.

What's New in Spring Framework 5?

At a high level, features of Spring Framework 5.0 can be categorized into:

1. JDK baseline update - The entire Spring framework 5.0 codebase runs on Java 8. Therefore, Java 8 is the minimum requirement to work on Spring Framework 5.0.

2. Core framework revision - The core Spring Framework 5.0 has been revised to utilize the new features introduced in Java 8.

3. Core container updates - Spring Framework 5.0 now supports candidate component index as an alternative to classpath scanning.

4. Functional programming with Kotlin - Spring Framework 5.0 introduces support for JetBrains Kotlin language. Kotlin is an object-oriented language supporting functional programming style. Kotlin runs on top of the JVM but is not limited to it.

5. Reactive Programming Model - An exciting feature in this Spring release is the new reactive stack Web framework. Being fully reactive and non-blocking, this stack is suitable for event-loop style processing that can scale with a small number of threads.

6. Testing improvements - Spring Framework 5.0 fully supports JUnit 5 Jupiter to write tests and extensions in JUnit 5. In addition to providing a programming and extension model, the Jupiter sub-project provides a test engine to run Jupiter-based tests on Spring.

7. Library Supports - Spring Framework 5.0 now supports the following upgraded library versions:
Discontinued Support - At the API level, Spring Framework 5.0 has discontinued support for the following packages:
  • beans.factory.access 
  • jdbc.support.nativejdbc 
  • mock.staticmock of the spring-aspects module.
  • web.view.tiles2M. Now Tiles 3 is the minimum requirement.
  • orm.hibernate3 and  orm.hibernate4. Now, Hibernate 5 is the supported framework
Spring Framework 5.0 has also discontinued support for the following libraries:
  • Portlet.
  • Velocity.
  • JasperReports.
  • XMLBeans.
  • JDO.
  • Guava.
If you are using any of the preceding packages, it is recommended to stay on Spring Framework 4.3.x.

Check more detailed on  What's New in Spring Framework 5?

>> Spring Framework Overview

This post describes what is Spring Framework and it's modules.

>> Spring Core 5 Tutorial (30 + Articles)

This tutorial covers the core spring concepts with implementation examples.
The source code examples of each article are developed using latest Spring 5.1.0 RELEASE, JDK 8 and Maven 3.2+.

>> Spring MVC 5 Tutorial (20 + Articles)

This tutorial covers all Spring MVC concepts with examples. Integration with Hibernate 5 examples.
The source code examples of each article are developed using latest Spring 5.1.0 RELEASE, JDK 8 and Maven 3.2+.

>> Spring Boot 2 Tutorial (40 + Articles)

This is beginners to expert Spring Boot 2 tutorial.  We have used the latest release of Spring Boot 2+ in all examples. This tutorial gives you all the possible Spring boot features that are required to build a Spring-based enterprise J2EE web applications or RESTful APIs. Spring Boot uses a completely new development model to make Java Development very easy by avoiding some tedious development steps and boilerplate code and configuration.

>> Spring MVC Form Tags Tutorial

In this tutorial, we're going discuss all Spring MVC form tags and we will use important spring MVC form tags such as form tag, text fields tag, select tag, check-box(s), radio box(s), password tag, button tag, errors tag etc.

Comments