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.

990
Articles
0
Likes
2.6k
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
May 25, 2026 · Databases

11 Golden Rules for SQL Performance Optimization

This article explains why inefficient SQL queries cause most database bottlenecks and presents eleven concrete rules—covering indexes, SELECT *, LIMIT, WHERE clause tuning, join strategies, execution‑plan analysis, subqueries, DISTINCT, ORDER BY/GROUP BY, UNION vs UNION ALL, and query decomposition with materialized views—to help developers systematically improve SQL execution speed on MySQL and Oracle.

IndexesOptimizationOracle
0 likes · 16 min read
11 Golden Rules for SQL Performance Optimization
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 25, 2026 · Backend Development

7 Practical Ways to Secure Spring Boot APIs with Permission Control

This article walks through seven concrete implementations for controlling access to Spring Boot 3.5.0 controller endpoints—including Spring Security, Sa‑Token, custom annotation with AOP, interceptor, URL‑based filter, custom HandlerMapping, and a Spring Cloud Gateway filter—providing code samples, configuration details, and test results to help developers choose the right approach for API security.

AOPAPI SecuritySa-Token
0 likes · 14 min read
7 Practical Ways to Secure Spring Boot APIs with Permission Control
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 24, 2026 · Backend Development

Stop Returning null! 4 Advanced Optional Patterns

The article explains why returning null from Java service methods is risky, demonstrates how to replace null with Optional as a return type, and presents four advanced Optional usage patterns—including chaining, flatMap, and proper scope—to write safer, more readable Spring Boot code.

Best PracticesFunctional ProgrammingJava
0 likes · 12 min read
Stop Returning null! 4 Advanced Optional Patterns
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 23, 2026 · Backend Development

How to Use @Lock in Spring Boot to Solve Concurrency Issues

This article explains how Spring Boot 3.5.0 leverages the @Lock annotation and JPA LockModeType to apply pessimistic read or write locks, shows custom repository implementations, provides concrete code snippets and generated SQL, and emphasizes that all lock operations must run inside a transaction.

Spring Bootcustom-repositoryjpa
0 likes · 7 min read
How to Use @Lock in Spring Boot to Solve Concurrency Issues
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 23, 2026 · Backend Development

Three Powerful Ways to Load Custom YAML Config in Spring Boot 3

The article explains why Spring Boot's default configuration loading falls short for complex scenarios and demonstrates three concrete techniques—an EnvironmentPostProcessor, a custom PropertySourceFactory, and an ApplicationEnvironmentPreparedEvent listener—each with full code, registration steps, and runtime output.

EnvironmentPostProcessorPropertySourceFactorySpring Boot
0 likes · 6 min read
Three Powerful Ways to Load Custom YAML Config in Spring Boot 3
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 23, 2026 · Artificial Intelligence

Auto‑Splitting AI Agent Tasks and Real‑Time Monitoring with Spring AI + TodoWrite

This article explains how the TodoWriteTool, a Spring AI extension, solves large‑language‑model “mid‑session forgetting” by automatically splitting complex agent tasks into explicit, sequential subtasks and providing real‑time progress monitoring, with a complete Spring Boot 3.5.0 setup, code examples, and a runnable demonstration.

AgentJavaSpring AI
0 likes · 7 min read
Auto‑Splitting AI Agent Tasks and Real‑Time Monitoring with Spring AI + TodoWrite
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 22, 2026 · Fundamentals

Upgrade from Java 8: 8 Powerful Features in Java 21 You Should Know

The article examines why many projects still cling to Java 8 and demonstrates eight transformative Java 21 features—including records, sealed classes, pattern‑matching for instanceof, switch expressions, text blocks, virtual threads, structured concurrency, and enhanced APIs—showing code examples and the benefits they bring to performance, readability, and maintainability.

Javaenhanced-apisjava-21
0 likes · 11 min read
Upgrade from Java 8: 8 Powerful Features in Java 21 You Should Know
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 22, 2026 · Backend Development

Why Hand‑Write WebSocket? Use Spring Boot + Netty‑SocketIO for Simpler Real‑Time Communication

This article walks through building a real‑time bidirectional communication system with Spring Boot 3.5.0 and the Netty‑SocketIO library, covering its core features, Maven setup, server implementation via CommandLineRunner, client HTML/JavaScript code, room support, and testing screenshots.

JavaReal-time communicationSpring Boot
0 likes · 9 min read
Why Hand‑Write WebSocket? Use Spring Boot + Netty‑SocketIO for Simpler Real‑Time Communication
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 21, 2026 · Backend Development

10 Most Valuable Features in Spring Boot Practice

This article presents ten highly valuable Spring Boot features—including global exception handling, MVC interceptors, programmatic bean access, @Import usage, startup runners, BeanDefinition modification, bean lifecycle callbacks, and custom scopes—each illustrated with concrete code examples and explanations for building cleaner, more maintainable Java backend applications.

BeanFactoryCustom ScopeException Handling
0 likes · 13 min read
10 Most Valuable Features in Spring Boot Practice