This Week in Spring - April 2nd, 2024

Engineering | Josh Long | April 03, 2024 | ...

Welcome, welcome, welcome, to another installment of This Week in Spring! You know, we've come a long way since you and I last spoke. It's April already! A new month! How bizarre. And, with the dawning of a new month, we're also more than 25% through this year! I sure hope you're paying attention. That little tidbit's blowing my mind!

Yesterday, by the way, was the first of April, and the tenth birthday of the first generally available 1.0 version of Spring Boot, released on the 1st of April, 2024. Happy birthday, Spring Boot!

Tomorrow, by the way, I'll have a brand new not-to-be-missed video on Java 22 over on our humble YouTube channel, do not miss that

This Week in Spring - March 26th, 2024

Engineering | Josh Long | March 26, 2024 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring!

Reflectionless Templates With Spring

Engineering | Dave Syer | March 22, 2024 | ...

A few Java libraries have shown up recently that use text templates, but compile to Java classes at build time. They can thus claim to some extent to be "reflection free". Together with potential benefits of runtime performance, they promise to be easy to use and integrate with GraalVM native image compilation, so they are quite interesting for people just getting started with that stack in Spring Boot 3.x. We take a look at a selection of libraries (JStachio, Rocker, JTE and ManTL) and how to get them running.

The source code for the samples is in GitHub and each template engine has its own…

This Week in Spring - March 19th, 2024

Engineering | Josh Long | March 19, 2024 | ...

Hello, Java 22!

Engineering | Josh Long | March 19, 2024 | ...

update I've since published a Spring Tips video on this very topic! If you'd prefer, you could watch that instead.

Hi, Spring fans! Happy Java 22 release day, to those who celebrate! Did you get the bits already? Go, go, go! Java 22 is a significant improvement that I think is a worthy upgrade for everyone. There are some big, final released features, like Project Panama, and a slew of even-better preview features. I couldn't hope to cover them all, but I did want to touch on a few of my favorites. We're going to touch on a number of features. The code, if you want to follow along at home, is here (https://github.com/spring-tips/java22)

Token Exchange support in Spring Security 6.3.0-M3

Engineering | Steve Riesenberg | March 19, 2024 | ...

I'm excited to share that there will be support for the OAuth 2.0 Token Exchange Grant (RFC 8693) in Spring Security 6.3, which is available for preview now in the latest milestone (6.3.0-M3). This support provides the ability to use Token Exchange with OAuth2 Client. Similarly, server-side support is also shipping with Spring Authorization Server in 1.3 and is available for preview now in the latest milestone (1.3.0-M3).

OAuth2 Client features of Spring Security allow us to easily make protected resources requests to an API secured with OAuth2 bearer tokens. Similarly, OAuth2 Resource Server…

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