This Week in Spring - 28 November, 2023

Engineering | Josh Long | November 28, 2023 | ...

Hi, Spring fans! I hope everyone who celebrated Thanksgiving had a wonderful time. Did you indulge in too much turkey? Anyway, let's jump into this week's edition of This Week in Spring—a particularly special one for a couple of reasons. First, it's our first issue after the launch of Spring Boot 3.2 last Thursday. Second, it's my inaugural post as a member of the Broadcom family. Exciting times!

Spring Boot 3.2: A Game Changer

Spring Boot 3.2 is nothing short of revolutionary. I've delved into its myriad features in an in-depth video, which you can watch here. This release includes:

  • reactive cache/scheduled abstraction
  • virtual threads (project Loom)
  • CRaC
  • improved GraalVM native image support
  • Spring for Apache Pulsar support
  • the new Spring Framework 6.1 RestClient and JdbcClient
  • reloadable SSL
  • Java 21
  • observability
  • spring.main.keep-alive=true
  • Docker for Neo4J, ActiveMQ, etc.
  • dependencies updates (of course)
  • TransactionalExecutionListener

Spring Tips: Spring Boot 3.2

Engineering | Josh Long | November 23, 2023 | ...

Hi, Spring fans! In this installment of Spring Tips, I look at the new Spring Boot 3.2 release, due to drop today, the 23rd of November 2023! (23-11-23!)

We're diving into the cool new features of Spring Boot 3.2 and Java 21. We'll explore how virtual threads from Project Loom make your code run better and how Java 21 enhances your applications. Plus, we're building a Java 21 program right here! We'll talk about how SSL support and improved observability in Spring Boot 3.2 can help you in production. We'll also look at the new Project Loom and Project CRaC support can help you go faster with…

This Week in Spring - Spring Boot 3.2 edition - November 21st, 2023

Engineering | Josh Long | November 21, 2023 | ...

Hi, Spring fans! Welcome to another epic installment of This Week in Spring! As amazing as the week's already been, it's all leading up to this Thursday - Thanksgiving day! - when we release Spring Boot 3.2! (and yes, I am very grateful). This release is stuffed to the gills with a ton of new features:

  • reloadable SSL support
  • the new JdbcClient and the new RestClient, from Spring Framework 6.1.
  • Java 21 virtual threads (project Loom)
  • Coordinated Restore at Checkpoint (CRaC)
  • observability improvements
  • a ton of new and updated dependencies, like the newly integrated Spring for Apache Pulsar starter and autoconfiguration, the new Testcontainer support for ActiveMQ, and so much more.

This Week in Spring - November 14th, 2023

Engineering | Josh Long | November 14, 2023 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! It's November 14th, and you know what that means? NINE MORE DAYS until Spring Boot 3.2 drops (on the day of the US holiday of Thanksgiving, no less)!

Some key features include:

  • virtual threads
  • initial CRaC support
  • more sophisticated observability with Micrometerio
  • JdbcClient, RestClient
  • ActiveMQ Testcontainers/ Docker Compose support
  • Kotlin 1.9.0

I can't wait for the next release. I've been playing with it for months. It builds on the strenghts of Spring Boot 3.0 and 3.1. 3.0 brought GraalVM native images, and 3.…

This Week in Spring - November 7th, 2023

Engineering | Josh Long | November 07, 2023 | ...

Hi, Spring fans!

Can you believe we've already turned the calendar page to November? Time sure is a swift developer, deploying months as if they were minor versions in an ever-evolving application. As we adjust our clocks to fall back, waving a reluctant goodbye to daylight savings time, the encroaching evening arrives with a brisk efficiency. Yes, it's dark outside, a bit too early for my liking, if I'm honest. The shortened days remind us that while we may not be in control of the celestial clock, we do have the power to harness the hours we're given. This is the perfect time to settle in…

SSL hot reload in Spring Boot 3.2.0

Engineering | Moritz Halbritter | November 07, 2023 | ...

In Spring Boot 3.2.0, we're adding the ability for embedded web servers to hot-reload SSL certificates and keys. That means you can rotate your SSL trust material without restarting your application. Hot reloading is supported for Tomcat and Netty embedded web servers.

Let's see that in action!

First, we're going to create our SSL private key and matching certificate using OpenSSL:

mkdir certs
cd certs
openssl req -x509 -subj "/CN=demo-cert-1" -keyout demo.key -out demo.crt -sha256 -days 365 -nodes -newkey rsa 

This creates a private key stored in certs/demo.key and a matching (self-signed) certificate with the common name "demo-cert-1" in certs/demo.crt

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

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

Learn more

Get support

Tanzu Spring 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