The future of Spring Framework: Java 8 and Reactive.
Jürgen Höller gave a short presentation on the opening evening at Spring2GX, where he revealed the roadmap for Spring Framework 5 (scheduled for Q3-Q4 2016). A little bit in the shadow of all the rapid innovation and hype with the Spring Cloud and associated projects, it’s easy to think that the Spring Framework has stagnated and have become almost legacy. Jürgen’s presentation proved that to be very wrong indeed. Two major themes are planned for the next major release of Spring Framework:
- Full adoption of Java 8. Spring Framework 5 will no longer use JDK6 as the minimum Java version, but will require Java 8. It will be interesting to see how much impact that will have on the existing Spring Framework APIs. Just requiring Java 8 as the target runtime will not make much difference. The introduction of Streams and Lambdas in Java 8 will be a very welcome additions to many of the Spring APIs, but possibly at the expense of backwards compatibility?
- Fully supporting a reactive programming model. Exactly how that is going to be achieved was not clear in Jürgen’s talk. Judging from the rest of the talks at the conference, RxJava seems to be the most likely model, whereas the Spring Reactor seems to have lost momentum.
Interesting news, indeed.