New in Spring 6.1: RestClient

Engineering | Arjen Poutsma | July 13, 2023 | ...

Spring Framework 6.1 M2 introduces the RestClient, a new synchronous HTTP client. As the name suggests, RestClient offers the fluent API of WebClient with the infrastructure of RestTemplate.

Fourteen years ago, when RestTemplate was introduced in Spring Framework 3.0, we quickly discovered that exposing every capability of HTTP in a template-like class resulted in too many overloaded methods. In Spring Framework 5, we therefore used a fluent API for the reactive WebClient. With RestClient we are introducing a HTTP client that offers an API similar to WebClient, and that uses the message converters, request factories, interceptors, and other underlying components of RestTemplate

This Week in Spring - July 11th, 2023

Engineering | Josh Long | July 11, 2023 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! I'm in yummy, sunny Jakarta, Indonesia at the moment, preparing for a week of meetings and the SpringOne Tour Indonesia event later this week. I'll also be speaking in Kuala Lumpur, Malaysia on July 20th, 2023 . If you're in either of these regions, please come out and join me for what is sure to be a ton of fun on our journey to production!

Anyway, we've got a ton of stuff to dive into this week, so let's get to it.

Azure Spring Apps Enterprise – More Power, Scalability & Extended Spring Boot Support

Engineering | Josh Long | July 11, 2023 | ...

Can you believe Spring is celebrating its 20th anniversary this year? We could not have gotten here without our millions of Spring developers across the globe, thank you! Spring has been an essential tool for Java developers, and it continues to grow and innovate at a fast pace. From the onset, Azure and VMware Tanzu have been trusted partners to customers for running mission-critical Java and Spring workloads. Our commitment and fondness for the Java Spring developer community have never wavered.

Microsoft and VMware Tanzu Collaboration Continues

Microsoft collaboration with the Spring team…

Active Health Check strategies with Spring Cloud Gateway

Engineering | Ignacio Lozano | July 05, 2023 | ...

Active health check strategies with Spring Cloud Gateway

Nowadays, applications are built as a collection of small independent upstream services. This accelerates development and allows modules to be focused on specific responsibilities, increasing their quality. This is one of the main advantages of using a microservice approach. However, jumping from one service to another can add extra latency, and this latency can be dramatically higher when the services are not responding.

If you run microservices, you want to prevent your upstream services from being called when they are not working…

This Week in Spring - July 4th, 2023

Engineering | Josh Long | July 04, 2023 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! This week I am in sweltering, but lovely, Singapore, where I'm meeting with customers and just finished presenting at the SpringOne Tour Singapore stop.

If you're in Singapore, I hope you'll join me tonight for Bootiful Spring Boot 3.x with Josh Long, Tue, Jul 4, 2023, 6:00 PM. It's going to be a ton of fun!

I'll be doing a SpringOne Tour event next week in Jakarta, Indonesia, on the 13th of July. Don't miss this!

We've got a crazy busy roundup to get to so let's dive right in!

Building intelligent Spring Apps with Azure OpenAI

Engineering | Josh Long | July 02, 2023 | ...

Note from Josh: Hi, Spring fans! I wanted to cross post this article looking at using Spring and Azure OpenAI from Microsoft's Sean Li because it's interesting: enjoy!

Integrating cutting-edge artificial intelligence into apps has become a new trend in today's technological landscape. Spring is the most popular Java framework in the market, known for its simplicity, design patterns and focus on productivity for developing enterprise-grade applications. In this blog, we delve into the exciting realm of leveraging Spring with Azure OpenAI to unlock a new realm of possibilities. You can…

This Week in Spring - June 27th, 2023

Engineering | Josh Long | June 27, 2023 | ...

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I am in Seoul talking to developers about the latest-and-greatest in Spring Boot 3! There's so much great stuff coming, and so much great stuff already. There are a few things I'm super excited about.

First, yesterday I did a joint presentation with my friend the one the only the amazing Trustin Lee, creator of Netty and lead of the Armeria Project over at LINE corporation. LINE is a super popular social messaging application used a lot in Korea and in Japan. It was a ton of fun collaborating with, and copresenting with, him

Using Spring for GraphQL with Spring Data Neo4j

Engineering | Mark Paluch | June 27, 2023 | ...

Introduction

This is a guest blog post by Gerrit Meier from Neo4j who maintain(s) the Spring Data Neo4j module.

A few weeks ago version 1.2.0 of Spring (for) GraphQL was released with a bunch of new features. This also includes even better integration with Spring Data modules. Motivated by those changes, more support in Spring Data Neo4j has been added, to give the best experience when using it in combination with Spring GraphQL. This post will guide you on creating a Spring application with data stored in Neo4j and GraphQL support. If you are only partial interested in the domain, you can…

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