The Spring Blog

News and Events

Spring Statemachine 1.0.0.RC1 Released

We’re pleased to announce a first release candicate of Spring Statemachine 1.0.0.RC1.

Focus of this release is to get core framework more stable and finally add jepsen tests for a distributed state machine. We also added a first version of a testing support. Resolved github tickets can be found from RC1 issues. We’re relatively close to issue a release version, meaning if nothing major pop-up, next release will be a 1.0.0.RELEASE. If something urgent turns up we will do 1.0.0.RC2 prior to a release.


Spring Framework 4.2.1 Available Now

It is my pleasure to announce that Spring Framework 4.2.1 is available from and Maven Central. This first maintenance release in the 4.2 line contains a wide range of fixes for regressions and other issues reported against 4.2 GA.

4.2.1 also contains minor enhancements: refinement of our Jackson support (see Sébastien’s updated blog post), meta-annotation processing improvements (@AliasFor), third-party dependencies alignment (including Hibernate 5.0 GA).

We strongly recommend an immediate upgrade to 4.2.1 for all 4.x users. The Spring Framework team is now working towards Spring Framework 4.2.2 in early October, which will be the foundation for the upcoming Spring Boot 1.3 GA release. We will also release 4.1.8 at the same time: if there is anything you’d like to get fixed in the 4.1.x branch still, now is the time to raise it!


This Week in Spring - September 1, 2015

Welcome to another installment of This Week in Spring! The Spring team is hard at work on all the latest and greatest ahead of the SpringOne2GX event in Washington DC! Time is really flying! I can’t beleive what we’re staring down September already! This week I’m in Tokyo, Japan, participating in the Spring User Group’s huge Spring in Summer event where I gave a keynote and two talks, on Spring Boot and Spring Cloud. The one day event attracted some of the company’s largest websites and was a lot of fun!


Spring Data Release Train Gosling Goes GA

On behalf of the Spring Data team I’d like to announce the general availability of the Spring Data release train Gosling. Over the last 6 months we’ve fixed 344 tickets in total, 56 of that after the latest release candidate.

  • Upgraded Spring baseline to 4.1.
  • Easier implementability of custom repository code (per repo, see the reference documentation) .
  • Improved compatibility with Hibernate 5 (JPA module).
  • SpEl support for @Query methods in MongoDB (see this example).
  • Support to create Querydsl Predicates from web requests (see the reference documentation).
  • A new Spring Data KeyValue module for Map-backed repositories using SpEL as query language.
  • Improved POST forms for the HAL browser in Spring Data REST.
  • Support for internationalization of enum values and link titles in Spring Data REST.

React.js and Spring Data REST: Part 1 - Basic Features

Welcome Spring community,

This is the first of several blog entries. In this session, you will see how to get a bare-bones Spring Data REST application up and running quickly. Then you will build a simple UI on top of it using Facebook’s React.js toolset.

Step 0 - Setting up your environment

Feel free to grab the code from this repository and follow along.

If you want to do it yourself, visit and pick these items:

  • Rest Repositories
  • Thymeleaf
  • JPA
  • H2

This demo uses Java 8, Maven Project, and the latest stable release of Spring Boot. This will give you a clean, empty project. From there, you can add the various files shown explicitly in this session, and/or borrow from the repository listed above.


This Week in Spring - August 25th, 2015

Welcome to another installment of This Week in Spring! This week I’m in Rio de Janeiro, Brazil for the lovely QCon Rio conference, and then I’m off to Tokyo, Japan for a Spring in Summer conference for local Spring users!

The team is abuzz with excitement leading up to this year’s SpringOne2GX 2016, the biggest and best SpringOne2GX, ever! This year, you’re going to see us do WAY more with WAY less and get it to production, to boot! This is exciting for everyone of us and it will be for audience members, as well!


Spring for Apache Hadoop 2.3 Milestone 2 released

We are pleased to announce the Spring for Apache Hadoop 2.3 M2 milestone release.

The most important enhancements in this release:

  • New batch tasklets: Support for running a simple Spark app [SHDP-397] and for running a simple Sqoop2 Job [SHDP-506]
  • Better boot support: Add jobHistoryAddress to SpringHadoopProperties for Boot configuration [SHDP-517]
  • YARN: Support dots in yarn container group names [SHDP-515]

See the release changelog for details.

The new support for running a Spark job on YARN via a Spring Batch tasklet opens possibilities for integrating Spark tasks in a larger Spring Batch flow We will show a simple example of this at the upcoming SpringOne 2GX conference during our “Hadoop Workflows and Distributed YARN Apps using Spring technologies” presentation. In this presentation we’ll also explore how Hadoop based apps can take advantage of a cloud-native development approach.


Migrating a Spring Web MVC application from JSP to AngularJS

Note on authors

This post is a guest post by Han Lim and Tony Nguyen. Han and Tony have done a great presentation at our Singapore Spring User Group on Spring + Angular JS. This blog is based on their presentation.


In this article, we try to describe our experiences moving from server-side rendering view technologies like JSP, Struts and Velocity to client-side rendering view technologies using AngularJS, a popular Javascript framework for modern browsers. We will talk about some of the things to look out for when you are making this change and potential pitfalls you may encounter. If you are experienced in Spring Web MVC and JSP development and would like to find out how Spring MVC can work together with a client-side Javascript like AngularJS, this article may just be for you.