Spring Full-Stack Practical Cases
Author

Spring Full-Stack Practical Cases

Full-stack Java development with Vue 2/3 front-end suite; hands-on examples and source code analysis for Spring, Spring Boot 2/3, and Spring Cloud.

1.0k
Articles
0
Likes
3.3k
Views
0
Comments
Recent Articles

Latest from Spring Full-Stack Practical Cases

100 recent articles max
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 6, 2026 · Artificial Intelligence

Essential ETL Techniques for Spring AI RAG – A Must‑Read Guide

This article explains how Spring AI implements the ETL pipeline for Retrieval‑Augmented Generation, detailing the three core components—DocumentReader, DocumentTransformer, and DocumentWriter—along with concrete code examples, configuration parameters, and processing steps for text, PDF, and Tika document sources.

DocumentReaderETLKeywordMetadataEnricher
0 likes · 11 min read
Essential ETL Techniques for Spring AI RAG – A Must‑Read Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 6, 2026 · Backend Development

Stop Misusing @Async: 4 Advanced Async Rules Every Senior Developer Should Follow

The article explains why careless use of Spring Boot’s @Async can cause thread‑pool exhaustion, silent failures, and transaction inconsistencies, and presents four advanced patterns—custom thread pools, CompletableFuture parallelism, @TransactionalEventListener, and AsyncUncaughtExceptionHandler—to use @Async safely and observably.

AsyncAsyncUncaughtExceptionHandlerCompletableFuture
0 likes · 13 min read
Stop Misusing @Async: 4 Advanced Async Rules Every Senior Developer Should Follow
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 6, 2026 · Backend Development

Say Goodbye to Duplicate Submissions: 6 Spring Boot Tricks

This article explains why duplicate form submissions cause data inconsistency in Spring Boot applications and presents six practical techniques—including disabling the submit button, loading‑state feedback, debounce, Axios request interception, token validation, and AOP interception—to reliably prevent repeated requests in both single‑node and distributed deployments.

AOPAxiosBackend Development
0 likes · 15 min read
Say Goodbye to Duplicate Submissions: 6 Spring Boot Tricks
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 5, 2026 · Backend Development

5 Advanced Java Concurrency Tricks That Can Triple Your Throughput

This article walks through five proven Java 21 concurrency tuning techniques—including non‑blocking CompletableFuture pipelines, StampedLock for read‑heavy workloads, bounded queues with CallerRunsPolicy, atomic computeIfAbsent usage in ConcurrentHashMap, and correct virtual‑thread patterns—showing how each can dramatically improve throughput and stability in high‑load systems.

CompletableFutureConcurrencyConcurrentHashMap
0 likes · 9 min read
5 Advanced Java Concurrency Tricks That Can Triple Your Throughput
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 5, 2026 · Backend Development

5 Practical Ways to Handle Dynamic JSON Requests in Spring Boot with Validation

This article explores five practical approaches for processing dynamic JSON payloads in Spring Boot 3.5—using Map, JsonNode, ObjectNode, @JsonAnySetter, and Jackson polymorphic deserialization—detailing code examples, advantages, drawbacks, suitable scenarios, and how to apply runtime validation with networknt’s JSON Schema validator.

Dynamic JSONJSON Schema ValidationJackson
0 likes · 11 min read
5 Practical Ways to Handle Dynamic JSON Requests in Spring Boot with Validation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 4, 2026 · Backend Development

5 Advanced Spring Boot Patterns for Millisecond API Responses

This article presents five advanced Spring Boot 3.5.0 patterns—ETag with conditional requests, read‑write separation, virtual threads, HTTP client connection reuse, and asynchronous processing—to achieve sub‑millisecond API response times, complete with code examples, configuration steps, and performance benefits.

AsyncRead-Write SplittingVirtual Threads
0 likes · 15 min read
5 Advanced Spring Boot Patterns for Millisecond API Responses
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 3, 2026 · Backend Development

15 Golden Rules for High‑Performance, Maintainable Java Code

This article presents fifteen concrete Java performance‑optimization rules—from readable code and proper data structures to efficient string handling, database access, caching, multithreading, reflection, JVM tuning, and memory management—each illustrated with before/after code examples and practical advice.

Best PracticesCachingConcurrency
0 likes · 14 min read
15 Golden Rules for High‑Performance, Maintainable Java Code
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 3, 2026 · Backend Development

Beyond AOP: 4 Ways to Capture Spring Boot Controller Params and Return Values – The Fastest Wins

The article compares four techniques—traditional AOP, a Filter with ContentCaching wrappers, Spring MVC Request/Response Advice, and a custom HandlerAdapter extension—for extracting request parameters and response bodies in Spring Boot 3.5, demonstrating that the HandlerAdapter approach offers the highest performance while remaining non‑intrusive.

AOPFilterHandlerAdapter
0 likes · 9 min read
Beyond AOP: 4 Ways to Capture Spring Boot Controller Params and Return Values – The Fastest Wins
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 2, 2026 · Backend Development

Simplify Resource Cleanup in JUnit with the New @AutoClose Annotation

The article introduces JUnit's @AutoClose annotation (added in version 5.11), compares the traditional @BeforeEach/@AfterEach cleanup pattern with the annotation's automatic resource closing, and demonstrates its use across file I/O, database connections, HTTP clients, streams, and custom AutoCloseable classes, including warning behavior for null fields.

@AutoCloseJUnitJUnit5
0 likes · 8 min read
Simplify Resource Cleanup in JUnit with the New @AutoClose Annotation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 2, 2026 · Big Data

Millisecond‑Level Real‑Time Sync from MySQL to Elasticsearch with Flink CDC

This guide walks through setting up a Spring Boot 3.5 environment, configuring Flink 1.20 and Flink CDC 3.5, preparing MySQL tables, and using both the Flink CDC CLI and SQL client to achieve near‑millisecond synchronization of data from MySQL to Elasticsearch, including custom sink programming and real‑time monitoring via the Flink Web UI.

Apache FlinkElasticSearchFlink CDC
0 likes · 14 min read
Millisecond‑Level Real‑Time Sync from MySQL to Elasticsearch with Flink CDC