Tagged articles
WebClient
45 articles · Page 1 of 1
A comprehensive guide to replacing RestTemplate with Spring WebClient for high-concurrency HTTP calls, covering connection pool isolation per downstream, three-layer timeout strategy, retry-with-backoff filtering, Resilience4j circuit breaker integration, ExchangeFilterFunction for logging/auth/tracing, and memory-safe streaming with backpressure.
Circuit BreakerNettyReactive Programming
0 likes · 29 min read

The article explains how Spring WebFlux replaces the thread‑per‑request model with an event‑loop, non‑blocking I/O and reactive streams, offering higher resource efficiency, built‑in back‑pressure, and better support for real‑time data, while also discussing its drawbacks and when virtual threads may be a viable alternative.
R2DBCReactive ProgrammingSpring WebFlux
0 likes · 18 min read

Spring 7 removes Feign as the default for declarative HTTP calls, introducing @HttpExchange and @ImportHttpServices so developers can use spring‑web’s @GetExchange with RestClient or WebClient, while keeping configuration and security aligned with Spring Boot 4 and Security 7.
@HttpExchange@ImportHttpServicesDeclarative HTTP
0 likes · 3 min read

This guide walks through configuring comprehensive logging in Spring Boot 3.5 for eight common scenarios—including JPA SQL, transaction flow, JDBC operations, RestTemplate, RestClient, WebClient, controller requests, and Feign calls—providing concrete code samples, YAML settings, and sample output to help developers troubleshoot and monitor applications effectively.
FeignJPAJava
0 likes · 12 min read

This article walks through Spring Boot 3.5.0’s URI building tools—including UriComponents, UriBuilderFactory, encoding options, ServletUriComponentsBuilder, and MVC link generation—showing how to construct correct, automatically‑encoded URLs for RestTemplate, WebClient, and controller methods with concrete code examples and outputs.
JavaRestTemplateSpring Boot
0 likes · 8 min read

The article examines the evolution from the synchronous, blocking RestTemplate to the reactive, non‑blocking WebClient in Spring Boot, detailing their design principles, code examples, performance characteristics, and guidance on when to choose each for modern microservice and high‑concurrency applications.
HTTP ClientReactive ProgrammingRestTemplate
0 likes · 10 min read

This article explains how to connect Spring Boot to external services by choosing the appropriate HTTP client (RestTemplate, Feign, WebClient), configuring beans, implementing service methods, and applying various data‑synchronization techniques such as full sync, UPSERT, incremental sync, webhook callbacks, and message‑queue based replication.
FeignIncremental SyncMessage Queue
0 likes · 20 min read

This article walks through integrating Spring Boot with external APIs, comparing RestTemplate, Feign, and WebClient, and presents three data‑synchronization approaches—full, incremental, and real‑time—detailing step‑by‑step configurations, code examples, and the trade‑offs of each method.
FeignIncremental SyncREST API
0 likes · 19 min read


java1234Jan 2, 2026 · Backend Development
This guide walks through integrating Spring Boot with external services using RestTemplate, Feign, and WebClient, then compares full, incremental, and real‑time data‑synchronization approaches, providing step‑by‑step code examples, configuration details, and practical trade‑off analysis.
FeignJavaRestTemplate
0 likes · 22 min read

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

Spring announced that RestTemplate will be deprecated in Spring Framework 7.0 and removed later, outlining a migration path to the newer RestClient for synchronous use and WebClient for reactive scenarios, while providing a timeline and practical guidance for developers.
BackendJavaRestClient
0 likes · 6 min read

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.
JavaRestClientRestTemplate
0 likes · 6 min read

This article explains how to use Spring WebFlux's WebClient for HTTP calls, demonstrates basic retry, backoff, custom retry logic, jitter to avoid retry storms, and integrates circuit breakers with Resilience4j to build resilient Spring Boot 3 applications.
Circuit BreakerResilience4jRetry
0 likes · 10 min read

Upgrading Spring Boot's RestTemplate to the NIO‑based WebClient improves concurrency and performance, but can trigger a java.lang.OutOfMemoryError: Direct buffer memory; this article explains the cause, diagnostic steps using yCrash, and how adjusting -XX:MaxDirectMemorySize resolves the issue.
Java NIOOutOfMemoryErrorRestTemplate
0 likes · 10 min read

This article explains how to build outbound Webhooks in Spring Boot 3 using the non‑blocking WebClient, demonstrates event‑driven publishing, shows code for custom events, retry mechanisms, and provides practical examples for integrating microservices with reliable HTTP callbacks.
BackendEvent-DrivenJava
0 likes · 10 min read

This article highlights common pitfalls in Spring Boot development—such as exposing sensitive data, neglecting records, field injection, using RestTemplate, bloated controllers, and poor exception handling—and provides concise, code‑driven solutions to write cleaner, more secure, and maintainable backend applications.
Best PracticesDTOException Handling
0 likes · 8 min read

This article explains why API versioning is essential for modern web development, outlines common versioning strategies such as URI, header, query‑parameter and content‑negotiation approaches, and demonstrates how Spring Framework 7.0 natively supports version‑specific routing on both server and client sides with practical code examples.
API versioningSpring FrameworkWebClient
0 likes · 9 min read

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.
FeignRestClientWebClient
0 likes · 9 min read

This article walks through creating a Spring Boot project that uses Spring 6's new HTTP Interface feature, defines a @GetExchange‑annotated API, generates a client proxy with WebClient, demonstrates request handling, explains related annotations, and discusses why the Reactive Web dependency is required.
GetExchangeSpring BootWebClient
0 likes · 9 min read

Spring WebClient, the reactive replacement for the deprecated RestTemplate in Spring 5+, offers non‑blocking I/O, functional style, streaming support, and improved error handling; this article explains its benefits, demonstrates synchronous and asynchronous request patterns, timeout configuration, and comprehensive error processing with code examples.
ErrorHandlingHTTPJava
0 likes · 12 min read

This article explains why RestTemplate is deprecated in Spring Framework 5+, outlines the advantages of the reactive WebClient such as non‑blocking I/O, functional style, streaming and improved error handling, and provides complete Java code examples for creating, configuring, and using WebClient synchronously and asynchronously, including timeout and error management.
ErrorHandlingHTTPJava
0 likes · 13 min read

This article introduces four Java HTTP client libraries—Java HttpClient, Apache HttpComponents, OkHttp, and Spring WebClient—explains their key features, provides async GET and sync POST code examples for each, and offers guidance on selecting the right client for Spring Boot and plain Java projects.
Apache HttpClientHTTP ClientOkHttp
0 likes · 14 min read

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

This article reviews ten practical methods for invoking third-party HTTP services in Spring Boot 3.3, covering plain JDK URL, HttpClient, Apache HttpClient, OkHttp, RestTemplate, WebClient, RestClient, Http Interface, OpenFeign, and Gateway proxy, each with code samples and key advantages.
API IntegrationFeignHTTP Client
0 likes · 13 min read


IT NiukeApr 19, 2024 · Backend Development
The article explains that RestTemplate is deprecated in Spring 5+, outlines WebClient’s non‑blocking I/O, functional style, streaming support and improved error handling, and provides step‑by‑step code examples for synchronous and asynchronous requests, timeout configuration, and error processing.
JavaRestTemplateSpring
0 likes · 13 min read

This article introduces Spring 6's new HTTP Interface feature, walks through building a Spring Boot project with a User entity, a REST controller, an HTTP Interface definition, and a test using WebClient, while explaining related annotations and the need for Spring Reactive Web dependencies.
BackendJavaSpring
0 likes · 6 min read

This article demonstrates how to use Spring Framework 6's new HTTP Interface feature by creating a simple Spring Boot application, defining a User entity and controller, implementing an HTTP Interface with @GetExchange, and testing the service via a WebClient proxy, while covering required dependencies and key annotations.
JavaSpringWebClient
0 likes · 7 min read

Spring developers should replace the deprecated RestTemplate with the reactive WebClient, which offers non‑blocking I/O, a fluent functional API, streaming support, richer error handling and configurable timeouts, while still allowing synchronous calls via block(), as demonstrated by practical Spring Boot 3 code examples.
HTTPJavaRestTemplate
0 likes · 11 min read

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.
JavaRESTRestClient
0 likes · 12 min read

This guide introduces Spring WebClient, a reactive, non‑blocking HTTP client for Spring Boot, compares it with RestTemplate, explains configuration options, demonstrates usage patterns, error handling, memory limits, Reactor Netty customization, request bodies, form data, and filter registration, providing practical code examples throughout.
HTTPJavaSpring
0 likes · 11 min read

This article explains why Spring's RestTemplate has been deprecated, outlines the advantages of the non‑blocking WebClient, and provides detailed migration examples—including GET, POST, error handling, streaming, retries, custom configurations, and best‑practice guidelines for using WebClient in backend development.
JavaReactive ProgrammingRestTemplate
0 likes · 16 min read

This article explains why Spring's RestTemplate is deprecated in favor of WebClient, highlighting benefits such as non‑blocking I/O, a functional programming style, streaming support, improved error handling, and how to configure timeouts, with full code examples for synchronous and asynchronous requests.
HTTPJavaRestTemplate
0 likes · 13 min read

This article explains why RestTemplate is deprecated in Spring 5+, introduces the reactive WebClient as its replacement, outlines its advantages such as non‑blocking I/O and functional style, and provides detailed code examples for creating a client, performing synchronous and asynchronous requests, handling errors, and configuring timeouts.
HTTPJavaRestTemplate
0 likes · 10 min read

This article introduces Spring 6's new HTTP Interface feature, walks through building a Spring Boot demo with a User entity, a controller, an HTTP Interface annotated with @GetExchange, and a test using WebClient and HttpServiceProxyFactory, and explains related annotations and reactive dependencies.
BackendJavaSpring
0 likes · 7 min read

This guide walks you through Spring 6.1's new RestClient, covering project setup, global client creation, data retrieval, posting, deletion, error handling, and advanced exchange methods with clear code examples for modern Java backend development.
HTTPRestClientSpring
0 likes · 9 min read

This article introduces Spring Framework 6's new HTTP Interface feature, walks through creating a simple Spring Boot service, defining a Java interface for HTTP calls, testing it with WebClient and HttpServiceProxyFactory, and explains related annotations and dependencies.
JavaSpringSpringBoot
0 likes · 7 min read

This article introduces Spring WebFlux as a reactive, non‑blocking web framework built on Spring 5, explains the concepts of reactive programming, compares it with Spring MVC, and provides practical code examples and guidance on when to choose WebFlux for Java backend development.
FluxJavaReactive Programming
0 likes · 7 min read

Learn how Spring Boot 2.6.14 simplifies calling remote REST services using RestTemplate and WebClient, including automatic configuration with RestTemplateBuilder, customization options via RestTemplateCustomizer and WebClient.Builder, and detailed code examples for building, customizing, and selecting appropriate HTTP connectors.
BackendHTTPJava
0 likes · 9 min read

This guide walks you through creating a Spring Boot 3 project, defining a Java interface annotated with Spring 6's new HTTP Interface, and using WebClient and HttpServiceProxyFactory to call a REST endpoint, while covering required dependencies, annotations, and proxy creation details.
JavaSpring BootWebClient
0 likes · 8 min read


ITPUBFeb 10, 2023 · Backend Development
This tutorial walks through Spring Boot 3’s built‑in @HttpExchange annotation, showing how to replace OpenFeign with a lightweight, declarative HTTP client using WebClient, complete with server and client code, configuration steps, and a runnable test example.
@HttpExchangeDeclarative HTTPJava
0 likes · 6 min read

Learn how to use Spring's RestTemplate and WebClient for calling REST endpoints, explore their core methods, initialization options, URI handling, header and body processing, multipart support, and underlying HttpMessageConverters, with practical code examples and migration guidance for modern Spring applications.
HTTPJavaREST
0 likes · 13 min read

This article explains how Spring Boot 3's Http Interface feature enables declarative HTTP service calls by defining Java interfaces, covering dependency setup, interface definitions, token handling, WebClient configuration, controller integration, testing with Postman, and discusses its reliance on WebFlux.
Declarative HTTPJavaSpring Boot
0 likes · 10 min read

Learn how to configure Spring WebFlux's WebClient with various HTTP client connectors, customize memory limits, handle responses, send request bodies and form data, apply filters, and use advanced exchange methods, all illustrated with concise Java code examples for reactive backend development.
JavaReactive ProgrammingSpring WebFlux
0 likes · 9 min read

This article compares Spring's traditional RestTemplate blocking client with the newer reactive WebClient non‑blocking client, explaining their underlying mechanisms, performance differences under concurrency, and provides complete code examples for both approaches, helping developers choose the appropriate tool for efficient HTTP calls.
HTTPJavaRestTemplate
0 likes · 8 min read

This article demonstrates how to use Nacos for service registration and discovery in Spring Cloud and shows three convenient client consumption methods—enhanced RestTemplate, reactive WebClient, and declarative Feign—complete with configuration, code examples, and the underlying load‑balancing mechanism.
FeignRestTemplateService Discovery
0 likes · 9 min read
