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.

947
Articles
0
Likes
2.1k
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
Oct 4, 2025 · Backend Development

8 Essential Defensive Programming Patterns for Spring Boot 3

This article explains why defensive programming is crucial for production‑grade Spring Boot 3 applications and presents eight concrete patterns—ranging from Optional‑based NPE safety and collection handling to configuration validation, async management, transaction control, testing, exception handling, circuit‑breaker integration, and reactive programming—each illustrated with real‑world code examples and best‑practice recommendations.

JavaSpring Bootbackend development
0 likes · 15 min read
8 Essential Defensive Programming Patterns for Spring Boot 3
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 3, 2025 · Backend Development

Generate Spring Boot API Docs Instantly with Smart-Doc – A Complete Guide

This article introduces the Smart-Doc tool for Spring Boot, explains why API documentation is essential, compares common documentation solutions, and provides step‑by‑step instructions—including Maven plugin configuration, JSON settings, command‑line generation of HTML, Markdown, Word, Postman and OpenAPI formats, as well as package exclusion and additional options.

API documentationJavaMaven Plugin
0 likes · 10 min read
Generate Spring Boot API Docs Instantly with Smart-Doc – A Complete Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 2, 2025 · Backend Development

Mastering flatMap in Java: Real-World Spring Boot 3 Examples

This article explains the powerful flatMap operator in Java streams, covering basic usage, Optional handling, replacing nested loops, API response flattening, combining with filter, reactive programming, and a comprehensive end‑to‑end example, all illustrated with Spring Boot 3 code snippets.

Functional ProgrammingJavaSpring Boot
0 likes · 11 min read
Mastering flatMap in Java: Real-World Spring Boot 3 Examples
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 28, 2025 · Backend Development

Master Spring Boot 3 Bean Lifecycle: @PostConstruct & @PreDestroy Alternatives

This article explains the purpose and usage of Spring Boot’s @PostConstruct and @PreDestroy annotations for bean initialization and cleanup, discusses their migration to Jakarta EE in Spring Boot 3+, and presents modern alternatives such as @EventListener with ApplicationReadyEvent, DisposableBean, and destroyMethod configurations, complete with code examples.

Bean LifecycleEventListenerJava
0 likes · 8 min read
Master Spring Boot 3 Bean Lifecycle: @PostConstruct & @PreDestroy Alternatives
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 27, 2025 · Backend Development

9 Hidden Spring Boot 3 Annotations That Supercharge Your Apps

This article introduces nine often‑overlooked Spring Boot 3 annotations—including @ConditionalOnExpression, @ConstructorBinding, @EventListener, @Lazy, @EnableConfigurationProperties, @Profile, @Scheduled, @Scope, and @Retryable—explaining their purpose, showing practical code examples, and demonstrating how they improve configuration, immutability, event handling, circular‑dependency resolution, and fault tolerance.

ConfigurationJavaSpring Boot
0 likes · 10 min read
9 Hidden Spring Boot 3 Annotations That Supercharge Your Apps
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 26, 2025 · Backend Development

Boost Spring Batch Performance: Async & Virtual Threads in Spring Boot 3

This article demonstrates how to accelerate Spring Batch jobs in Spring Boot 3 by comparing a default synchronous job with asynchronous processing using ThreadPoolTaskExecutor and then with virtual threads, providing code examples, configuration steps, and performance results that show up to a 90‑fold speedup.

Spring BatchSpring Boot 3Virtual Threads
0 likes · 9 min read
Boost Spring Batch Performance: Async & Virtual Threads in Spring Boot 3