Tagged articles
3838 articles
Page 5 of 39
Ray's Galactic Tech
Ray's Galactic Tech
Oct 14, 2025 · Backend Development

15 Proven Spring Boot Performance Hacks to Supercharge Your Apps

This guide presents fifteen practical Spring Boot performance techniques—from lazy initialization and context indexing to JVM tuning, connection‑pool tweaks, caching strategies, JSON serialization, and native image compilation—providing concrete configurations, code snippets, and best‑practice advice for faster startup, lower memory usage, and higher throughput.

JVMPerformance Optimizationjava
0 likes · 11 min read
15 Proven Spring Boot Performance Hacks to Supercharge Your Apps
Java Tech Enthusiast
Java Tech Enthusiast
Oct 14, 2025 · Backend Development

How to Build a High‑Performance MyBatis Log Analyzer with Spring Boot

This article describes the design and implementation of a high‑performance log‑analysis system for massive MyBatis logs, covering problem analysis, technology selection, architecture, multithreaded parsing, flexible regex templates, performance monitoring, pitfalls, optimization practices, results, and future plans.

Performance Optimizationjavalog-analysis
0 likes · 13 min read
How to Build a High‑Performance MyBatis Log Analyzer with Spring Boot
macrozheng
macrozheng
Oct 14, 2025 · Backend Development

Master Retrofit in Spring Boot: Seamless HTTP Calls with Minimal Code

This tutorial walks through integrating the Retrofit HTTP client into Spring Boot using the retrofit‑spring‑boot‑starter, covering dependency setup, interface definition, token handling, global interceptors, and essential configuration such as logging, timeouts, and retry policies.

HTTP clientRetrofitjava
0 likes · 12 min read
Master Retrofit in Spring Boot: Seamless HTTP Calls with Minimal Code
Ray's Galactic Tech
Ray's Galactic Tech
Oct 13, 2025 · Backend Development

Avoid the 6 Fatal @Transactional Pitfalls in Spring Boot

This article explains six common and dangerous pitfalls when using Spring's @Transactional annotation, illustrates each with problematic code examples, and provides concrete best‑practice solutions to ensure correct transaction propagation, self‑invocation handling, exception rollback, data source consistency, transaction scope, and method visibility.

best practicesjavaspring
0 likes · 8 min read
Avoid the 6 Fatal @Transactional Pitfalls in Spring Boot
Top Architect
Top Architect
Oct 13, 2025 · Backend Development

Unlocking Liteflow: Build Fast, Flexible Rule Engines for Java Backends

This article introduces Liteflow, a lightweight yet powerful Java rule engine that enables developers to orchestrate complex serial and parallel business flows using concise XML/JSON/YAML definitions, supports hot‑deployment, multiple scripting languages, and provides detailed usage examples, component types, configuration, and a real‑world e‑commerce scenario.

LiteFlowjavarule engine
0 likes · 13 min read
Unlocking Liteflow: Build Fast, Flexible Rule Engines for Java Backends
Dunmao Tech Hub
Dunmao Tech Hub
Oct 13, 2025 · Backend Development

One-Click Spring Boot Deployment on Windows with Batch Scripts

Learn how to create self-contained batch scripts that initialize a PostgreSQL database, import SQL, and launch a Spring Boot JAR on Windows, enabling one‑click service startup without manual environment configuration, and see example directory layout and customization tips.

Windows deploymentautomationbatch script
0 likes · 7 min read
One-Click Spring Boot Deployment on Windows with Batch Scripts
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 13, 2025 · Backend Development

Master Spring Boot Logging: 12 Practical Guidelines for High‑Performance Apps

This article presents twelve concrete guidelines and code examples for configuring Spring Boot 3 logging—covering readability, level selection, structured JSON output, asynchronous handling, sensitive data masking, and log rotation—to help developers build observable, maintainable, and high‑performance backend services.

loggingsecurityspring-boot
0 likes · 12 min read
Master Spring Boot Logging: 12 Practical Guidelines for High‑Performance Apps
Su San Talks Tech
Su San Talks Tech
Oct 12, 2025 · Backend Development

Unlock Spring Boot’s Hidden Power‑Ups: Conditional Beans, ConfigProps, Actuator & More

Explore the hidden power‑ups of Spring Boot—including @Conditional, @ConfigurationProperties, Actuator, DevTools, Retry, Cache, testing strategies, custom starters, Admin UI, and CLI—through concise explanations and complete code examples that demonstrate how to boost development efficiency and build production‑ready applications.

MicroservicesPerformancebackend-development
0 likes · 22 min read
Unlock Spring Boot’s Hidden Power‑Ups: Conditional Beans, ConfigProps, Actuator & More
Ray's Galactic Tech
Ray's Galactic Tech
Oct 10, 2025 · Backend Development

Master Multi-Environment Config with Spring Boot 3.x and Nacos

This guide walks you through installing Nacos, configuring a Spring Boot 3.x application for dev, test, and prod environments, using namespaces, Data ID conventions, @RefreshScope for hot updates, and validates the setup with sample code and runtime checks.

Multi-EnvironmentNacosconfiguration
0 likes · 5 min read
Master Multi-Environment Config with Spring Boot 3.x and Nacos
Java Tech Enthusiast
Java Tech Enthusiast
Oct 10, 2025 · Backend Development

Boost Business Agility with a Dynamic Rule Engine in Spring Boot

This article explains how separating business rules from code using a dynamic rule engine—implemented with QLExpress, Spring Boot, and a lightweight front‑end—enables rapid rule changes, reduces deployment risk, and empowers non‑technical staff to adjust pricing, risk, and marketing policies in real time.

Business RulesDynamic Rule EngineQLExpress
0 likes · 14 min read
Boost Business Agility with a Dynamic Rule Engine in Spring Boot
Programmer DD
Programmer DD
Oct 10, 2025 · Artificial Intelligence

How to Build a Resilient Multi‑LLM Chatbot with Spring AI

This tutorial demonstrates how to integrate multiple large language models from different providers into a Spring Boot application using Spring AI, configure primary, secondary, and tertiary models, and implement a fallback mechanism with Spring Retry to ensure high availability of the chatbot.

LLMResiliencejava
0 likes · 12 min read
How to Build a Resilient Multi‑LLM Chatbot with Spring AI
Ray's Galactic Tech
Ray's Galactic Tech
Oct 9, 2025 · Backend Development

Master Spring Boot Internationalization (i18n) in 10 Simple Steps

This guide walks you through configuring Spring Boot for full‑stack internationalization, covering dependency setup, message resource files, application properties, locale resolver and interceptor, controller and service usage, Thymeleaf templates, custom resolvers, testing, and handling static content.

Thymeleafi18ninternationalization
0 likes · 10 min read
Master Spring Boot Internationalization (i18n) in 10 Simple Steps
Su San Talks Tech
Su San Talks Tech
Oct 8, 2025 · Databases

Master Druid: Configure, Monitor, and Optimize Java Database Connections in Spring Boot

This guide explains Druid—Alibaba's Java database connection pool—covering its core concepts, Maven dependencies, property configuration, built‑in filters, SQL and slow‑SQL monitoring, Spring AOP integration, ad removal, and how to retrieve runtime statistics via DruidStatManagerFacade, all with complete code examples.

Database Connection PoolDruidSQL Monitoring
0 likes · 16 min read
Master Druid: Configure, Monitor, and Optimize Java Database Connections in Spring Boot
Java Tech Enthusiast
Java Tech Enthusiast
Oct 8, 2025 · Backend Development

How Error Fingerprinting Can Tame Log Floods in Spring Boot

In high‑traffic Java applications, massive duplicate error logs hinder troubleshooting; this article introduces a Spring Boot‑based error fingerprint clustering system that generates unique MD5 fingerprints, uses LRU caching, and provides a visual dashboard to intelligently deduplicate, aggregate, and quickly locate root causes, dramatically improving debugging efficiency and reducing storage costs.

Error LoggingFingerprintingLog Deduplication
0 likes · 11 min read
How Error Fingerprinting Can Tame Log Floods in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Oct 6, 2025 · Backend Development

Boost Spring Boot Performance: Switch from Tomcat to Undertow and Optimize Settings

This guide explains why Tomcat may become a bottleneck under high concurrency, shows how to replace it with the lightweight Undertow server in Spring Boot 3, and provides detailed configuration snippets for thread pools, timeouts, request size limits, compression, HTTP/2, access logging, and monitoring recommendations.

Tomcat replacementjavaspring-boot
0 likes · 7 min read
Boost Spring Boot Performance: Switch from Tomcat to Undertow and Optimize Settings
Architect's Guide
Architect's Guide
Oct 6, 2025 · Operations

Mastering Graceful Shutdown in Kubernetes: Real-World Spring Boot & Nacos Cases

This article explains the concept of graceful shutdown, walks through detailed Kubernetes pod termination steps, presents real-world Spring Boot and Nacos integration cases, analyzes common pitfalls such as premature termination and message loss, and offers practical optimization strategies for handling MQ, scheduled tasks, and traffic control.

Graceful ShutdownKubernetesNacos
0 likes · 12 min read
Mastering Graceful Shutdown in Kubernetes: Real-World Spring Boot & Nacos Cases
IT Services Circle
IT Services Circle
Oct 5, 2025 · Backend Development

Why Big Companies Are Dropping Tomcat for Undertow in Spring Boot

Large enterprises are increasingly replacing Spring Boot’s default embedded Tomcat with Undertow because Undertow delivers superior memory efficiency, higher concurrency, lower latency, and more flexible configuration, as demonstrated by detailed performance benchmarks, architectural analysis, and real‑world migration case studies presented in this article.

Tomcatspring-bootundertow
0 likes · 13 min read
Why Big Companies Are Dropping Tomcat for Undertow in Spring Boot
Architect
Architect
Oct 4, 2025 · Backend Development

How Graceful Response Simplifies Spring Boot API Development

This article introduces Graceful Response, a Spring Boot library that provides unified response wrapping, global exception handling, and validation support, showing how it reduces boilerplate code, improves readability, and standardizes error codes across controllers and services.

API responseException HandlingGraceful Response
0 likes · 12 min read
How Graceful Response Simplifies Spring Boot API Development
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.

backend-developmentbest practicesdefensive programming
0 likes · 15 min read
8 Essential Defensive Programming Patterns for Spring Boot 3
Architect
Architect
Oct 3, 2025 · Backend Development

How to Build a Scalable Netty TCP Client with Redis Queue and Spring Boot

This article walks through a complete Netty TCP client demo for IoT messaging, covering project architecture, module layout, business flow, detailed code explanations—including a local BlockingQueue replacement for RocketMQ, thread‑safe client creation with Redis locks, and testing endpoints—providing a practical reference for building robust socket‑based services.

IoTNettyTCP
0 likes · 20 min read
How to Build a Scalable Netty TCP Client with Redis Queue and Spring Boot
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 documentationMaven Pluginjava
0 likes · 10 min read
Generate Spring Boot API Docs Instantly with Smart-Doc – A Complete Guide
ITPUB
ITPUB
Oct 2, 2025 · Backend Development

Master Multi-Level Caching with JetCache: Boost Performance and Consistency

JetCache, an open‑source Java caching library, combines local (Caffeine) and distributed (Redis) caches into a multi‑level system, offering annotation‑driven lazy loading, automatic refresh, consistency strategies, cache pre‑warming, monitoring, and safeguards against penetration, avalanche, and memory leaks.

CaffeineJetCachePerformance
0 likes · 13 min read
Master Multi-Level Caching with JetCache: Boost Performance and Consistency
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.

StreamsflatMapfunctional programming
0 likes · 11 min read
Mastering flatMap in Java: Real-World Spring Boot 3 Examples
Ray's Galactic Tech
Ray's Galactic Tech
Sep 29, 2025 · Backend Development

Mastering Spring Boot: Deep Dive into Core Extension Points

This guide explains Spring and Spring Boot's highly extensible architecture by detailing nine core extension points, their injection timing, practical uses, and best‑practice recommendations, enabling developers to customize the container lifecycle from startup to runtime.

ApplicationContextInitializerBeanFactoryPostProcessorExtension Points
0 likes · 6 min read
Mastering Spring Boot: Deep Dive into Core Extension Points
Dunmao Tech Hub
Dunmao Tech Hub
Sep 29, 2025 · Backend Development

Generate QR Codes in Spring Boot Using Hutool and ZXing

This guide shows how to generate standard and logo‑enhanced QR codes in a Spring Boot backend by adding Hutool and ZXing dependencies, configuring Maven, using QrCodeUtil, and optionally creating time‑limited QR links with MD5 signatures.

QR codeZXingbackend-development
0 likes · 7 min read
Generate QR Codes in Spring Boot Using Hutool and ZXing
Ray's Galactic Tech
Ray's Galactic Tech
Sep 28, 2025 · Backend Development

How to Integrate Sentinel with Spring Boot for Flow Control, Circuit Breaking, and Rate Limiting

This guide explains how to add Alibaba Sentinel to a Spring Boot microservice, covering core concepts, Maven dependencies, YAML configuration, dashboard startup, practical code examples for flow control and circuit breaking, and rule persistence with Nacos for robust high‑availability services.

Circuit BreakingFlow ControlNacos
0 likes · 7 min read
How to Integrate Sentinel with Spring Boot for Flow Control, Circuit Breaking, and Rate Limiting
Programmer DD
Programmer DD
Sep 28, 2025 · Backend Development

How to Ensure Spring Boot Scheduled Tasks Run Only Once with ShedLock

Learn how to prevent duplicate execution of Spring Boot @Scheduled tasks in multi-instance deployments by integrating ShedLock, including Maven dependencies, H2 database setup, LockProvider configuration, and annotation usage to ensure each job runs only once across all nodes.

Scheduled TasksShedLockdistributed-lock
0 likes · 6 min read
How to Ensure Spring Boot Scheduled Tasks Run Only Once with ShedLock
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.

EventListenerPostConstructPreDestroy
0 likes · 8 min read
Master Spring Boot 3 Bean Lifecycle: @PostConstruct & @PreDestroy Alternatives
Ray's Galactic Tech
Ray's Galactic Tech
Sep 27, 2025 · Backend Development

Spring Boot 4.0 Preview: Key New Features, Roadmap, and Upgrade Guide

Spring Boot 4.0, currently in preview with a GA slated for November 2025, introduces modular architecture, API versioning, BeanRegistrar, JSpecify null‑safety, GraalVM native image support, virtual threads, and up to 800% performance gains, while outlining a detailed release timeline and migration considerations for developers.

Cloud NativePerformancebackend-development
0 likes · 6 min read
Spring Boot 4.0 Preview: Key New Features, Roadmap, and Upgrade Guide
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.

Code Examplesannotationsbackend-development
0 likes · 10 min read
9 Hidden Spring Boot 3 Annotations That Supercharge Your Apps
Ray's Galactic Tech
Ray's Galactic Tech
Sep 26, 2025 · Operations

Master Spring Boot Admin: Real‑Time Monitoring for Microservices

Spring Boot Admin is an open‑source tool that provides real‑time health checks, JVM metrics, log management, environment inspection, JMX control, and customizable alerts for Spring Boot applications, and this guide explains its core features, architecture, quick setup, advanced security, notification, Actuator integration, and production best practices.

AdminMicroservicesOperations
0 likes · 7 min read
Master Spring Boot Admin: Real‑Time Monitoring for Microservices
Ray's Galactic Tech
Ray's Galactic Tech
Sep 26, 2025 · Cloud Native

How to Deploy Production-Ready Spring Boot Apps on Kubernetes (V2 Guide)

Learn step-by-step how to prepare, containerize, and securely deploy a Spring Boot application on Kubernetes, covering health checks, metrics, logging, JVM tuning, multi-stage Docker builds, Helm-like resources, ConfigMaps, Secrets, Ingress, HPA, monitoring, CI/CD pipelines, and rollback strategies for production-grade reliability.

CI/CDDockerKubernetes
0 likes · 9 min read
How to Deploy Production-Ready Spring Boot Apps on Kubernetes (V2 Guide)
Programmer DD
Programmer DD
Sep 26, 2025 · Backend Development

Spring Boot 4 & Spring Framework 7: Key Features, Code Samples, and Upgrade Guide

This article reviews the major enhancements in Spring Boot 4 and Spring Framework 7, covering baseline requirements, performance boosts, native image support, modularization, new annotations, API versioning, declarative HTTP clients, resilient method support, multiple TaskDecorators, and null‑safety improvements, with practical code examples to help developers plan their migration.

API VersioningCloud NativeMicroservices
0 likes · 19 min read
Spring Boot 4 & Spring Framework 7: Key Features, Code Samples, and Upgrade Guide
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Sep 26, 2025 · Backend Development

Why Does My Spring Boot App Crash While Netty Still Runs? A Deep Dive

During a gray‑release a single server reported that the Spring container was closed while the Netty server still accepted HTTP requests, leading to an IllegalStateException; the article analyzes the root cause in Dubbo startup, explains the event flow, and proposes a reliable fix using ApplicationReadyEvent.

ApplicationReadyEventContextRefreshedEventDubbo
0 likes · 7 min read
Why Does My Spring Boot App Crash While Netty Still Runs? A Deep Dive
Ray's Galactic Tech
Ray's Galactic Tech
Sep 25, 2025 · Backend Development

Master Spring Boot AOP: Practical Guide to Logging, Transactions, and Performance

Spring Boot AOP simplifies cross‑cutting concerns such as logging, transaction management, and monitoring by using proxy‑based aspect‑oriented programming; this guide walks through adding dependencies, core concepts, proxy mechanisms, configuration, defining aspects with various advice types, custom annotations, real‑world scenarios, best practices, and troubleshooting tips.

aopaspectjbackend-development
0 likes · 8 min read
Master Spring Boot AOP: Practical Guide to Logging, Transactions, and Performance
Ray's Galactic Tech
Ray's Galactic Tech
Sep 25, 2025 · Backend Development

Master Spring Boot & RabbitMQ: From Setup to Advanced Patterns

This guide walks you through installing RabbitMQ, configuring Spring Boot, building basic producers and consumers, exploring work, fanout, direct and topic patterns, and applying advanced features like confirmations, manual ACKs, TTL, dead‑letter, delayed and priority queues, plus clustering, monitoring and troubleshooting tips.

IntegrationMessage QueueMicroservices
0 likes · 12 min read
Master Spring Boot & RabbitMQ: From Setup to Advanced Patterns
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 25, 2025 · Backend Development

Master Text Diff in Java with Diff Utils: Real‑World Spring Boot Examples

This article introduces the Java Diff Utils library, explains its core features such as computing differences, applying patches, and generating unified diffs, and provides step‑by‑step Spring Boot 3 examples—including dependency setup, string list comparison, patch generation, application, side‑by‑side view creation, and HTML rendering—for efficient text version control.

Text Diffdiff-utilsjava
0 likes · 11 min read
Master Text Diff in Java with Diff Utils: Real‑World Spring Boot Examples
Selected Java Interview Questions
Selected Java Interview Questions
Sep 24, 2025 · Backend Development

How to Build a Math Image Captcha with Spring Boot 3.5.5

This step‑by‑step tutorial shows Java beginners how to create a Spring Boot 3.5.5 application that generates a math‑expression image captcha, stores the answer in session or an in‑memory map, provides REST endpoints, handles CORS, and includes a complete front‑end page with refresh and validation logic.

CaptchaWeb Developmentjava
0 likes · 30 min read
How to Build a Math Image Captcha with Spring Boot 3.5.5
Ray's Galactic Tech
Ray's Galactic Tech
Sep 24, 2025 · Backend Development

How to Seamlessly Integrate MQTT into Spring Boot with Production-Ready Practices

This guide walks you through adding MQTT dependencies, configuring connection parameters, creating a unified MqttConfig class, defining a messaging gateway, implementing service and controller layers, and applying advanced production settings such as SSL/TLS, multi‑topic subscriptions, QoS choices, clustering, health checks, and performance tuning for Spring Boot applications.

IntegrationMQTTMessaging
0 likes · 9 min read
How to Seamlessly Integrate MQTT into Spring Boot with Production-Ready Practices
Ray's Galactic Tech
Ray's Galactic Tech
Sep 24, 2025 · Backend Development

Mastering Spring Boot Auto-Configuration: Full 3.x Mechanism Explained

This article provides a comprehensive, step‑by‑step breakdown of Spring Boot's auto‑configuration system, covering its core SPI‑based design, execution flow, conditional annotations, the evolution from spring.factories to the new .imports file in version 3.x, practical examples, custom configuration creation, and debugging techniques.

Conditional Annotationsauto-configurationjava
0 likes · 7 min read
Mastering Spring Boot Auto-Configuration: Full 3.x Mechanism Explained
Ray's Galactic Tech
Ray's Galactic Tech
Sep 24, 2025 · Backend Development

How to Set Up Multi-DataSource in Spring Boot with MyBatis

This guide walks through two approaches for configuring multiple databases in a Spring Boot and MyBatis project—native multi‑data‑source beans and the dynamic‑datasource‑spring‑boot‑starter—covering project structure, Maven dependencies, Java configuration, mapper setup, usage examples, common pitfalls, and a concise summary of when to choose each method.

Multi-DataSourcedynamic-datasourcejava
0 likes · 9 min read
How to Set Up Multi-DataSource in Spring Boot with MyBatis
Architect
Architect
Sep 23, 2025 · Backend Development

Unlock Spring Boot’s Hidden Powers: 9 Built‑In Features Every Backend Engineer Should Master

This article explores Spring Boot’s most valuable built‑in capabilities—including request logging, content caching wrappers, OncePerRequestFilter, AOP utilities, starter auto‑configuration, flexible property binding, async and scheduled tasks, Actuator monitoring, and SpEL expressions—providing code examples and practical guidance to boost productivity and application robustness.

ActuatorAsyncaop
0 likes · 13 min read
Unlock Spring Boot’s Hidden Powers: 9 Built‑In Features Every Backend Engineer Should Master
Ray's Galactic Tech
Ray's Galactic Tech
Sep 23, 2025 · Backend Development

Master MyBatis-Plus: Quick Start, Core Features, and Best Practices

This guide walks through adding MyBatis-Plus to a Spring Boot project, configuring basic settings, using CRUD operations, condition builders, pagination, advanced features like auto‑fill, logical delete, optimistic locking, code generation, common pitfalls, and practical recommendations for effective usage.

CRUDORMcode-generation
0 likes · 7 min read
Master MyBatis-Plus: Quick Start, Core Features, and Best Practices
Dunmao Tech Hub
Dunmao Tech Hub
Sep 23, 2025 · Backend Development

How to Build a Native Spring Boot Executable with GraalVM and Docker

Learn to compile a Spring Boot 3.5.6 application into a fast-starting native binary using GraalVM, configure the environment, add Maven plugins, write simple test code, and package the result into a lightweight Docker image, achieving dramatically reduced startup time and image size.

graalvmmavennative-image
0 likes · 8 min read
How to Build a Native Spring Boot Executable with GraalVM and Docker
Zhihu Tech Column
Zhihu Tech Column
Sep 23, 2025 · Backend Development

Build a High‑Performance AI Chatbot with FUST Microservices and DeepSeek

This tutorial walks through using Zhihu's open‑source FUST microservice framework together with DeepSeek's language model API to design, implement, and deploy a scalable, high‑performance intelligent Q&A system, covering architecture, data models, service layers, and deployment scripts.

AI chatbotDeepSeekFUST
0 likes · 16 min read
Build a High‑Performance AI Chatbot with FUST Microservices and DeepSeek
Code Ape Tech Column
Code Ape Tech Column
Sep 23, 2025 · Backend Development

Integrate Tess4J OCR into Spring Boot: Step‑by‑Step Guide

This tutorial walks you through setting up a Spring Boot project with Tess4J, adding required dependencies, configuring language data, implementing an OCR service and REST controller, and testing both local file and remote URL image recognition, all with complete code examples.

Image ProcessingOCRREST API
0 likes · 6 min read
Integrate Tess4J OCR into Spring Boot: Step‑by‑Step Guide
Architect's Tech Stack
Architect's Tech Stack
Sep 23, 2025 · Backend Development

Master SpringDoc: Minimal OpenAPI 3 Setup for Spring Boot

This tutorial walks through integrating SpringDoc into a Spring Boot project, covering why it replaces SpringFox, how to configure it with minimal settings, add API annotations, set up grouped documentation, and handle static resources and Spring Security for full Swagger UI access.

API documentationOpenAPISpringDoc
0 likes · 15 min read
Master SpringDoc: Minimal OpenAPI 3 Setup for Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 23, 2025 · Backend Development

Spring Boot 3 Concurrency: Locks, Optimistic & Pessimistic Updates

This article explains common problems of concurrent database updates in Spring Boot 3 and demonstrates five practical solutions—including database locks, optimistic and pessimistic locking, transaction isolation levels, and application‑level locks—accompanied by complete code examples and test results.

concurrencyoptimistic lockpessimistic-lock
0 likes · 10 min read
Spring Boot 3 Concurrency: Locks, Optimistic & Pessimistic Updates
Cognitive Technology Team
Cognitive Technology Team
Sep 22, 2025 · Backend Development

Why /tmp Can Crash Your Spring Boot App and How to Fix It

An e‑commerce Spring Boot service crashed when uploading large files because Linux’s /tmp is a memory‑based tmpfs that fills RAM, causing OOM kills; the article explains the underlying tmpfs behavior, common pitfalls, and a three‑step solution using /var/tmp with proper configuration and permissions.

Linux tmpfsfile uploadmemory leak
0 likes · 9 min read
Why /tmp Can Crash Your Spring Boot App and How to Fix It
Ray's Galactic Tech
Ray's Galactic Tech
Sep 22, 2025 · Backend Development

Integrating Knife4j with OpenAPI 3 in Spring Boot 3.x – Step‑by‑Step Guide

This tutorial walks through adding the required Maven dependencies, configuring application.yml, creating SwaggerConfig, implementing sample controllers, accessing the enhanced Knife4j UI and Swagger UI, troubleshooting common issues, and comparing SpringDoc OpenAPI with Knife4j OpenAPI3 to help developers choose the right solution for Spring Boot 3.x projects.

API documentationKnife4jOpenAPI
0 likes · 10 min read
Integrating Knife4j with OpenAPI 3 in Spring Boot 3.x – Step‑by‑Step Guide
Selected Java Interview Questions
Selected Java Interview Questions
Sep 22, 2025 · Backend Development

Quickly Diagnose Spring Boot + Nacos + MySQL Microservice Failures

This guide provides a step‑by‑step troubleshooting workflow for Spring Boot microservices using Nacos as a config/registry and MySQL as the database, covering log inspection, process checks, port listening, network connectivity, configuration validation, database connectivity, system resources, startup commands, and an optional one‑click diagnostic script.

LinuxMySQLNacos
0 likes · 9 min read
Quickly Diagnose Spring Boot + Nacos + MySQL Microservice Failures
Lobster Programming
Lobster Programming
Sep 22, 2025 · Backend Development

Mastering Spring State Machine: Efficient Order Workflow Management

This article explains how to use Spring State Machine to model and control order lifecycle transitions in an e‑commerce system, covering core concepts, configuration, listeners, service integration, controller endpoints, and visual results for robust backend state management.

Java backendOrder WorkflowSpring State Machine
0 likes · 10 min read
Mastering Spring State Machine: Efficient Order Workflow Management
Java Architect Essentials
Java Architect Essentials
Sep 21, 2025 · Backend Development

Why Unified Controller Interfaces Matter: Best Practices and AOP in Java

This article explains common pitfalls in Java controller interface design—such as inconsistent return formats, missing failure handling, and inappropriate parameters—and demonstrates how a unified ResultBean response combined with AOP logging and exception handling can improve code readability, maintainability, and testability.

ControllerResultBeanaop
0 likes · 11 min read
Why Unified Controller Interfaces Matter: Best Practices and AOP in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 21, 2025 · Backend Development

Mastering Spring Boot Controller Tests: 8 Powerful Techniques

This article presents a comprehensive guide to testing Spring Boot controller layers, covering isolated @WebMvcTest, full‑stack @SpringBootTest, WebTestClient, TestRestTemplate, standalone MockMvc, REST Assured, exception‑handling advice, and pure Mockito unit tests, each with purpose, core annotations, sample code, pros, cons, and usage recommendations.

Controller TestingIntegration TestJUnit
0 likes · 20 min read
Mastering Spring Boot Controller Tests: 8 Powerful Techniques
Top Architect
Top Architect
Sep 20, 2025 · Backend Development

Mastering LiteFlow: A Lightweight Rule Engine for Complex Business Workflows

This article introduces LiteFlow, a lightweight yet powerful rule engine for Java Spring Boot, explains its architecture, supported rule formats, core components, EL rule syntax, data context handling, configuration options, and demonstrates a real e‑commerce workflow with code snippets and diagrams.

LiteFlowrule enginespring-boot
0 likes · 13 min read
Mastering LiteFlow: A Lightweight Rule Engine for Complex Business Workflows
Architect's Tech Stack
Architect's Tech Stack
Sep 20, 2025 · Backend Development

How to Dynamically Refresh Spring Boot Configurations with @RefreshScope

This article explains why dynamic configuration refresh is needed in Spring Boot, describes the core principles of @RefreshScope, provides step‑by‑step implementation code, and shares best practices and troubleshooting tips for zero‑downtime configuration updates in production environments.

@RefreshScopeActuatorSpring Cloud
0 likes · 10 min read
How to Dynamically Refresh Spring Boot Configurations with @RefreshScope
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 20, 2025 · Backend Development

Mastering Spring Boot Validation: From Annotations to Programmatic Validators

This article explains how Spring Boot 3.4.2 supports both annotation‑based and programmatic validation, demonstrates when to choose each approach, provides step‑by‑step custom validator implementations for Employee and Department entities, and shows how to integrate these validators with Spring MVC controllers.

Programmatic Validatorspring-bootvalidation
0 likes · 10 min read
Mastering Spring Boot Validation: From Annotations to Programmatic Validators
Architect
Architect
Sep 19, 2025 · Backend Development

How to Refresh Spring Boot Configurations at Runtime with @RefreshScope

This article explains why traditional Java apps require restarts for config changes, introduces Spring Boot's @RefreshScope for zero‑downtime hot‑reloading, details its core principles, provides step‑by‑step implementation, troubleshooting tips, best practices, and advanced use cases for dynamic configuration in production environments.

@RefreshScopeDynamic Configurationbackend-development
0 likes · 10 min read
How to Refresh Spring Boot Configurations at Runtime with @RefreshScope
Architect's Guide
Architect's Guide
Sep 18, 2025 · Backend Development

Master Spring Batch: From Basics to Advanced Job Configurations

This article provides a comprehensive guide to Spring Batch, covering its purpose, supported business scenarios, core components and interfaces, Maven setup, sample job definitions, parallel execution, decision flows, nested jobs, data reading and writing, validation processing, and REST‑based job scheduling, all illustrated with complete code examples.

Batch ProcessingJob SchedulingSpring Batch
0 likes · 15 min read
Master Spring Batch: From Basics to Advanced Job Configurations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 18, 2025 · Backend Development

Master 11 Spring Boot Bean Registration Techniques for Dynamic Applications

Explore 11 practical Spring Boot bean registration methods—from simple @Component scanning to advanced ImportSelector, FactoryBean, and runtime dynamic registration—detailing code examples, use cases, and configuration steps, enabling developers to choose the optimal approach for flexible, modular applications.

Bean Registrationbackend-developmentdependency-injection
0 likes · 11 min read
Master 11 Spring Boot Bean Registration Techniques for Dynamic Applications
Architect's Tech Stack
Architect's Tech Stack
Sep 16, 2025 · Backend Development

Avoid Hidden Spring Boot Pitfalls: Optimize Tomcat, HikariCP, JPA, and More

Spring Boot’s “convention over configuration” hides many default settings that can cause performance bottlenecks and runtime failures, from Tomcat and HikariCP connection limits to JPA lazy loading, timezone serialization, logging, caching, file upload limits, thread pools, and transaction timeouts, and the article shows how to tune each.

Backendjavaspring-boot
0 likes · 13 min read
Avoid Hidden Spring Boot Pitfalls: Optimize Tomcat, HikariCP, JPA, and More
macrozheng
macrozheng
Sep 16, 2025 · Backend Development

Simplify Elasticsearch with Easy-Es: MyBatis‑Plus‑Style ORM Tutorial

This article introduces Easy-Es, an Elasticsearch ORM that mimics MyBatis‑Plus syntax, walks through its core features, integration steps, entity annotations, mapper and service implementations, and demonstrates simple, advanced, and recommendation search scenarios, highlighting the reduction in boilerplate code.

Easy-EsElasticsearchORM
0 likes · 17 min read
Simplify Elasticsearch with Easy-Es: MyBatis‑Plus‑Style ORM Tutorial
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 16, 2025 · Backend Development

Master Spring Boot 3: 171 Real-World Cases and Advanced Techniques

This article presents a continuously updated collection of 171 Spring Boot 3 practical cases, covering advanced topics such as global exception handling, custom interceptors, bean retrieval, configuration imports, startup runners, bean definition modification, initialization methods, custom scopes, and graceful shutdown, with full code examples and a free PDF ebook.

Spring Frameworkbackend-developmentcase study
0 likes · 14 min read
Master Spring Boot 3: 171 Real-World Cases and Advanced Techniques
Selected Java Interview Questions
Selected Java Interview Questions
Sep 14, 2025 · Backend Development

Mastering Spring Boot with KingbaseES: Which Connection Pool Wins?

This article explains the importance of database connection pools in Spring Boot projects using KingbaseES, compares four popular pools (DBCP, C3P0, Druid, HikariCP), provides configuration examples, highlights common pitfalls, and offers practical tuning and monitoring guidance for optimal performance.

Database Connection PoolDruidHikariCP
0 likes · 18 min read
Mastering Spring Boot with KingbaseES: Which Connection Pool Wins?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 14, 2025 · Backend Development

5 Common Redis Cache Anti‑Patterns and How to Fix Them

This article examines five frequent Redis cache anti‑patterns—cache avalanche, unbounded local cache, stale data, missing invalidation, and oversized objects—explaining their pitfalls with code examples and showing concrete fixes that dramatically improve latency, throughput, and memory usage.

Anti‑PatternCacheCaffeine
0 likes · 15 min read
5 Common Redis Cache Anti‑Patterns and How to Fix Them
Architect
Architect
Sep 13, 2025 · Backend Development

Automate MinIO Image Cleanup with Spring Boot Scheduled Tasks

This article explains how to use MinIO as an image storage service and implement a Spring Boot scheduled task that periodically deletes outdated image folders, covering dependency setup, delete utilities, performance considerations, cron expressions, thread‑pool tuning, asynchronous execution, configuration extensions, and testing strategies.

File CleanupMinioScheduled Tasks
0 likes · 27 min read
Automate MinIO Image Cleanup with Spring Boot Scheduled Tasks
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 13, 2025 · Backend Development

Generate PDFs with Spring Boot 3, iText, and Thymeleaf – 170 Real‑World Cases

This article presents a comprehensive guide to generating PDF documents in Spring Boot 3 applications using iTextpdf and Thymeleaf, covering environment setup, Maven dependencies, data model, HTML template design, controller implementation, and a test case that produces a correctly rendered PDF with external CSS and images.

Thymeleafbackend-developmentiTextPDF
0 likes · 9 min read
Generate PDFs with Spring Boot 3, iText, and Thymeleaf – 170 Real‑World Cases
Java Tech Enthusiast
Java Tech Enthusiast
Sep 12, 2025 · Backend Development

Mastering Graceful Shutdown in Spring Boot: Hooks, Events, and @PreDestroy

Learn how to implement graceful shutdown in Spring Boot by understanding the JVM shutdown hook, customizing cleanup logic with ContextClosedEvent listeners and @PreDestroy annotations, and configuring the spring.main.register-shutdown-hook property to ensure resources are released safely during application termination.

ContextClosedEventGraceful ShutdownPreDestroy
0 likes · 9 min read
Mastering Graceful Shutdown in Spring Boot: Hooks, Events, and @PreDestroy
macrozheng
macrozheng
Sep 12, 2025 · Backend Development

Automate User and Order IDs in Spring Boot Logs with MDC and AOP

This guide shows how to automatically inject userId and orderId into Spring Boot log messages by defining log placeholders, using ThreadLocal, creating a custom @UserLog annotation, and applying a Spring AOP aspect that populates MDC, dramatically simplifying logging in e‑commerce systems.

aopjavalogging
0 likes · 8 min read
Automate User and Order IDs in Spring Boot Logs with MDC and AOP
Java Architect Essentials
Java Architect Essentials
Sep 11, 2025 · Backend Development

Master SpringDoc: Zero‑Config API Docs for Spring Boot 2.6+

SpringDoc is a Spring Boot library that automatically generates OpenAPI 3 compliant API documentation, replacing the outdated SpringFox; this guide explains its advantages, minimal configuration steps, grouping techniques, and integration with Swagger UI for seamless API documentation in modern Spring applications.

API documentationBackendOpenAPI
0 likes · 15 min read
Master SpringDoc: Zero‑Config API Docs for Spring Boot 2.6+
Architect
Architect
Sep 11, 2025 · Backend Development

Boost Spring Boot Performance: 10 Essential Config Tweaks for High‑Load Apps

This article walks through ten practical Spring Boot configuration optimizations—including Tomcat connection pool, HikariCP, Jackson timezone handling, Logback rotation, Caffeine caching, Actuator endpoint exposure, file upload limits, async thread pools, static resource caching, and transaction timeouts—providing ready‑to‑use YAML snippets and clear explanations for each setting.

HikariCPTomcatconfiguration
0 likes · 15 min read
Boost Spring Boot Performance: 10 Essential Config Tweaks for High‑Load Apps
Java Tech Enthusiast
Java Tech Enthusiast
Sep 11, 2025 · Backend Development

Refresh Spring Boot Config at Runtime Without Restart

This guide explains how to use Spring Boot's @RefreshScope to dynamically refresh configuration at runtime without restarting services, covering the underlying mechanism, step‑by‑step implementation, production best practices, troubleshooting tips, and advanced use cases.

@RefreshScopeDynamic Configurationjava
0 likes · 9 min read
Refresh Spring Boot Config at Runtime Without Restart
macrozheng
macrozheng
Sep 11, 2025 · Backend Development

Track Online Users with Redis ZSET in Spring Boot

This guide explains how to implement an online user counting feature using Redis sorted sets (ZSET) in a Spring Boot application, covering user identification via tokens or browser fingerprinting, adding, querying, and cleaning up entries with zadd, zrangeByScore, zremrangeByScore, and zrem commands.

FingerprintJSOnline UsersZSet
0 likes · 8 min read
Track Online Users with Redis ZSET in Spring Boot
Java Architect Essentials
Java Architect Essentials
Sep 11, 2025 · Backend Development

Mastering SpringDoc: Quick Setup and Advanced Grouping in Spring Boot

SpringDoc is a Spring Boot library that automatically generates OpenAPI 3 compliant API documentation, offering seamless integration with Swagger UI; this guide explains its advantages over SpringFox, walks through minimal configuration, grouping strategies, and handling of security and resource handling for robust API documentation.

API documentationOpenAPISpringDoc
0 likes · 14 min read
Mastering SpringDoc: Quick Setup and Advanced Grouping in Spring Boot