Context Propagation with Project Reactor 1 - The Basics

Engineering | Dariusz Jędrzejczyk | March 27, 2023 | ...

This post is a part of a series:

  1. The Basics
  2. The bumpy road of Spring Cloud Sleuth
  3. Unified Bridging between Reactive and Imperative

Spring Boot 3 and Spring Framework 6 brought us a unified and consistent way to enable Observability in applications that use Micrometer. The evolution from Spring Cloud Sleuth to Micrometer, along with the Observation API and Micrometer Tracing, made us consolidate various approaches to context propagation. In this blog post series, we aim to explain how we came to support context propagation in Project Reactor to meet the needs of imperative libraries. By…

A Bootiful Podcast: Mark Thomas, Apache Tomcat contributor extraordinaire

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

Hi, Spring fans! Welcome to another installment of A Bootiful Podcast! In this installment, Josh Long talks to longtime Apache Tomcat contributor extraordinaire Mark Thomas

Start from zero and scale to zero – Azure Spring Apps consumption plan

Engineering | Josh Long | March 22, 2023 | ...

We are launching a new way to pay for Azure Spring Apps -- the consumption pricing plan. This plan is now in public preview so you can start creating and deploying apps today. This new plan is super-efficient because you can start from zero and scale to zero vCPU. You get more straightforward pricing across your containerized applications since it costs the same as Azure Container Apps, but with added value for Spring apps.

How does this work? With the new plan, you can deploy apps that don’t need to run all the time or apps that have bursts of traffic and only pay for the resources used…

This Week in Spring - March 21st, 2023

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

Hi, Spring fans! Welcome to another rip roaring installment of This Week in Spring! It's March 21st and today they announced Java 20! It's an exciting time to be a Java developer. Java 20, of course, is just another amazing installment before Java 21, which comes out in six short months, including Project Loom. And, of course, Spring Framework looks set to provide integrations with it in Spring Framework 6.1. It's an amazing time to be a Java and Spring Boot developer!

Spring Data JPA introduces query parser!

Engineering | Greg L. Turnquist | March 21, 2023 | ...

The Problem

One of Spring Data JPA’s handy features is letting you plugin in custom JPA queries through its @Query annotation.

This allows some flexiblity because you are still able to offer sort parameters to the consumers of your app. Check out the example below:

interface SampleRepository extends CrudRepository<Employee, Long> {

    @Query("select e from Employee e where e.firstName = :firstName")
    List<Employee> findCustomEmployees(String firstName, Sort sort);

}

Spring Data JPA will turn this custom query into a JPA query when provided not just with a criteria (firstName) but also a custom sort via findCustomEmployees("Alice", Sort.by("lastName"))

Kotlin DSLs in the world of Springdom

Engineering | Josh Long | March 17, 2023 | ...

Kotlin is a beautiful language that makes it trivial to take old Java libraries and make them much more concise, just by virtue of the Kotlin syntax itself. It shines, however, when you write DSLs.

Here's some inside baseball for you: the Spring teams do their level-headed best to be cohesive, to align on core themes, and to make Spring better than the sum of its parts. You see this in every major release: XML namespaces in Spring Framework 2.0. Java Config in 3.0. Conditionals and autoconfiguration when Spring Boot 1.0 first shipped alongside Spring Framework 4.0. Reactive programming with…

A Bootiful Podcast: Spring Batch lead Mahmoud Ben Hassine on the latest and greatest in 2023

Engineering | Josh Long | March 16, 2023 | ...

Hi, Spring fans! Welcome to another installment of A Bootiful Podcast! In this installment, Josh Long (@starbuxman) talks to Spring Batch lead Mahmoud Ben Hassine (@FMBENHASSINE) about the latest and greatest in Spring Batch.

notes

This Week in Spring - March 14th, 2023

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

Hi, Spring fans! Happy Pi (π) day! And, welcome to another installment of This Week in Spring! It's pouring cats and dogs here in San Francisco! The news is talking about atmospheric rivers; I don't know what that means but I don't know that I want to find out. Anyway, all that to say: I'm glad as always for an opportunity to stay indoors and learn. We've got a lot to review this week so let's dive right into it!

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