Tagged articles

Spring Boot

4573 articles · Page 3 of 46
Java Tech Workshop
Java Tech Workshop
Jul 29, 2026 · Backend Development

Why Spring Boot’s Built‑in StopWatch Is a Cleaner Way to Measure Execution Time

The article explains the drawbacks of manually using System.currentTimeMillis for multi‑stage timing, introduces Spring’s StopWatch utility from spring‑core, demonstrates its API and code examples, shows three common usage scenarios, warns about pitfalls, compares it with raw timers, and argues why Spring itself adopts StopWatch for concise, structured performance monitoring.

AOPJavaPerformance
0 likes · 12 min read
Why Spring Boot’s Built‑in StopWatch Is a Cleaner Way to Measure Execution Time
Su San Talks Tech
Su San Talks Tech
Jul 29, 2026 · Backend Development

Why Spring Boot 4.0 Dropped Undertow and How to Migrate

Spring Boot 4.0, built on Spring Framework 7, requires Servlet 6.1, leading to the removal of Undertow support; the article explains the technical reasons, the impact on existing projects, and provides step‑by‑step migration paths to Tomcat or Jetty, including configuration changes and risk considerations.

JettyServlet 6.1Spring Boot
0 likes · 13 min read
Why Spring Boot 4.0 Dropped Undertow and How to Migrate
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 28, 2026 · Cloud Native

Production-Grade Spring Boot Containerization: Layered Images, JVM Tuning & OOM Debugging

A comprehensive guide to running Spring Boot reliably on Kubernetes covering layered Docker image builds, JVM container-aware memory and CPU configuration, OOMKilled root-cause analysis using Native Memory Tracking and heap dumps, Prometheus monitoring integration, and Cloud Native Buildpacks for automated CI/CD pipelines.

BuildpacksCI/CDContainerization
0 likes · 18 min read
Production-Grade Spring Boot Containerization: Layered Images, JVM Tuning & OOM Debugging
Coder Trainee
Coder Trainee
Jul 27, 2026 · Backend Development

From Zero to One: Build a Smart Table Reservation System with Triple‑Endpoint Architecture and Apple‑Style Design

This article walks through the end‑to‑end creation of a production‑grade table‑reservation platform, covering the three‑tier client architecture (WeChat Mini‑Program, H5/App via UniApp, and a Vue3 + Element Plus PC admin), a dual Spring Boot backend, Redis distributed locking combined with MySQL unique indexes for high‑concurrency seat booking, JWT‑based authentication, RBAC permission control, and an Apple‑inspired design system, all illustrated with concrete code snippets and deployment tips.

JWTRBACRedis Lock
0 likes · 21 min read
From Zero to One: Build a Smart Table Reservation System with Triple‑Endpoint Architecture and Apple‑Style Design
Java Architect Handbook
Java Architect Handbook
Jul 27, 2026 · Backend Development

Druid Crashed in Production? Essential Optimizations for Spring Boot

The article explains why Druid connection pools can fail in production and provides a step‑by‑step guide to extreme optimization, covering environment setup, core pool parameter tuning, monitoring with StatFilter and web UI, security hardening, leak detection, dynamic adjustments, and common pitfalls.

Advanced OptimizationDruidSecurity
0 likes · 15 min read
Druid Crashed in Production? Essential Optimizations for Spring Boot
CodeSmart Hoops
CodeSmart Hoops
Jul 27, 2026 · Backend Development

Master Spring Boot Starters: In‑Depth Analysis, Interview Self‑Test, and Real‑World Examples

This article presents a comprehensive interview self‑test checklist for Spring Boot Starters, offering detailed reference answers that explain the distinction between Starters and AutoConfiguration, Maven transitive dependencies, registration files for Spring Boot 3.x, the inner workings of @ConfigurationProperties and Binder, changes to relaxed binding, essential annotations, naming conventions, exclusion techniques, the impact of excessive Starters, the design rationale behind separating dependency description from auto‑configuration, conditional property semantics, and the differences between ApplicationContextRunner and @SpringBootTest for testing auto‑configuration.

AutoConfigurationConfigurationPropertiesMaven
0 likes · 23 min read
Master Spring Boot Starters: In‑Depth Analysis, Interview Self‑Test, and Real‑World Examples
Java Tech Workshop
Java Tech Workshop
Jul 27, 2026 · Backend Development

Spring Boot + EasyExcel: High‑Performance, Elegant Excel Import/Export

This article explains why native Apache POI causes memory‑heavy, boilerplate Excel import/export code, introduces Alibaba's EasyExcel as a low‑memory, annotation‑driven alternative, and provides step‑by‑step Spring Boot examples for exporting, importing, custom conversion, validation, pagination, and template filling while highlighting common pitfalls and solutions.

EasyExcelExcel ExportJava
0 likes · 15 min read
Spring Boot + EasyExcel: High‑Performance, Elegant Excel Import/Export
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 27, 2026 · Backend Development

Spring Boot + Drools: Production-Grade Hot Reload & Memory-Safe Rule Engine Integration

This article details how to integrate Drools with Spring Boot for complex business decisions, covering architecture design, hot-reload implementation using AtomicReference and KieContainer disposal, memory leak prevention, stateless session best practices, conflict detection via AgendaEventListener, and production observability with trace logging and dry-run sandboxes.

DroolsHot ReloadMemory Leak Prevention
0 likes · 15 min read
Spring Boot + Drools: Production-Grade Hot Reload & Memory-Safe Rule Engine Integration
Lobster Programming
Lobster Programming
Jul 27, 2026 · Backend Development

Mastering Liteflow: Core Concepts and a Real‑World Spring Boot Demo

This article introduces the Liteflow rule‑engine framework, explains its core concepts, syntax, and configuration options, and walks through a complete Spring Boot 3.2 / Java 17 project that demonstrates building, deploying, and testing a multi‑step workflow with practical code examples.

EL SyntaxJava 17LiteFlow
0 likes · 14 min read
Mastering Liteflow: Core Concepts and a Real‑World Spring Boot Demo
Java Tech Workshop
Java Tech Workshop
Jul 26, 2026 · Backend Development

Which Executes First in Spring Boot: Filter, Interceptor, or AOP?

The article explains the exact execution order of Spring Boot's Filter, Interceptor, and AOP layers, details the nine‑step request lifecycle, clarifies sorting rules, outlines common pitfalls, and provides guidance on choosing the right component for specific scenarios.

AOPInterceptorSpring Boot
0 likes · 15 min read
Which Executes First in Spring Boot: Filter, Interceptor, or AOP?
The Dominant Programmer
The Dominant Programmer
Jul 25, 2026 · Artificial Intelligence

Complete Guide to Qoder’s .qoder Configuration Directory

This article explains the purpose, structure, and usage of Qoder’s .qoder directory, detailing the rules and repowiki sub‑folders, how they feed AI context, example Spring Boot configurations, comparisons with other AI tools, and best‑practice recommendations.

AI code generationAI toolingQoder
0 likes · 12 min read
Complete Guide to Qoder’s .qoder Configuration Directory
CodeSmart Hoops
CodeSmart Hoops
Jul 25, 2026 · Backend Development

Interview Self‑Test: Spring Boot Actuator Health Checks – Quick Review & Must‑Know Answers

This article provides a comprehensive interview self‑test covering Spring Boot Actuator’s built‑in endpoints, health‑check JSON format, status aggregation logic, custom HealthIndicator implementation, show‑details configuration, @Endpoint operation annotations, liveness vs. readiness probes, handling of DOWN status, disabling auto‑configured indicators, security risks of exposing all endpoints, HealthIndicatorRegistry naming rules, additional Actuator endpoints, CompositeHealth construction, and custom HealthStatusHttpMapper mapping.

ActuatorJavaKubernetes
0 likes · 22 min read
Interview Self‑Test: Spring Boot Actuator Health Checks – Quick Review & Must‑Know Answers
Java Tech Workshop
Java Tech Workshop
Jul 25, 2026 · Backend Development

Build a Leave Approval Workflow in Spring Boot with Flowable Using Three Annotations

This article shows how to replace hard‑coded if‑else approval logic with Flowable workflow in a Spring Boot 3.x project, using the three core annotations @EnableProcessApplication, @Deployment and @ProcessVariable to auto‑configure the engine, deploy BPMN files, inject variables, and implement a complete leave‑request service.

BPMNFlowableSpring Boot
0 likes · 16 min read
Build a Leave Approval Workflow in Spring Boot with Flowable Using Three Annotations
CodeSmart Hoops
CodeSmart Hoops
Jul 24, 2026 · Backend Development

Hands‑On Unit Testing of Spring Boot Actuator Health Checks

This guide walks through setting up Spring Boot 3.x with JDK 17+, adding Actuator and test dependencies, and implementing a comprehensive JUnit 5 test suite that validates health endpoint aggregation, status priority, show‑details configuration, custom endpoints, JVM metrics, endpoint exposure, health groups, and custom HTTP status mapping, with instructions for running the tests via Maven or an IDE.

ActuatorJDK 17JUnit5
0 likes · 17 min read
Hands‑On Unit Testing of Spring Boot Actuator Health Checks
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 24, 2026 · Backend Development

High-Availability Distributed Task Scheduling with Spring Boot & PowerJob: Production Hardening Guide

This guide shares a year of production experience migrating from basic @Scheduled to PowerJob for high-availability distributed task scheduling, covering Spring Boot integration, DAG workflow orchestration, MapReduce sharding, lease-based failover, JVM tuning, metadata DB protection, and idempotency patterns.

DAG WorkflowDistributed Task SchedulingMapReduce
0 likes · 18 min read
High-Availability Distributed Task Scheduling with Spring Boot & PowerJob: Production Hardening Guide
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 23, 2026 · Backend Development

Spring Boot Field-Level Data Masking with ShardingSphere-Encrypt: Production Guide

This article details integrating ShardingSphere-Encrypt into Spring Boot for transparent, field-level data masking, covering architecture selection, internal SQL rewrite mechanics, YAML configuration, custom algorithm SPI, common pitfalls like fuzzy queries and sharding interactions, performance benchmarks, caching strategies, and a three-phase historical data migration approach.

AESConfigurationField-Level Encryption
0 likes · 14 min read
Spring Boot Field-Level Data Masking with ShardingSphere-Encrypt: Production Guide
Ray's Galactic Tech
Ray's Galactic Tech
Jul 22, 2026 · Backend Development

From Chaos to Control: A Complete Spring Boot Logging Guide with 8 Production Scenarios

The article analyzes why logging in modern Spring Boot microservices shifts from a simple debug tool to a critical data pipeline, compares Logback and Log4j2 async setups, reveals hidden costs and risks, and walks through eight concrete production scenarios to build a controllable, high‑performance logging architecture.

KubernetesLogbackSpring Boot
0 likes · 25 min read
From Chaos to Control: A Complete Spring Boot Logging Guide with 8 Production Scenarios
Java Tech Workshop
Java Tech Workshop
Jul 22, 2026 · Backend Development

Spring Boot JWT Login Authentication with Seamless Refresh Explained

This article explains how to implement a double‑token JWT authentication scheme in Spring Boot 3.x, using short‑lived AccessTokens for API security and long‑lived RefreshTokens for seamless background renewal, while addressing token revocation, refresh thresholds, blacklist handling, and multi‑device considerations.

AuthenticationBackendJWT
0 likes · 23 min read
Spring Boot JWT Login Authentication with Seamless Refresh Explained
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 22, 2026 · Backend Development

Spring Boot Field Encryption with HashiCorp Vault: Production-Ready Patterns

This article demonstrates how to implement field-level encryption in Spring Boot using HashiCorp Vault's Transit engine, covering client configuration, unified encryption service, JPA and MyBatis integration, blind indexing for query performance, key rotation without downtime, disaster recovery, and defense-in-depth practices like HSM-backed root keys and audit logging.

Blind IndexingField-Level EncryptionHashiCorp Vault
0 likes · 17 min read
Spring Boot Field Encryption with HashiCorp Vault: Production-Ready Patterns
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 22, 2026 · Backend Development

5 Spring Boot Transaction Optimizations That Drastically Boost Performance

This article examines five practical ways to improve Spring Boot 3.5.0 transaction performance—read‑only transactions, explicit propagation settings, correctly sized HikariCP pools, JDBC prepared‑statement caching, and Hibernate batch writes—showing the underlying overhead and providing concrete code and configuration examples.

HikariCPJPAPerformance
0 likes · 13 min read
5 Spring Boot Transaction Optimizations That Drastically Boost Performance
The Dominant Programmer
The Dominant Programmer
Jul 21, 2026 · Backend Development

Practical Guide to Applying Domain‑Driven Design in Spring Boot Microservices

This guide explains Domain‑Driven Design (DDD) and shows how to structure Spring Boot microservices by organizing code around business domains, detailing strategic and tactical concepts, package layouts, layer responsibilities, cross‑domain communication, comparisons with traditional layering, evolution steps, and common FAQs.

DDDDomain-Driven DesignJava
0 likes · 19 min read
Practical Guide to Applying Domain‑Driven Design in Spring Boot Microservices
Ray's Galactic Tech
Ray's Galactic Tech
Jul 21, 2026 · Backend Development

AI Customer Service at Millions Scale: Chat API to Function Calling (SpringBoot)

The article details how a Spring Boot‑based intelligent customer service evolves from a simple chat endpoint to a robust Function Calling architecture, addressing challenges such as real‑time data access, permission checks, idempotency, error handling, token management, and scaling to tens of millions of daily conversations.

AI Customer ServiceFunction CallingSpring AI
0 likes · 27 min read
AI Customer Service at Millions Scale: Chat API to Function Calling (SpringBoot)
Ray's Galactic Tech
Ray's Galactic Tech
Jul 21, 2026 · Backend Development

14 Painful Spring Boot Cache Pitfalls and How to Build a High‑Availability Architecture

This article walks through 14 real‑world failure scenarios of Spring Boot distributed caching, explains why high cache hit rates are misleading, and provides concrete analysis, code samples, and step‑by‑step recommendations for designing a resilient cache layer that isolates faults, handles hot keys, and ensures data consistency across Redis, local caches, and databases.

Cache invalidationKubernetesPerformance
0 likes · 37 min read
14 Painful Spring Boot Cache Pitfalls and How to Build a High‑Availability Architecture
CodeSmart Hoops
CodeSmart Hoops
Jul 21, 2026 · Backend Development

Hands‑On Unit Tests for Spring Boot Auto‑Configuration (Full Deep Dive)

This article provides a step‑by‑step guide to testing Spring Boot 3.x auto‑configuration with JUnit 5 and ApplicationContextRunner, covering SpringFactoriesLoader loading, conditional annotation filtering, user‑defined bean overrides, exclusion mechanisms, and the new .imports file format, plus Maven and IDE run instructions.

ApplicationContextRunnerAuto-configurationConditionalOnMissingBean
0 likes · 13 min read
Hands‑On Unit Tests for Spring Boot Auto‑Configuration (Full Deep Dive)
Black & White Path
Black & White Path
Jul 21, 2026 · Information Security

Fastjson RCE Vulnerability Deep Dive with Exploit POC

Security researchers disclosed a remote code execution flaw in fastjson 1.2.66‑1.2.83 that bypasses autoType, exploits @JSONType with Spring Boot’s LaunchedURLClassLoader, and works on JDK 8, providing detailed payloads, proof‑of‑concept scripts, detection tools, and mitigation recommendations.

DetectionFastjsonJSON
0 likes · 9 min read
Fastjson RCE Vulnerability Deep Dive with Exploit POC
Su San Talks Tech
Su San Talks Tech
Jul 20, 2026 · Backend Development

What’s New in Jackson 3? A Complete Migration Guide

This article explains the major breaking changes introduced in Jackson 3—including the JDK 17 baseline, package and groupId renames, immutable JsonMapper, unchecked exceptions, default configuration shifts, performance tweaks, and module consolidation—while providing step‑by‑step migration advice and a quick‑reference table for developers upgrading from Jackson 2.

JSONJacksonJava
0 likes · 16 min read
What’s New in Jackson 3? A Complete Migration Guide
IT Services Circle
IT Services Circle
Jul 20, 2026 · Backend Development

Why Spring Is Dropping Feign: A Deep Dive into @HttpExchange vs Feign

This article analyzes why Spring Framework introduced the native @HttpExchange HTTP client to replace OpenFeign, comparing their architectures, dependencies, proxy mechanisms, performance benchmarks, and offering migration guidance for developers deciding between the two declarative HTTP solutions.

FeignHTTP ClientPerformance
0 likes · 14 min read
Why Spring Is Dropping Feign: A Deep Dive into @HttpExchange vs Feign
Java Tech Workshop
Java Tech Workshop
Jul 20, 2026 · Backend Development

Spring Boot 4’s Underrated Feature: Spring Data AOT Explained

Spring Data AOT in Spring Boot 4 moves all repository parsing, reflection and query generation to compile time, dramatically cutting startup time, reducing memory and Metaspace usage, enabling compile‑time SQL validation, simplifying GraalVM native‑image configuration, and providing measurable performance gains backed by real‑world benchmarks.

AOTGraalVMJava
0 likes · 17 min read
Spring Boot 4’s Underrated Feature: Spring Data AOT Explained
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 20, 2026 · Backend Development

Spring Boot Logging Governance: Structured JSON, Dynamic Levels & TraceId Propagation

This article details a production-grade logging system for Spring Boot microservices covering structured JSON output, MDC-based TraceId propagation across async threads and RPC calls, dynamic log level updates via Actuator or config centers, sensitive data masking, and disk protection strategies with async appenders and containerized log collection.

Dynamic Log LevelLogbackMDC
0 likes · 21 min read
Spring Boot Logging Governance: Structured JSON, Dynamic Levels & TraceId Propagation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 19, 2026 · Backend Development

8 Java File‑Writing Techniques for Large Files, High Concurrency, and Cross‑Platform Scenarios

This article walks through eight Java file‑writing approaches—from the modern Files.writeString() API to low‑level FileChannel and asynchronous channels—detailing their parameters, performance characteristics, and ideal use cases such as large files, high‑throughput logging, and cross‑platform line handling.

JavaNIOPerformance
0 likes · 10 min read
8 Java File‑Writing Techniques for Large Files, High Concurrency, and Cross‑Platform Scenarios
Cloud Architecture
Cloud Architecture
Jul 18, 2026 · Backend Development

RabbitMQ Idempotent Consumption: Keeping Duplicate Processing Within Business Limits

The article explains why RabbitMQ provides at‑least‑once delivery, how duplicate consumption arises in publish‑subscribe scenarios, and presents a step‑by‑step design—including deduplication keys, a deduplication table, transactional writes, proper ACK ordering, and a checklist of common pitfalls—to ensure idempotent processing stays within acceptable business tolerances.

Database TransactionJavaRabbitMQ
0 likes · 20 min read
RabbitMQ Idempotent Consumption: Keeping Duplicate Processing Within Business Limits
Java Tech Workshop
Java Tech Workshop
Jul 18, 2026 · Backend Development

Spring Boot 4.0 + gRPC: Minimal Integration in 4 Steps, Faster Than REST

This tutorial shows how to integrate gRPC with Spring Boot 4.0 using the grpc‑spring‑boot‑starter in just four concise steps, covering a side‑by‑side comparison with REST, Maven setup, protobuf contract definition, server implementation, and client invocation with streaming support.

JavaProtobufSpring Boot
0 likes · 14 min read
Spring Boot 4.0 + gRPC: Minimal Integration in 4 Steps, Faster Than REST
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 18, 2026 · Backend Development

One Annotation to Elegantly Bind Custom Objects in Spring Boot

This article demonstrates three ways to bind a custom Author object from a single comma‑separated string in Spring Boot 3.5.0 using a custom ConversionService, a PropertyEditor, and the @ConfigurationPropertiesBinding annotation, complete with code samples and resulting output.

ConfigurationPropertiesConfigurationPropertiesBindingConversionService
0 likes · 6 min read
One Annotation to Elegantly Bind Custom Objects in Spring Boot
Linyb Geek Road
Linyb Geek Road
Jul 18, 2026 · Cloud Native

How to Shrink Spring Boot Docker Images with JLink

This guide explains how to use JLink together with jdeps and a multi‑stage Docker build to create a minimal custom Java runtime, reducing Spring Boot Docker image size from over 200 MB to under 50 MB while improving startup speed and security.

DockerJLinkJava
0 likes · 10 min read
How to Shrink Spring Boot Docker Images with JLink
Linyb Geek Road
Linyb Geek Road
Jul 18, 2026 · Cloud Native

How to Accelerate Spring Boot Startup on Kubernetes Using CRaC

This guide walks through enabling CRaC in a Spring Boot application, building a CRaC‑compatible Docker image, creating a checkpoint job in Kubernetes, restoring the snapshot at pod start, and comparing the startup speed with GraalVM native compilation.

Azul ZuluCRaCDocker
0 likes · 11 min read
How to Accelerate Spring Boot Startup on Kubernetes Using CRaC
CodeNotes
CodeNotes
Jul 16, 2026 · Backend Development

Proper Enum Handling Across Query Params, Request Body, and Database in Spring Boot

The article demonstrates how Spring Boot can automatically convert strings to enums for query and path parameters, introduces a unified StringToEnumConverterFactory, configures Jackson for case‑insensitive enum deserialization in @RequestBody, and uses a JPA AttributeConverter to persist enums, removing repetitive manual conversion code.

ConverterFactoryEnumJPA
0 likes · 8 min read
Proper Enum Handling Across Query Params, Request Body, and Database in Spring Boot
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 16, 2026 · Backend Development

CDC + Outbox Pattern: Production-Grade Cross-Database Sync with Spring Boot & Kafka

This article details a production-ready cross-database synchronization architecture using CDC and Outbox pattern with Spring Boot, Debezium, and Kafka, covering schema design, connector configuration, transaction boundaries, ordering guarantees, idempotent consumption, dead-letter queues, and monitoring strategies.

CDCCross-Database SyncData Consistency
0 likes · 20 min read
CDC + Outbox Pattern: Production-Grade Cross-Database Sync with Spring Boot & Kafka
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 16, 2026 · Backend Development

Manipulate Any Complex JSON with a Single JSONata Expression in Spring Boot

This article introduces JSONata4Java, shows how to add the library to a Spring Boot 3.5.0 project, and demonstrates a wide range of JSONata expressions—including property access, predicates, functions, object construction, grouping, aggregation, and sorting—through concrete code examples and expected outputs.

JSON transformationJSONataJSONata4Java
0 likes · 11 min read
Manipulate Any Complex JSON with a Single JSONata Expression in Spring Boot
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 15, 2026 · Backend Development

HikariCP Deep Tuning: Leak Detection, Parameter Optimization & Slow SQL Defense in Spring Boot

A production incident where core API latency spiked from 50ms to 30s+ due to connection leaks and exhausted MySQL max_connections is dissected, revealing how default HikariCP settings become time bombs under load and how to build a defense system with leak detection, parameter tuning, slow SQL interception, and kill mechanisms.

HikariCPMySQLProduction Troubleshooting
0 likes · 18 min read
HikariCP Deep Tuning: Leak Detection, Parameter Optimization & Slow SQL Defense in Spring Boot
CodeNotes
CodeNotes
Jul 14, 2026 · Backend Development

4 Common @RequestBody Pitfalls That Can Crash Your Spring Apps

The article explains how @RequestBody binds JSON via HttpMessageConverter using Jackson, then details four frequent issues—empty bodies, extra or unknown fields, date‑format mismatches, and deep nesting causing circular serialization—and provides concrete code‑level solutions such as validation, global exception handling, Jackson configuration, and DTO usage.

DTOJacksonJavaTimeModule
0 likes · 10 min read
4 Common @RequestBody Pitfalls That Can Crash Your Spring Apps
LuTiao Programming
LuTiao Programming
Jul 14, 2026 · Backend Development

Stop Writing Ad‑hoc Reports for Your Boss: Build a One‑sentence Data Query Assistant with GPT + Spring Boot

The article explains why Java developers waste time on repetitive ad‑hoc reports, proposes using GPT as a natural‑language front‑end to call secure Spring Boot metric tools, and walks through a step‑by‑step implementation that includes tool definition, permission checks, audit logging, and safe prompt engineering.

AIData QueryGPT
0 likes · 16 min read
Stop Writing Ad‑hoc Reports for Your Boss: Build a One‑sentence Data Query Assistant with GPT + Spring Boot
The Dominant Programmer
The Dominant Programmer
Jul 14, 2026 · Backend Development

How to Fix Spring AI Ollama Timeout: Full Guide to Configuring OkHttp Read Timeout

The article explains why Spring AI Ollama requests time out after 10 seconds despite server‑side timeout settings, analyzes the independent OkHttp read timeout and other ineffective configurations, and provides a step‑by‑step solution that creates a custom OllamaApi bean with a longer OkHttp read timeout to permanently fix the issue.

ConfigurationJavaOllama
0 likes · 10 min read
How to Fix Spring AI Ollama Timeout: Full Guide to Configuring OkHttp Read Timeout
Coder Trainee
Coder Trainee
Jul 14, 2026 · Backend Development

Top 10 Must‑Know Spring Interview Questions for Java Developers

This article walks through the ten most frequently asked Spring interview topics—including IoC/DI concepts, bean lifecycle, AOP mechanics, circular‑dependency resolution, @Transactional behavior, Spring Boot startup steps, auto‑configuration, @Autowired vs @Resource, bean scopes, and the differences between servlet filters and Spring interceptors—providing concrete code examples and key points that can earn interviewers' extra credit.

AOPBean ScopeDependency Injection
0 likes · 12 min read
Top 10 Must‑Know Spring Interview Questions for Java Developers
Cloud Architecture
Cloud Architecture
Jul 14, 2026 · Backend Development

Building a Billion‑Message, Millisecond‑Scale Private Messaging System with Spring Boot, RabbitMQ & Redis

This article presents a production‑grade design for a social private‑messaging system that handles billions of messages with millisecond latency, detailing how MySQL serves as the message fact store, RabbitMQ provides low‑latency distribution, Redis manages online state and indexes, and Outbox plus idempotent consumption ensure reliability and ordering.

OutboxRabbitMQRedis
0 likes · 35 min read
Building a Billion‑Message, Millisecond‑Scale Private Messaging System with Spring Boot, RabbitMQ & Redis
Ray's Galactic Tech
Ray's Galactic Tech
Jul 14, 2026 · Cloud Native

Spring Boot + Netty MQTT Gateway for Million Connections & Millisecond Push

To support millions of persistent MQTT connections with sub‑millisecond latency, the article walks through a Spring Boot + Netty cloud‑native gateway design that separates connection, event, state and governance planes, details async authentication, back‑pressure handling, command state machines, and loss‑less Kubernetes roll‑outs.

High ConcurrencyKafkaKubernetes
0 likes · 38 min read
Spring Boot + Netty MQTT Gateway for Million Connections & Millisecond Push
java1234
java1234
Jul 14, 2026 · Backend Development

Quarkus: Java Framework Up to 5× Faster Than Spring Boot, Uses Half the Memory

Quarkus, Red Hat's cloud‑native Java framework, achieves dramatically faster startup (0.3‑1 s vs 2‑5 s) and roughly half the memory usage (150‑200 MB vs 300‑500 MB) by moving many optimizations to compile time, and offers a Spring‑like developer experience with extensions, reactive support, and hot‑reload tooling.

Dev ModeJavaKubernetes
0 likes · 9 min read
Quarkus: Java Framework Up to 5× Faster Than Spring Boot, Uses Half the Memory
Java Tech Workshop
Java Tech Workshop
Jul 14, 2026 · Backend Development

Build a Smart Vending Cabinet with Spring Boot and WeChat Pay: Scan‑to‑Open and Auto‑Deduction

This article details a complete Spring Boot implementation of a smart vending cabinet that uses WeChat QR‑code scanning to open doors, reports purchased items, and automatically deducts payment via WeChat's no‑password delegated‑deduction API, covering configuration, database design, code examples, and error‑handling strategies.

Auto DeductionBackend IntegrationQR code
0 likes · 22 min read
Build a Smart Vending Cabinet with Spring Boot and WeChat Pay: Scan‑to‑Open and Auto‑Deduction
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 14, 2026 · Backend Development

ORM Performance Tuning in Spring Boot: Fixing N+1 Queries, Dynamic SQL Optimization & Fetch Strategies

This guide covers root-cause analysis of N+1 queries in JPA and MyBatis, APM-based detection methods, fetch strategy optimization using EntityGraph and JOIN FETCH, MyBatis resultMap refactoring, lazy-loading boundaries, second-level cache trade-offs, keyset pagination, and production-grade SQL interceptors with code review checklists.

Fetch StrategyJPAMyBatis
0 likes · 21 min read
ORM Performance Tuning in Spring Boot: Fixing N+1 Queries, Dynamic SQL Optimization & Fetch Strategies
Niu Liu
Niu Liu
Jul 14, 2026 · Artificial Intelligence

SmartCall: Building an AI‑Powered Voice Customer Service Center

SmartCall is an open‑source AI‑driven call‑center platform that combines large language models, Asterisk telephony, IVR orchestration, ASR/TTS, and a knowledge‑base agent to deliver scalable, emotion‑aware voice customer service across industries.

AIAsteriskIVR
0 likes · 13 min read
SmartCall: Building an AI‑Powered Voice Customer Service Center
Cloud Architecture
Cloud Architecture
Jul 13, 2026 · Backend Development

Production-Grade Payment System Guide: Java Implementation for Alipay & WeChat All-Channel Integration

This article explains why a payment system is more than a simple SDK integration, presents a four‑layer architecture (access, state, event, governance), details state machines, idempotent callbacks, outbox pattern, reconciliation, high‑concurrency handling, observability, security, and provides Java code examples for integrating Alipay and WeChat across all channels.

AlipayHigh ConcurrencyJava
0 likes · 29 min read
Production-Grade Payment System Guide: Java Implementation for Alipay & WeChat All-Channel Integration
SpringMeng
SpringMeng
Jul 13, 2026 · Backend Development

Add AI to a Spring Boot Project in a Few Lines with Spring AI 2.0

This guide walks through integrating Spring AI 2.0 into a Spring Boot application, covering Maven dependency setup, model configuration, ChatClient usage for synchronous and streaming calls, Redis‑backed chat memory for multi‑turn conversations, and testing with Postman and a UI component.

AIJavaOpenAI
0 likes · 14 min read
Add AI to a Spring Boot Project in a Few Lines with Spring AI 2.0
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 13, 2026 · Backend Development

CQRS & Event Sourcing in Spring Boot: Read/Write Separation, Snapshots & Compensation

This guide details implementing CQRS and Event Sourcing in Spring Boot, covering command/query separation, event bus choices (Outbox pattern, Kafka), projection idempotency, state snapshots for performance, Saga-based compensation for distributed transactions, and practical tuning tips for production workloads.

CQRSEvent BusEvent Sourcing
0 likes · 14 min read
CQRS & Event Sourcing in Spring Boot: Read/Write Separation, Snapshots & Compensation
Xike
Xike
Jul 13, 2026 · Backend Development

Getting Started with a Hands‑On Microservices Learning Project

This article introduces a runnable microservices learning project built with three independent Spring Boot applications (gateway, order, stock) and middleware such as Nacos, MySQL, Redis, RocketMQ, and Seata, guiding readers through cloning the repository, starting the environment with Docker Compose, and verifying the end‑to‑end product‑order‑stock flow.

Docker ComposeNacosRedis
0 likes · 12 min read
Getting Started with a Hands‑On Microservices Learning Project
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 13, 2026 · Backend Development

5 Elegant Spring Boot Gray Release Techniques You Can Implement Immediately

This article walks through five practical ways to implement gray (canary) releases in Spring Boot 3.5.0, covering gateway‑based weight and header routing, programmatic route configuration, a custom reactive load‑balancer, and application‑layer annotations with custom HandlerMapping, each illustrated with concrete code samples.

Custom Load BalancerGray ReleaseJava
0 likes · 12 min read
5 Elegant Spring Boot Gray Release Techniques You Can Implement Immediately
LuTiao Programming
LuTiao Programming
Jul 12, 2026 · Backend Development

Stop Using GPT Just to Write Code—Turn Your Spring Boot Service into an AI‑Callable Tool

Java developers should move beyond using GPT for code generation and instead expose existing Spring Boot services as secure, auditable AI tools, covering permission checks, data desensitization, tool descriptions, system prompts, and comprehensive logging to safely integrate GPT into business workflows.

AI Tool CallingAudit LoggingGPT
0 likes · 17 min read
Stop Using GPT Just to Write Code—Turn Your Spring Boot Service into an AI‑Callable Tool
Raymond Ops
Raymond Ops
Jul 11, 2026 · Databases

How to Diagnose and Optimize Production Database Connection Pool Exhaustion

This article walks through the principles of database connection pools, common causes of pool exhaustion such as leaks, mis‑configuration, slow SQL and DB limits, and provides a step‑by‑step methodology with monitoring, thread‑stack analysis, and concrete configuration and SQL optimizations to restore stability.

HikariCPJavaPerformance Monitoring
0 likes · 29 min read
How to Diagnose and Optimize Production Database Connection Pool Exhaustion
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 11, 2026 · Backend Development

Boost Performance in Spring Boot with a Single Batch‑Processing Annotation

The article demonstrates how to create a custom @BatchProcess annotation combined with AOP to aggregate high‑frequency requests into batches, persist metadata in Redis, and process them efficiently, thereby reducing connection, I/O, and CPU overhead in distributed, high‑concurrency Spring Boot 3.5.0 applications.

AOPBatch ProcessingCustom Annotation
0 likes · 14 min read
Boost Performance in Spring Boot with a Single Batch‑Processing Annotation
LuTiao Programming
LuTiao Programming
Jul 10, 2026 · Backend Development

Using Codex to Automate Full Java Spring Boot Tasks, Not Just Generate Code

The article explains how Java developers can treat Codex as an engineering agent that executes complete, well‑scoped Spring Boot tasks—by defining project rules, isolating work in a Git worktree, crafting detailed prompts with acceptance criteria, and reviewing changes in stages—to save repetitive development effort.

AGENTS.mdAI codingCodex
0 likes · 18 min read
Using Codex to Automate Full Java Spring Boot Tasks, Not Just Generate Code
Yumin Fish Harvest
Yumin Fish Harvest
Jul 10, 2026 · Backend Development

How to Layer Code with DDD: Four‑Layer Architecture, DIP & Hexagonal

This article explains why and how to separate a system into four DDD layers—User Interface, Application, Domain, and Infrastructure—illustrates the benefits of clear responsibilities, demonstrates dependency inversion and hexagonal architecture with concrete Spring Boot examples, and warns of common pitfalls.

DDDSpring Bootbackend design
0 likes · 10 min read
How to Layer Code with DDD: Four‑Layer Architecture, DIP & Hexagonal
Yumin Fish Harvest
Yumin Fish Harvest
Jul 10, 2026 · Backend Development

When One Aggregate Isn’t Enough: Using Domain Services and Domain Events

The article explains why cross‑aggregate business logic belongs in domain services, how domain events capture immutable business facts, and demonstrates practical Spring Boot implementations—including in‑process publishing, message‑queue integration, and the Outbox pattern—while highlighting pitfalls and verification techniques.

Domain EventDomain ServiceDomain-Driven Design
0 likes · 10 min read
When One Aggregate Isn’t Enough: Using Domain Services and Domain Events
Java Tech Enthusiast
Java Tech Enthusiast
Jul 10, 2026 · Artificial Intelligence

Add AI to Your Java Project in Just a Few Lines with Spring AI 2.0

Spring AI 2.0 lets Java developers integrate large‑language‑model capabilities with minimal code by adding a starter, configuring model parameters, injecting a ChatClient bean, and optionally enabling Redis‑backed chat memory for multi‑turn conversations, all demonstrated with runnable examples and screenshots.

AI IntegrationChat MemoryChatGPT
0 likes · 13 min read
Add AI to Your Java Project in Just a Few Lines with Spring AI 2.0
Java Architect Handbook
Java Architect Handbook
Jul 10, 2026 · Artificial Intelligence

Spring AI 2.0 vs Spring AI Alibaba: Which One Should You Choose?

This article compares Spring AI 2.0 and Spring AI Alibaba, detailing their design philosophies, core architectures, recent upgrades, code examples, strengths, weaknesses, and ideal use‑cases, and explains how the two frameworks can be combined for enterprise AI solutions.

AI IntegrationGraph engineJava
0 likes · 19 min read
Spring AI 2.0 vs Spring AI Alibaba: Which One Should You Choose?
Three Knives
Three Knives
Jul 10, 2026 · Cloud Native

Java Cloud‑Native’s Emperor’s New Clothes: How Long Have We Been Hijacked by Upgrades?

The article critically examines the recent Java ecosystem upgrades—Jakarta namespace changes, Spring Boot 3.0’s Java 17 requirement, GraalVM Native Image hype, and Virtual Threads—showing that the promised benefits are minimal while migration costs and compatibility risks are substantial, and it highlights Feat as a pragmatic alternative.

Feat frameworkGraalVM Native ImageJDK 17
0 likes · 9 min read
Java Cloud‑Native’s Emperor’s New Clothes: How Long Have We Been Hijacked by Upgrades?
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 10, 2026 · Backend Development

How We Replaced Hardcoded Routing with LiteFlow for Dynamic Orchestration & Hot Reloads

This article details replacing hardcoded business routing with LiteFlow in a Spring Boot production system, covering component design, EL-based flow orchestration, Nacos-powered hot rule updates, thread-pool tuning, exception isolation, observability, and rule versioning — with concrete code, config, and lessons learned.

Dynamic OrchestrationHot ReloadLiteFlow
0 likes · 19 min read
How We Replaced Hardcoded Routing with LiteFlow for Dynamic Orchestration & Hot Reloads
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 10, 2026 · Backend Development

Goodbye ResponseEntity: 4 Declarative Patterns for Cleaner Spring Boot APIs

The article shows how overusing ResponseEntity in Spring Boot controllers makes code noisy and mixes business logic with HTTP handling, and introduces four declarative alternatives—@ResponseStatus on methods or exceptions, direct object returns, global ProblemDetail via @ControllerAdvice, and a ResponseBodyAdvice wrapper—to produce cleaner, more testable APIs.

API DesignControllerAdviceProblemDetail
0 likes · 16 min read
Goodbye ResponseEntity: 4 Declarative Patterns for Cleaner Spring Boot APIs
The Dominant Programmer
The Dominant Programmer
Jul 9, 2026 · Backend Development

Full Spring Boot Example: Integrating Spring AI with Local Ollama for Fast AI Chat

This tutorial walks through installing Ollama, configuring JDK 17, adding Spring AI dependencies, setting up application.yml, implementing a chat controller, creating launch scripts, testing the endpoints, and comparing local Ollama with Alibaba Cloud Bailei, highlighting cost‑free, private, offline AI chat in a Spring Boot project.

JavaLocal LLMOllama
0 likes · 16 min read
Full Spring Boot Example: Integrating Spring AI with Local Ollama for Fast AI Chat
Cloud Architecture
Cloud Architecture
Jul 9, 2026 · Backend Development

How Spring Boot, Kafka, Redis, and MongoDB Power Real‑Time GPS Tracking for Millions of Vehicles

This article walks through a production‑grade architecture that uses Spring Boot, Kafka, Redis, and MongoDB to ingest, buffer, order, and store high‑frequency vehicle GPS data from hundreds of thousands of devices while guaranteeing low latency, scalability, fault‑tolerance, and accurate replay capabilities.

High ConcurrencyKafkaMongoDB
0 likes · 38 min read
How Spring Boot, Kafka, Redis, and MongoDB Power Real‑Time GPS Tracking for Millions of Vehicles
Java Tech Enthusiast
Java Tech Enthusiast
Jul 9, 2026 · Backend Development

Why AI Coding Tools Are Racing to Task Orchestration—and What It Means for Java Developers

The latest updates to Codex, Claude Code, Cursor and ZCode show AI coding tools shifting from single‑prompt chat to distributed task orchestration, prompting Java teams to adopt persistent job queues, state machines, worktree isolation, OpenTelemetry tracing and fine‑grained retry policies to manage AI‑driven development pipelines.

AI codingJavaJobRunr
0 likes · 20 min read
Why AI Coding Tools Are Racing to Task Orchestration—and What It Means for Java Developers
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 9, 2026 · Backend Development

5 Tips to Keep Your Spring Service Clean and High‑Quality

This article presents five practical patterns—single‑use‑case classes, a lightweight Facade, self‑validating input records, domain‑event side‑effects, and ports‑and‑adapters—that transform monolithic Spring @Service classes into modular, readable, testable, and transaction‑safe components, improving maintainability and extensibility.

Domain EventsFacadeService design
0 likes · 15 min read
5 Tips to Keep Your Spring Service Clean and High‑Quality
Java Tech Workshop
Java Tech Workshop
Jul 9, 2026 · Backend Development

Build a Custom Spring Boot Starter to Package Common Utilities for One-Click Integration

The article walks through creating a custom Spring Boot starter that bundles common utilities such as unified response wrapping, global exception handling, type converters, thread pools, login context, and data masking, showing the standard two‑module structure, Maven setup, configuration properties, conditional annotations, and usage in a business project.

Auto-configurationBest PracticesJava
0 likes · 15 min read
Build a Custom Spring Boot Starter to Package Common Utilities for One-Click Integration
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 8, 2026 · Backend Development

How to Efficiently Upload GB‑Scale Files with Spring Boot

The article explains why traditional single‑file uploads fail for files over 100 MB, introduces a chunked upload architecture, provides complete Spring Boot controller code for initializing, uploading, merging chunks, shows high‑performance merging with RandomAccessFile, front‑end chunk handling with progress, resumable checks, HMAC verification, and optional MinIO storage.

BackendJavaLarge Files
0 likes · 11 min read
How to Efficiently Upload GB‑Scale Files with Spring Boot
CodeNotes
CodeNotes
Jul 8, 2026 · Backend Development

Filter, Interceptor or AOP in Spring Boot – How to Choose the Right One

Spring Boot offers three mechanisms—Filter, Interceptor, and AOP—to intercept requests, each with distinct execution order, capabilities, and suitable scenarios; this article explains their differences, shows code examples, provides a comparison table, decision tree, and real‑world use cases to guide proper selection.

AOPInterceptorRequest Handling
0 likes · 12 min read
Filter, Interceptor or AOP in Spring Boot – How to Choose the Right One
LuTiao Programming
LuTiao Programming
Jul 7, 2026 · Artificial Intelligence

Suddenly All Major AI Coders Shift to Task Orchestration—Java Finally Gets Its Main Stage

Recent updates to Codex, Claude Code, Cursor, and ZCode show a rapid move from simple code‑generation chat windows to full‑featured distributed task orchestration, and the Java ecosystem—through Spring Boot, JobRunr, and OpenTelemetry—now provides the essential backend platform to manage these AI‑driven development pipelines.

AI codingJavaJobRunr
0 likes · 21 min read
Suddenly All Major AI Coders Shift to Task Orchestration—Java Finally Gets Its Main Stage
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 7, 2026 · Frontend Development

Free Claude Code + Pencil: Auto‑Generate UI and Seamlessly Convert Between Design and Code

This guide shows how to install the Pencil VS Code extension, configure Claude Code with Spring Boot 3.5.0, use AI prompts to design a bilingual enterprise login UI, export the design as a .pen file, and automatically generate Vue 3 + ElementPlus code, illustrating the full design‑to‑code and code‑to‑design workflow.

Claude CodeDesign‑code conversionElementPlus
0 likes · 8 min read
Free Claude Code + Pencil: Auto‑Generate UI and Seamlessly Convert Between Design and Code
Java Architect Handbook
Java Architect Handbook
Jul 7, 2026 · Backend Development

logback vs log4j2: Up to Double the Performance—Why It Matters

A benchmark shows log4j2 can be roughly twice as fast as logback, especially when thread count approaches twice the CPU cores, while logging method names and line numbers significantly degrade throughput; the article explains the underlying reasons, testing setup, and provides practical configuration and usage guidelines for both frameworks in Java and Spring projects.

Java loggingLogbackSpring Boot
0 likes · 16 min read
logback vs log4j2: Up to Double the Performance—Why It Matters
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 7, 2026 · Backend Development

No AOP? Achieve Zero‑Intrusion Parameter Auto‑Filling in Spring Boot

This article demonstrates how to leverage Spring Boot's type‑conversion and AnnotationFormatterFactory to implement elegant, zero‑intrusion parameter auto‑filling, covering a basic string‑to‑object conversion example and a remote‑service lookup scenario with complete code and test results.

AnnotationFormatterFactoryJavaParameter Auto-Fill
0 likes · 7 min read
No AOP? Achieve Zero‑Intrusion Parameter Auto‑Filling in Spring Boot
Cloud Architecture
Cloud Architecture
Jul 6, 2026 · Backend Development

Spring Boot Template Engine Mix: Designing a Multi‑Engine Coexistence Architecture for Production

The article explains why running multiple template engines in a Spring Boot application becomes an operational challenge, outlines a four‑layer architecture and routing strategies, provides concrete code for a custom ViewResolver, configuration, observability, deployment, testing and migration steps, and shows how to govern the process safely in production.

KubernetesSpring BootThymeleaf
0 likes · 39 min read
Spring Boot Template Engine Mix: Designing a Multi‑Engine Coexistence Architecture for Production
Xike
Xike
Jul 6, 2026 · Backend Development

Seeing the Full Request Journey: Completing Spring Boot Trace Integration

This guide shows how to extend an existing Prometheus‑Grafana‑Loki stack with SkyWalking to capture full request traces in Spring Boot, explaining trace fundamentals, automatic instrumentation, manual spans, log‑trace correlation, cross‑service topology, and production considerations.

LogsSkyWalkingSpring Boot
0 likes · 17 min read
Seeing the Full Request Journey: Completing Spring Boot Trace Integration
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 6, 2026 · Backend Development

Enterprise Spring Boot Starter Pitfall Guide: Auto-Configuration, Config Binding & Production Standards

A comprehensive guide to building production-ready Spring Boot Starters covering auto-configuration registration via AutoConfiguration.imports, conditional annotations (@ConditionalOnClass, @ConditionalOnMissingBean, @ConditionalOnProperty), type-safe configuration binding with @ConfigurationProperties and validation, IDE metadata generation, lightweight health indicators, version alignment with Spring Boot, testing with ApplicationContextRunner, and dependency hygiene using optional/exclusions.

ApplicationContextRunnerAutoConfigurationConditional Assembly
0 likes · 16 min read
Enterprise Spring Boot Starter Pitfall Guide: Auto-Configuration, Config Binding & Production Standards
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 6, 2026 · Backend Development

Design and Implement a Production‑Ready Spring Boot Webhook Callback System

This article walks through building a production‑grade webhook system with Spring Boot 3.5, covering webhook fundamentals, a decoupled event‑driven architecture, database schema, entity and repository definitions, a dispatcher service with HMAC signing, exponential‑backoff retry, asynchronous execution, and dead‑letter handling.

HMACJavaRetry
0 likes · 15 min read
Design and Implement a Production‑Ready Spring Boot Webhook Callback System
The Dominant Programmer
The Dominant Programmer
Jul 5, 2026 · Backend Development

Full Hands‑On Guide: Extending Spring AI Workflow Engine with Human‑in‑the‑Loop Approval

This article walks through adding a zero‑dependency human‑approval node to a Spring AI YAML‑DSL workflow engine, detailing the problem of critical business decisions, the JDK‑based pause‑and‑resume architecture, step‑by‑step code changes, best‑practice recommendations, and real‑world use cases such as large‑payment and content‑review approvals.

Java concurrencySpring AISpring Boot
0 likes · 24 min read
Full Hands‑On Guide: Extending Spring AI Workflow Engine with Human‑in‑the‑Loop Approval