spring.io spring.io

URL Matching with PathPattern in Spring MVC

The recent Spring Framework 5.3 M1 release announcement mentions “Spring MVC comes with PathPattern parsing for efficient URL matching”. This post expands on that with more context and detail.Overview In Spring applications AntPathMatcher is used to identify classpath, file system, remote, and other resources in Spring configuration. It has also been used in Spring MVC to match URL paths. Over time the use of patterns in web...

spring.io spring.io

Spring Framework 5.2.3, 5.1.13, 5.0.16, and 4.3.26 releases

After unfavorable weather on Maven central caused service disruption much of today, skies have finally cleared up, and I am pleased to announce a full round of Spring Framework releases: the 5.2.3 release on the current production branch, along with maintenance branch releases 5.1.13, 5.0.16, and 4.3.26 with selected backports. Please note that the 5.0.x and 4.3.x lines have reached the end of active maintenance, with just one final...

spring.io spring.io

Spring Project Vulnerability Reports Published

The following CVEs have been published today: CVE-2018-1257 for Spring Framework 5.0.6, 4.3.17. CVE-2018-1258 for Spring Security 5.0.5. CVE-2018-1259 for Spring Data Ingalls SR12, Kay SR7. CVE-2018-1260 for Spring Security OAuth 2.3.3, 2.2.2, 2.1.2, 2.0.15. CVE-2018-1261 for Spring Integration “Zip” extension 1.0.1. Please, review the information in the CVE reports and upgrade immediately. Spring Boot Users: Spring Boot 2.0.2...

spring.io spring.io

Spring Framework 5.0 M5 Update

An update on the 5th and last milestone of Spring Framework 5.0…Spring MVC and Spring WebFlux The name Spring MVC is both well known and widely used but it may surprise a few there is no actual project or independent distribution with that name. Rather it is a module within the Spring Framework distribution called spring-webmvc. Here is another trivia question. Did you know that the top-level package in the module does not feature...

spring.io spring.io

Reactive Programming with Spring 5.0 M1

As Juergen mentioned in his Spring Framework 5 M1 release announcement our Spring Reactive initiative has been merged into Spring Framework proper preserving all contributions and its full history over more than a year.What is it? In a nutshell reactive programming is about non-blocking, event-driven applications that scale with a small number of threads with backpressure as a key ingredient that aims to ensure producers do not...

spring.io spring.io

Reactive Spring

At SpringOne2GX 2015, Juergen announced plans for Spring Framework 5 with a major focus on reactive architectures. Concrete efforts are already underway and a lot has happened since! At the most basic level, reactive programming models allow for writing non-blocking services and applications. This requires a fundamental shift from writing imperative logic to async, non-blocking, functional-style code, in particular when interacting...

spring.io spring.io

Spring Framework 4.1 -- Spring MVC Improvements

Recently Juergen Hoeller announced the availability of the first of two 4.1 release candidates. Brian Clozel followed up with a post on the static web resources handling enhancements. Previously Stephane Nicoll blogged about cache and JMS related improvements. The goal of this post is to summarize Spring MVC improvements. The JDK 1.8 java.util.Optional is now supported for @RequestParam, @RequestHeader and @MatrixVariable controller...

spring.io spring.io

Spring Web Flow 2.4 RC1 Released

Spring Web Flow 2.4 release candidate 1 is now available. Please use the http://repo.springsource.org/milestone repository, download a distribution archive, or visit the project home page. The release includes Java based configuration for Spring Web Flow and Spring Faces. To demonstrate it the booking-mvc and the booking-faces samples have been switched to all Java configuration. See their respective configuration classes here and...