This Week in Spring - May 26th, 2020

Engineering | Josh Long | May 27, 2020 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! How're things? My family and I spent the Memorial Day holiday weekend mostly playing video games and trying random new restaurants for delivery. Now, it's back to the grind and there are a ton of things to look at so let's get to it!

Getting Started With RSocket: Testing Spring Boot Responders

Engineering | Ben Wilcock | May 24, 2020 | ...

Reading time: about 6 minutes Coding time: about 15 minutes

If you've been following this series, by now, you'll have built a Spring Boot prototype that illustrates many of the features present in RSocket. This code isn’t production code, though; it's a prototype, a stepping stone on your RSocket journey. For production code, I'd expect all the usual quality assurance and testing rules to apply. So in this exercise, I'll show you how to write integration tests for RSocket responders, so you can get one step closer to production.

But first, what do I mean by integration testing?

Integration…

Migrating to Spring Data JDBC 2.0

Engineering | Jens Schauder | May 20, 2020 | ...

With Spring Data JDBC 2.0, we had to introduce some breaking changes. The goal of this article is to help in the migration process.

TL;DR

  1. Use the default letter casing for custom column and table names or quote the names for table generation exactly as used in the annotations.

  2. Use AbstractJdbcConfiguration for custom configuration of the application context.

  3. Register a Dialect if necessary.

  4. Review event-handling code and ensure the data you try to use is not null.

Quoting of Identifiers

Spring Data JDBC 1.x uses table and column names mostly without changing them. This causes…

This Week in Spring - May 19th, 2020

Engineering | Josh Long | May 19, 2020 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! What a wonderful, bootiful week it's been! This last week saw the long-awaited release of Spring Boot 2.3.0!

There are a lot of wonderful features in this release including, but not limited to, Java 14 support, Docker image generation, graceful shutdown, liveliness probes, upgrades to Spring Data Neumann, and so much more. Here are some resources on some of those features. And, also, check out the blog.

  • R2DBC support (see this Spring Tips installment on using R2DBC
  • Docker container image support. See this blog on Docker image generation
  • Java 14 support. See this Spring Tips installment on Java 14
  • This is also the version to use if you want to consume the Graal Native Image builder feature. Here's a Spring Tips video on that, too.

What's new in Spring Data (Klara Dan von) Neumann?

Engineering | Christoph Strobl | May 18, 2020 | ...

Spring Data Neumann is the first release to follow the new six-month cadence. The reduced timeframe lets us deliver new features more often, which is key in enabling you to move faster. The release itself ships with a bunch of new stuff and includes important (potentially breaking) upgrades of several store.

Major Version Upgrades

Several store modules, as listed below, required a major version bump due to potentially breaking changes in either their exposed API or their drivers:

Introduction to Azure Spring Cloud with IntelliJ IDEA

Engineering | Andy Clement | May 13, 2020 | ...

Azure Spring Cloud is a new Platform as a Service offering for Microservices apps. It is a fully managed service jointly built, operated, and supported by VMware and Microsoft to simplify spring boot based microservices development and management. In this blog, we will walk through how you can accelerate your development with Azure Spring Cloud and IntelliJ IDEA.

Requirements

You will need a few things prepared before following the upcoming sections:

CVE reports published for Spring Security

Engineering | Eleftheria Stein-Kousathana | May 13, 2020 | ...

We have released Spring Security 5.3.2, 5.2.4, 5.1.10, 5.0.16 and 4.2.16 to address the following CVE reports:

Please review the information in the CVE report and upgrade immediately.

Spring Boot users should upgrade to 2.2.7 or 2.1.14.

This Week in Spring - May 12th, 2020

Engineering | Josh Long | May 12, 2020 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! I hope you're all doing well, staying safe, taking socially distant walks every day to get some fresh air and exercise, and so on. I'm trying my best to stay sane. We just crossed into month three-under quarantine, having gone into quarantine on 11 March 2020. It's pretty crazy to think about how slowly and quickly time has flown.

One of the things that makes me happy? Learning new things. This weekly roundup, This Week in Spring, has always been a lot of fun for me. It's become even more of a privilege in the age of quarantine, having something to learn and soak up. I know that most of us will get through this, but I've been very keen on not letting this time go to waste for me. It's exhausting to live under this quarantine. It's exhausting to be anxious about things. I completely understand the instinct to want to just stay in bed until it all blows over. It's completely normal. You're allowed to be anxious, to worry, to feel despair. I have those days, too. But, I have found it helpful to try to plan activities with my family and to focus on backburner projects. And I find walking to be helpful. My condo's gym is closed because of…

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