Tagged articles
15 articles
Page 1 of 1
Architecture Digest
Architecture Digest
Oct 23, 2025 · Backend Development

Why Spring’s RestTemplate Is Being Deprecated and What to Use Instead

Spring’s team announced that RestTemplate will be deprecated in Spring Framework 7.0 and removed later, outlining its limitations and presenting the new RestClient as a modern, fluent alternative, while also recommending WebClient for reactive scenarios and offering migration strategies for existing projects.

HTTP clientJavaRestClient
0 likes · 6 min read
Why Spring’s RestTemplate Is Being Deprecated and What to Use Instead
Su San Talks Tech
Su San Talks Tech
Oct 6, 2025 · Backend Development

Why RestTemplate Is Being Retired in Spring 7 and What to Use Instead

Spring Framework 7 will deprecate RestTemplate, outlining a migration timeline, the shortcomings of the classic HTTP client, and introducing RestClient and WebClient as modern alternatives for synchronous and reactive applications, while providing guidance for both new and legacy projects.

Backend DevelopmentJavaRestClient
0 likes · 6 min read
Why RestTemplate Is Being Retired in Spring 7 and What to Use Instead
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 17, 2025 · Backend Development

Mastering @HttpExchange in Spring Boot 3: Real‑World Cases & Advanced Tips

This article compares Feign and Spring 6's @HttpExchange for remote service calls, walks through practical examples—including interface definition, proxy creation, various client options, testing, reactive returns, custom argument resolvers, and error handling—while providing complete code snippets for Spring Boot 3.4.2.

MicroservicesRestClientfeign
0 likes · 9 min read
Mastering @HttpExchange in Spring Boot 3: Real‑World Cases & Advanced Tips
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 15, 2024 · Backend Development

Spring Boot 3.2.5 New Features: Multithreaded Bean Init, @Fallback, RestClient & More

This article walks through Spring Boot 3.2.5 enhancements including multithreaded bean initialization, the new @Fallback annotation, handling duplicate bean names, RestClient.create(URI) usage, header binding to records, expanded task‑scheduler metadata, and a host of other backend improvements.

Backend DevelopmentRestClientSpring Boot
0 likes · 9 min read
Spring Boot 3.2.5 New Features: Multithreaded Bean Init, @Fallback, RestClient & More
FunTester
FunTester
Sep 12, 2024 · Backend Development

Choosing the Right Spring HTTP Client: RestTemplate vs WebClient vs RestClient

Spring offers multiple HTTP clients—RestTemplate, WebClient, and the newer RestClient—each with distinct features, performance characteristics, and suitability for different scenarios, and this guide compares their core capabilities, advantages, drawbacks, and best-use cases to help developers select the optimal client for their projects.

BackendHTTP clientJava
0 likes · 15 min read
Choosing the Right Spring HTTP Client: RestTemplate vs WebClient vs RestClient
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 16, 2024 · Backend Development

Spring 6: HTTP Interfaces, RestClient, i18n ProblemDetail, Virtual Threads

This guide walks through Spring 6’s new capabilities—including Java 17 baseline, Jakarta namespace migration, HTTP interface proxies with @HttpExchange, WebClient integration via JDK HttpClient, internationalized ProblemDetail handling, the RestClient API, and executing asynchronous tasks on virtual threads—all demonstrated with concise code examples.

HTTPJavaProblemDetail
0 likes · 7 min read
Spring 6: HTTP Interfaces, RestClient, i18n ProblemDetail, Virtual Threads
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 11, 2023 · Backend Development

Mastering Spring 6 REST Calls: WebClient, RestTemplate, HTTP Interface & RestClient

Spring 6 offers four powerful ways to perform remote HTTP calls—WebClient, RestTemplate, HTTP Interface, and RestClient—each with distinct APIs, configuration options, and usage patterns, and this guide walks through their setup, method signatures, request handling, and error management for Java developers.

HTTP InterfaceJavaRestClient
0 likes · 12 min read
Mastering Spring 6 REST Calls: WebClient, RestTemplate, HTTP Interface & RestClient
HelloTech
HelloTech
Sep 19, 2023 · Databases

Deep Dive into Elasticsearch RestClient Sniffer and Node Discovery Mechanism

The article explains how our driver‑passenger matching service migrated from load‑balanced Elasticsearch access to a direct RestClient, then automated node discovery using the built‑in Sniffer and SniffOnFailureListener, detailing its scheduling, request logic, and how this eliminates manual IP management while keeping the client in sync with cluster topology.

Distributed SearchElasticsearchJava
0 likes · 11 min read
Deep Dive into Elasticsearch RestClient Sniffer and Node Discovery Mechanism
Programmer DD
Programmer DD
Jul 17, 2023 · Backend Development

Master Spring 6.1 RestClient: Simple HTTP Calls, Error Handling, and Advanced Exchange

This article introduces Spring 6.1’s new synchronous RestClient, showing how to perform basic GET and POST requests, convert responses to objects, handle errors with onStatus, and use the advanced exchange method for custom request‑response processing, positioning RestClient as a modern replacement for RestTemplate.

Backend DevelopmentHTTPJava
0 likes · 6 min read
Master Spring 6.1 RestClient: Simple HTTP Calls, Error Handling, and Advanced Exchange