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 1, 2026 · Backend Development

20 Essential Exception‑Handling Rules to Prevent Crashes in Java

This article presents twenty practical rules for handling exceptions in Java, covering why catching RuntimeException is discouraged, how to avoid using exceptions for control flow, proper use of finally blocks, logging best practices, custom exception design, and early input validation to keep applications stable and maintainable.

Best PracticesException HandlingJava
0 likes · 19 min read
20 Essential Exception‑Handling Rules to Prevent Crashes in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 1, 2026 · Backend Development

Real‑Time Communication with Spring Boot + WebSocket: Multi‑Client Sessions, Private Chat, and Broadcast

This article demonstrates how to use Spring Boot 3.5.0 with WebSocket + STOMP to build real‑time messaging, covering environment setup, WebSocket configuration, a user‑binding interceptor, and concrete code for private‑user messages, point‑to‑point chats, and global broadcasts, complete with sample results.

JavaReal‑time communicationWebSocket
0 likes · 7 min read
Real‑Time Communication with Spring Boot + WebSocket: Multi‑Client Sessions, Private Chat, and Broadcast
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 30, 2026 · Backend Development

Auto‑Optimizing Resilience4j Circuit Breaker Settings with Spring AI

This article demonstrates how to replace static Resilience4j circuit‑breaker parameters in a Spring Boot 3.5 application with dynamically generated values using Spring AI, detailing environment setup, code examples, AI prompt construction, and runtime configuration replacement to improve fault tolerance.

Circuit BreakerResilience4jai-optimization
0 likes · 9 min read
Auto‑Optimizing Resilience4j Circuit Breaker Settings with Spring AI
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 29, 2026 · Backend Development

Stop Hardcoding DTOs: Dynamic Column‑Level Masking in Spring Boot

This article shows how to replace static DTO definitions with a zero‑intrusion, high‑concurrency solution for column‑level data masking in Spring Boot 3.5.0 by leveraging Jackson's serialization pipeline, a global Mixin, custom annotations, a contextual serializer, and a ResponseBodyAdvice that respects request‑scoped permissions.

DTODynamic MaskingJackson
0 likes · 10 min read
Stop Hardcoding DTOs: Dynamic Column‑Level Masking in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 28, 2026 · Backend Development

5 Advanced Techniques to Preserve Context in Spring Boot Async Calls

In Spring Boot 3.5.0, asynchronous threads lose MDC, security, and request data because ThreadLocal is not shared; the article demonstrates five concrete solutions—including InheritableThreadLocal, thread joining, custom TaskDecorator, Spring Security delegating wrappers, and MDC propagation—each with code samples, pitfalls, and best‑practice warnings.

AsyncInheritableThreadLocalMDC
0 likes · 12 min read
5 Advanced Techniques to Preserve Context in Spring Boot Async Calls
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 27, 2026 · Backend Development

Why the Powerful Java WatchService API Is Still Overlooked

This article explains how to use Java's built‑in WatchService API to monitor file‑system changes in real time, covering service creation, directory registration, event handling, key lifecycle, polling methods, a complete runnable example, and an advanced version that leverages virtual threads for efficient concurrency.

File MonitoringJavaNIO
0 likes · 8 min read
Why the Powerful Java WatchService API Is Still Overlooked
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 27, 2026 · Backend Development

Master Modern Spring Boot Logging: 8 Essential Scenarios Covered

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
Master Modern Spring Boot Logging: 8 Essential Scenarios Covered