Tagged articles
39 articles
Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 5, 2026 · Backend Development

Stop Manually Concatenating URLs: Master Spring Boot’s Powerful URI Utilities

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.

JavaSpring Bootresttemplate
0 likes · 8 min read
Stop Manually Concatenating URLs: Master Spring Boot’s Powerful URI Utilities
Java Companion
Java Companion
Jan 20, 2026 · Backend Development

How to Integrate Spring Boot with Third‑Party APIs: HTTP Clients, Sync Strategies, and Code Samples

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.

Incremental SyncMessage QueueSpring Boot
0 likes · 20 min read
How to Integrate Spring Boot with Third‑Party APIs: HTTP Clients, Sync Strategies, and Code Samples
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
Cognitive Technology Team
Cognitive Technology Team
Jul 6, 2025 · Backend Development

Why Spring WebClient Throws OutOfMemoryError and How to Fix It

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 NIOOutOfMemoryErrorSpring Boot
0 likes · 10 min read
Why Spring WebClient Throws OutOfMemoryError and How to Fix It
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 26, 2025 · Backend Development

Avoid Common Spring Boot Mistakes and Write Cleaner Backend Code

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.

Exception HandlingJavabest practices
0 likes · 8 min read
Avoid Common Spring Boot Mistakes and Write Cleaner Backend Code
Java Backend Technology
Java Backend Technology
Apr 24, 2025 · Backend Development

Mastering API Versioning in Spring Framework 7.0: Strategies and Code Samples

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
Mastering API Versioning in Spring Framework 7.0: Strategies and Code Samples
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
Architect
Architect
Apr 7, 2025 · Backend Development

Master Spring 6 HTTP Interface: Build a GetExchange Demo from Scratch

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.

Backend DevelopmentGetExchangeHTTP Interface
0 likes · 9 min read
Master Spring 6 HTTP Interface: Build a GetExchange Demo from Scratch
Architecture Digest
Architecture Digest
Nov 1, 2024 · Backend Development

Using Spring WebClient Instead of RestTemplate: Benefits, Code Samples, and Error Handling

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
Using Spring WebClient Instead of RestTemplate: Benefits, Code Samples, and Error Handling
Code Ape Tech Column
Code Ape Tech Column
Oct 31, 2024 · Backend Development

Migrating from RestTemplate to WebClient in Spring Framework: Benefits and Implementation Guide

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
Migrating from RestTemplate to WebClient in Spring Framework: Benefits and Implementation Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 16, 2024 · Backend Development

Master Java HTTP Clients: From HttpClient to OkHttp and WebClient

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
Master Java HTTP Clients: From HttpClient to OkHttp and WebClient
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
Architecture Digest
Architecture Digest
Mar 18, 2024 · Backend Development

Creating a Simple HTTP Service with Spring 6 HTTP Interface

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.

BackendHTTP InterfaceJava
0 likes · 6 min read
Creating a Simple HTTP Service with Spring 6 HTTP Interface
Architect's Tech Stack
Architect's Tech Stack
Mar 14, 2024 · Backend Development

Spring 6 HTTP Interface Demo: Defining and Invoking HTTP Services with Java Interfaces

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.

Backend DevelopmentHTTP InterfaceJava
0 likes · 7 min read
Spring 6 HTTP Interface Demo: Defining and Invoking HTTP Services with Java Interfaces
Java Tech Enthusiast
Java Tech Enthusiast
Jan 8, 2024 · Backend Development

Migrating from RestTemplate to Spring WebClient: Benefits and Code Samples

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.

HTTPJavareactive
0 likes · 11 min read
Migrating from RestTemplate to Spring WebClient: Benefits and Code Samples
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
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 25, 2023 · Backend Development

Mastering Spring WebClient: Non‑Blocking HTTP Calls in Spring Boot

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.

HTTPJavaSpringBoot
0 likes · 11 min read
Mastering Spring WebClient: Non‑Blocking HTTP Calls in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Oct 23, 2023 · Backend Development

Why RestTemplate Is Deprecated and How to Migrate to Spring WebClient

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.

Backend DevelopmentJavareactive-programming
0 likes · 16 min read
Why RestTemplate Is Deprecated and How to Migrate to Spring WebClient
Java Interview Crash Guide
Java Interview Crash Guide
Oct 18, 2023 · Backend Development

Why WebClient Beats RestTemplate in Spring: Non‑Blocking I/O, Functional API, and Advanced Error Handling

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.

HTTPJavareactive
0 likes · 13 min read
Why WebClient Beats RestTemplate in Spring: Non‑Blocking I/O, Functional API, and Advanced Error Handling
Code Ape Tech Column
Code Ape Tech Column
Oct 6, 2023 · Backend Development

Using Spring WebClient Instead of RestTemplate: Advantages and Code Examples

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.

Error HandlingHTTPJava
0 likes · 10 min read
Using Spring WebClient Instead of RestTemplate: Advantages and Code Examples
Java Architect Essentials
Java Architect Essentials
Sep 20, 2023 · Backend Development

Creating a Simple Demo with Spring 6 HTTP Interface

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.

BackendHTTP InterfaceJava
0 likes · 7 min read
Creating a Simple Demo with Spring 6 HTTP Interface
Architect's Tech Stack
Architect's Tech Stack
Aug 26, 2023 · Backend Development

Getting Started with Spring 6 HTTP Interface: A Complete Demo

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.

HTTP InterfaceJavaSpringBoot
0 likes · 7 min read
Getting Started with Spring 6 HTTP Interface: A Complete Demo
Architecture Digest
Architecture Digest
Jun 28, 2023 · Backend Development

Introduction to Spring WebFlux and Reactive Programming

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.

Backend DevelopmentFluxJava
0 likes · 7 min read
Introduction to Spring WebFlux and Reactive Programming
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 15, 2023 · Backend Development

Mastering Spring Boot RestTemplate and WebClient: Configuration and Customization

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
Mastering Spring Boot RestTemplate and WebClient: Configuration and Customization
Programmer DD
Programmer DD
Feb 18, 2023 · Backend Development

Master Spring 6 HTTP Interface: Build a Reactive API Client in Minutes

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.

HTTP InterfaceJavaSpring Boot
0 likes · 8 min read
Master Spring 6 HTTP Interface: Build a Reactive API Client in Minutes
ITPUB
ITPUB
Feb 10, 2023 · Backend Development

Mastering Spring Boot 3’s @HttpExchange for Declarative HTTP Calls

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.

Declarative HTTPHttpExchangeJava
0 likes · 6 min read
Mastering Spring Boot 3’s @HttpExchange for Declarative HTTP Calls
macrozheng
macrozheng
Dec 6, 2022 · Backend Development

Master Spring Boot 3 Http Interface: Declarative Remote Calls Made Easy

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 HTTPHTTP InterfaceJava
0 likes · 10 min read
Master Spring Boot 3 Http Interface: Declarative Remote Calls Made Easy
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 11, 2022 · Backend Development

Mastering Spring WebFlux WebClient: Configuration, Code Samples, and Advanced Usage

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.

Backend DevelopmentJavareactive-programming
0 likes · 9 min read
Mastering Spring WebFlux WebClient: Configuration, Code Samples, and Advanced Usage
Programmer DD
Programmer DD
Jul 31, 2019 · Backend Development

Blocking vs Non‑Blocking in Spring: RestTemplate vs WebClient Explained

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.

HTTPJavareactive
0 likes · 8 min read
Blocking vs Non‑Blocking in Spring: RestTemplate vs WebClient Explained
Programmer DD
Programmer DD
Jan 27, 2019 · Backend Development

Simplify Spring Cloud Service Calls with Nacos: RestTemplate, WebClient & Feign

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.

Spring Cloudfeignresttemplate
0 likes · 9 min read
Simplify Spring Cloud Service Calls with Nacos: RestTemplate, WebClient & Feign