Spring Cloud Data Flow 2.4.2 GA Released

Spring Cloud Data Flow team is pleased to announce the GA release of 2.4.2.

In this release, along with some bug fixes, we primarily focused on the server/client-side performance improvements on the stream management.

The REST layer in Spring Cloud Data Flow server is refactored to accommodate better pagination and performance when retrieving the runtime application statuses of streams. In addition to that, the SCDF dashboard pages are re-worked based on these changes. The Runtime Applications page in the Dashboard has a new layout where the runtime applications are grouped by their streams. The Streams page is also refactored to efficiently retrieve the stream status, application…

Spring Tips: Java 14 (or: Can Your Java Do This?)

Engineering | Josh Long | March 11, 2020 | ...

Hi, Spring fans! Welcome to another installment of Spring Tips! In this installment, we're going to look at the new features in Java 14 and their use in building Spring Boot-based applications.

Speaker: Josh Long (@starbuxman)

To get started, we need to use the latest and greatest version of Java, Java 14, which isn't - just yet - released yet. It is due to be shipped in early 2020. You can download early access releases on Java.net. You might also consider using SDKManager (sdk), which makes installing new JVM editions a trivial matter indeed.

Remember, there are new Java releases every 6 months. These new releases are usable in production but are only supported for the six months between one release and the next. Every now and then, the Java project also releases a long-term support (LTS) release. That release is currently Java 11. Java 14 is only a viable target for production until Java 15 comes out. And indeed, we're going to look at a lot of preview features

This Week in Spring - March 10th, 2020

Engineering | Josh Long | March 10, 2020 | ...

Hi, Spring fans! Welcome to another rip-roaring installment of This Week in Spring! My family and I are basically self-quarantined for the meanwhile, trying to avoid the terrifying COVID-19 pandemic that's ravaging communities around the world. This pandemic is bad because it's leaving countless thousands of sick or dead. It also means that it's harder for me to get on planes to meet people.

I'm disappointed I won't be able to - and haven't been able to - make these shows. But, there's always something to be learned and this week is no different. It was a busy week in Spring indeed! Let's get…

Getting Started With RSocket: Spring Boot Client

Engineering | Ben Wilcock | March 09, 2020 | ...

Time: approximately 15 mins.

In the previous article, you saw how Spring Boot simplifies the task of writing RSocket servers. But what about RSocket clients? In this article, you’ll learn how to write your own RSocket client and then use this new client to send request-response messages to your RSocket-server. Let’s get started!

This tutorial uses the Linux shell. For details on how to run a Linux shell on Windows, see this Microsoft tutorial.

Step 1: Create A New Spring Boot Project For Your Client

It’s fun to write your own code, so for your RSocket client let’s start from scratch.

If this is too much hassle for you, or you don’t have the time right now, then you can find the code in the rsocket-client folder of the demo code repository.

Spring Cloud Hoxton Service Release 3 (SR3) is available.

On behalf of the community, I am pleased to announce that the Service Release 3 (SR3) of the Spring Cloud Hoxton Release Train is available today. The release can be found in Maven Central. You can check out the Hoxton release notes for more information.

Important Security Advisory

Spring Cloud Config contains fixes for CVE-2020-5405.

Notable Changes in the Hoxton Release Train

This milestone was primarily a bugfix release.

Please see the Hoxton.SR3 Github Project for all issues closed.

This milestone release is built with Spring Boot 2.2.5.RELEASE.

Spring Cloud Config

NOTE: The writable env endpoint has been disabled by default. To re-enable this please set management.endpoint.env.post.enabled=true

Spring Tips: Kotlin and Spring Security

Engineering | Josh Long | March 04, 2020 | ...

Hi, Spring fans! Welcome to another installment of Spring Tips. In this episode we're going to look at the new Kotlin DSL for Spring Security. I love Kotlin. I introduced Kotlin in several other Spring Tips videos: The Kotlin Programming Language, Bootiful Kotlin Redux, and Spring's Support for Coroutines. Some of those videos are very old! There are already a number of different projects in the Spring diaspora that are shipping Kotlin DSLs. They include, among others, Spring Framework, Spring Webflux, Spring Data, Spring Cloud Contract and Spring Cloud Gateway. And now, Spring Security!

Spring Security is an amazing project - it solves some of the hardest problems in the industry and helps people secure their applications. And, as if that weren't enough, it's displayed a steadfast determination to make security easy. If you ever used Spring Security in its earliest incarnations, you'd know that it required loads of XML - pages! - to get anything done. That improved to the point where in Spring Security 3 you…

This Week in Spring - March 3rd, 2020

Engineering | Josh Long | March 03, 2020 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! This week, I'm home, in San Francisco, California, in the US, where the fears around Coronavirus have heated up and made things problematic for those of us who travel. It looks like, at least for the immediate future, I'll be - basically - grounded. Stay safe out there, my friends.

The good news is that this will let me get to a ton more other things like the blogs, A Bootiful Podcast and Spring Tips and of course my Reactive Spring book. And of course, we've got a ton of things to get to today in today's installment of This Week in Spring, so…

Getting Started With RSocket: Spring Boot Server

Engineering | Ben Wilcock | March 02, 2020 | ...

Time: approximately 15 mins.

In the diverse world of microservices, HTTP is the undisputed leader in agent-to-agent communications. It’s mature, well established, and everywhere. But in some cases, HTTP request-response can be cumbersome. What if you need communication patterns beyond traditional request-response, such as fire-and-forget or streaming? And what if you want to send messages in either direction?

With HTTP, there are ways to achieve this but it’s not what the protocol was built for. Many of the solutions come with additional tradeoffs or shortcomings. Plus, here’s no rulebook that…

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all