Tagged articles

Spring Boot

4358 articles · Page 4 of 44
samdeepthink
samdeepthink
May 22, 2026 · Backend Development

Building a Payment System for Hundreds of Millions of Users – Part 1 Intro

An incident where a forged free‑card callback corrupted order status reveals the need for daily cross‑system reconciliation, and the article outlines a 20‑part series that details the architecture, design decisions, multi‑channel handling, risk control, and implementation of a production‑grade payment system serving over a hundred million users.

Distributed ArchitectureReconciliationSpring Boot
0 likes · 17 min read
Building a Payment System for Hundreds of Millions of Users – Part 1 Intro
Coder Trainee
Coder Trainee
May 22, 2026 · Cloud Native

Spring Cloud Microservices Hands‑On (Revised Part 10): Full Deployment with Docker Compose

After building the order, stock, and point services along with Nacos, Seata, Sentinel, Prometheus, Grafana, and SkyWalking, this guide shows how to package all components into Docker images and use a single Docker Compose command to start the entire microservice system with one click, while addressing common pitfalls.

DockerDocker ComposeSpring Boot
0 likes · 13 min read
Spring Cloud Microservices Hands‑On (Revised Part 10): Full Deployment with Docker Compose
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 22, 2026 · Backend Development

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

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

Real‑time communicationSocket.IOSpring Boot
0 likes · 9 min read
Why Hand‑Write WebSocket? Use Spring Boot + Netty‑SocketIO for Simpler Real‑Time Communication
Java Architect Essentials
Java Architect Essentials
May 21, 2026 · Backend Development

Building a High‑Performance SpringBoot Log Analyzer for Slow SQL Detection from Scratch

Faced with massive MyBatis log files that made manual slow‑SQL hunting impossible, the author designed a SpringBoot‑Vue‑MySQL system that parses logs with multithreaded batch processing, flexible regex templates, real‑time performance monitoring, and virtual‑scroll UI, achieving 55 000 lines/s throughput and over 95% matching accuracy.

MyBatisRegexSpring Boot
0 likes · 11 min read
Building a High‑Performance SpringBoot Log Analyzer for Slow SQL Detection from Scratch
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 21, 2026 · Backend Development

10 Most Valuable Features in Spring Boot Practice

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

BeanFactoryCommandLineRunnerCustom Scope
0 likes · 13 min read
10 Most Valuable Features in Spring Boot Practice
Su San Talks Tech
Su San Talks Tech
May 21, 2026 · Backend Development

Druid vs HikariCP: Which Java Connection Pool Wins?

The article compares Alibaba’s Druid and Spring Boot’s default HikariCP connection pools, explaining how connection pooling works, presenting benchmark results that show HikariCP’s lower latency and higher TPS, detailing HikariCP’s lock‑free ConcurrentBag and bytecode optimizations, and highlighting Druid’s rich monitoring, SQL firewall and leak detection features to help developers choose the right pool for different scenarios.

Connection PoolDruidHikariCP
0 likes · 18 min read
Druid vs HikariCP: Which Java Connection Pool Wins?
Senior Xiao Ying
Senior Xiao Ying
May 20, 2026 · Backend Development

Tired of N+1 Queries? Boost Your Spring Boot GraphQL Performance 40× with DataLoader

This article explains the N+1 query problem in a Spring Boot GraphQL service, demonstrates how DataLoader batches and caches requests to reduce database round‑trips, and provides step‑by‑step integration code, including dependency setup, schema definition, entity mapping, batch loader registration, and best‑practice recommendations.

Batch loadingDataLoaderGraphQL
0 likes · 8 min read
Tired of N+1 Queries? Boost Your Spring Boot GraphQL Performance 40× with DataLoader
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 20, 2026 · Backend Development

10 Essential Spring Boot Utility Classes to Cut Your Code in Half

This article showcases ten built‑in Spring Boot utilities—including version retrieval, system property access, temporary and home directory handling, method introspection, generic type resolution, process ID extraction, property binding, and package path registration—each illustrated with concise code examples that dramatically reduce the need for custom helper classes.

Code SimplificationConfigurationGenericTypeResolver
0 likes · 11 min read
10 Essential Spring Boot Utility Classes to Cut Your Code in Half
Cloud Architecture
Cloud Architecture
May 19, 2026 · Operations

RabbitMQ High‑Availability Cluster: Theory, Architecture, and Production Troubleshooting

This article explains why RabbitMQ failures can cascade through a micro‑service system, details the underlying HA mechanisms such as quorum queues, presents a layered production architecture with concrete Spring Boot code, outlines a step‑by‑step troubleshooting workflow, and shares best‑practice checklists for scaling, Kubernetes deployment, and migration from classic mirrored queues.

High AvailabilityKubernetesQuorum Queue
0 likes · 52 min read
RabbitMQ High‑Availability Cluster: Theory, Architecture, and Production Troubleshooting
Cloud Architecture
Cloud Architecture
May 17, 2026 · Backend Development

Production Design for Order Timeout Closure: RabbitMQ Delay Queues, Idempotent State Machine

This article presents a production‑grade architecture for automatically closing unpaid orders, detailing why simple scheduled tasks are insufficient, outlining high‑risk scenarios, defining five core objectives, comparing implementation options, and providing a complete RabbitMQ TTL + DLX solution with state‑machine idempotency, high‑concurrency handling, observability, and Kubernetes deployment guidance.

Spring Bootdistributed systemshigh concurrency
0 likes · 40 min read
Production Design for Order Timeout Closure: RabbitMQ Delay Queues, Idempotent State Machine
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 17, 2026 · Backend Development

How to Accurately Measure Spring Boot Bean Creation Time for Performance Optimization

This article demonstrates a non‑intrusive, high‑precision method to track each Spring Boot bean's creation time by customizing ApplicationContextFactory, Environment, and BeanFactory, allowing package‑level exclusion and clear console reporting to pinpoint slow‑loading beans during startup.

Spring Bootapplicationcontextfactorybean-creation-time
0 likes · 7 min read
How to Accurately Measure Spring Boot Bean Creation Time for Performance Optimization
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 17, 2026 · Backend Development

8 Must‑Use Spring Boot Code Snippets to Stop Re‑inventing the Wheel

This article presents eight ready‑to‑use Spring Boot 3.5.0 code snippets—including MapStruct converters, embeddable collections, i18n helpers, secure random generators, custom runtime exceptions, type‑safe configuration properties, JPA auditing, and custom validation annotations—each illustrated with concrete examples and runnable code.

Spring Bootconfiguration-propertiescustom-exception
0 likes · 13 min read
8 Must‑Use Spring Boot Code Snippets to Stop Re‑inventing the Wheel
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2026 · Backend Development

14 Advanced Java Collection Tricks to Write Cleaner Code

This article presents fourteen practical Java collection techniques—ranging from creating immutable and empty collections to using computeIfAbsent, Map.merge, Collectors.groupingBy, and EnumMap/EnumSet—each illustrated with concise code snippets and explanations that improve readability, safety, and performance in Spring Boot applications.

CollectionsEnumMapLambda
0 likes · 9 min read
14 Advanced Java Collection Tricks to Write Cleaner Code
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2026 · Backend Development

7 Essential Spring Boot Concepts Every Senior Developer Should Master

The article walks senior developers through seven core Spring Boot 3.5.0 concepts—resilience with Resilience4j, observability via Actuator, distributed transactions using Saga, advanced caching, asynchronous processing, API‑gateway routing, and OAuth2/JWT security—providing concrete code snippets, configuration examples, and visual illustrations for each technique.

API GatewayAsync ProcessingResilience4j
0 likes · 10 min read
7 Essential Spring Boot Concepts Every Senior Developer Should Master
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2026 · Artificial Intelligence

Four CLAUDE.md Rules That Earned 130k GitHub Stars

This article presents four concrete guidelines for writing a CLAUDE.md file that improves Claude Code's behavior, explains the underlying problems with LLMs, details each rule with examples, shows how to install the rules as a plugin or raw file, and provides validation criteria to ensure the guidelines work in practice.

ClaudeGuidelinesLLM
0 likes · 9 min read
Four CLAUDE.md Rules That Earned 130k GitHub Stars
Architect's Guide
Architect's Guide
May 15, 2026 · Backend Development

One‑Line HTTP Requests with OKHttpUtil: A Minimal Java Wrapper

The article introduces OKHttpUtil, a lightweight wrapper around Square’s OkHttp library that enables Java developers to perform HTTP GET, POST, file upload, and download operations with a single line of code, includes Maven setup, Spring Boot integration, fluent API usage, and examples of wrapping external services such as eBay.

API wrapperHTTP clientHTTP request
0 likes · 10 min read
One‑Line HTTP Requests with OKHttpUtil: A Minimal Java Wrapper
Linyb Geek Road
Linyb Geek Road
May 15, 2026 · Backend Development

8 Practical API Idempotency Solutions to Eliminate Duplicate Requests (Pitfall Guide)

The article explains the causes of duplicate requests in distributed systems, defines idempotency, and presents eight concrete implementation strategies—including token mechanisms, unique database indexes, optimistic and pessimistic locks, distributed locks, state machines, request serial numbers, and MQ‑based handling—each with code samples, advantages, drawbacks, and usage guidelines.

API designDatabaseIdempotency
0 likes · 35 min read
8 Practical API Idempotency Solutions to Eliminate Duplicate Requests (Pitfall Guide)
LuTiao Programming
LuTiao Programming
May 14, 2026 · Backend Development

How Claude Code Took Over My Spring Boot Backend and Eliminated Wasted Overtime

After integrating Claude Code into a Spring Boot micro‑service project, the author discovered that most of the previous overtime was spent on repetitive boilerplate—controllers, DTOs, services, tests, and documentation—and that Claude Code can generate, refactor, and test these artifacts in minutes, freeing developers to focus on architecture and business logic.

AI programmingClaude CodeSpring Boot
0 likes · 11 min read
How Claude Code Took Over My Spring Boot Backend and Eliminated Wasted Overtime
Java Architect Essentials
Java Architect Essentials
May 13, 2026 · Backend Development

Boost CRUD Efficiency with MyBatisPlus Pro: A BaseController Guide

This article introduces MyBatisPlus Pro, walks through adding the MyBatisPlus dependency, creating a utility class, defining a generic BaseController with full CRUD, pagination support, and shows how to extend it in specific controllers, providing a ready‑to‑use RESTful API template.

BaseControllerCRUDMybatisPlus
0 likes · 9 min read
Boost CRUD Efficiency with MyBatisPlus Pro: A BaseController Guide
Cloud Architecture
Cloud Architecture
May 13, 2026 · Backend Development

Mastering Spring Boot Data Access: From ORM and Caching to Search and Distributed Consistency

This extensive guide redesigns Spring Boot data‑access for high‑traffic e‑commerce, explaining why traditional JPA‑Redis‑Elasticsearch thinking fails, then detailing a multimodal architecture that assigns strong‑consistency, hot‑read, document, and search responsibilities to MySQL, Redis, MongoDB and Elasticsearch, with production‑grade code, CDC pipelines, distributed‑transaction patterns, caching strategies, observability, and cloud‑native deployment.

CDCElasticsearchJPA
0 likes · 49 min read
Mastering Spring Boot Data Access: From ORM and Caching to Search and Distributed Consistency
Java Tech Enthusiast
Java Tech Enthusiast
May 13, 2026 · Backend Development

Why Adding Spring HATEOAS Stops Front‑End Teams From Chasing Swagger Updates

The article explains how integrating Spring HATEOAS transforms a Level‑2 REST API into a hypermedia‑driven Level‑3 API, automatically exposing actionable links, reducing front‑end state‑handling, enabling type‑safe URL generation, and simplifying RBAC integration, thereby eliminating the need for constant Swagger revisions.

API designRESTSpring
0 likes · 7 min read
Why Adding Spring HATEOAS Stops Front‑End Teams From Chasing Swagger Updates
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 13, 2026 · Backend Development

Beyond try‑catch: 3 Elegant Fault‑Tolerance Patterns Every Senior Developer Needs

The article explains why simple try‑catch is insufficient for production stability and introduces three advanced fault‑tolerance patterns—retry with exponential back‑off, circuit breaker using Resilience4j, and idempotency design—each illustrated with concrete Spring Boot 3.5.0 code examples and best‑practice guidelines.

Exception HandlingIdempotencyResilience4j
0 likes · 12 min read
Beyond try‑catch: 3 Elegant Fault‑Tolerance Patterns Every Senior Developer Needs
LuTiao Programming
LuTiao Programming
May 12, 2026 · Backend Development

Stop Splitting Databases: Spring Boot + PostgreSQL Schema Multi‑Tenant Best Practice for Performance

This article explains why naïve database‑per‑tenant designs cause resource waste and operational headaches, and demonstrates how Spring Boot, Hibernate, and PostgreSQL schemas provide a lightweight, high‑performance multi‑tenant architecture with strong isolation, low overhead, and easy scalability.

HibernateMulti-TenancyPostgreSQL
0 likes · 16 min read
Stop Splitting Databases: Spring Boot + PostgreSQL Schema Multi‑Tenant Best Practice for Performance
samdeepthink
samdeepthink
May 12, 2026 · Backend Development

Three Years of DDD in Practice: Insights from the Opening Chapter

The author recounts three years of applying Domain‑Driven Design to a microservice ecosystem, sharing concrete pitfalls, code‑first modeling from database tables, and a structured 24‑article series that guides developers to refactor existing Spring Boot + MyBatis Plus projects without rewriting the framework.

AggregatesBounded ContextDomain-Driven Design
0 likes · 8 min read
Three Years of DDD in Practice: Insights from the Opening Chapter
Coder Trainee
Coder Trainee
May 12, 2026 · Backend Development

Designing a Logistics Prepaid Deduction System: Architecture & Core Implementation

This article details a logistics‑focused prepaid deduction platform built with a Spring Boot backend and Vue 3 frontend, covering precise cent‑to‑yuan handling, role‑based view isolation, VO‑based pagination, automatic deduction workflow, and an Apple‑style responsive UI using Tailwind CSS.

Money PrecisionMySQLRole-Based Access
0 likes · 6 min read
Designing a Logistics Prepaid Deduction System: Architecture & Core Implementation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 12, 2026 · Backend Development

Reproducing Three Classic Spring Boot Concurrency Deadlocks in Just 10 Lines

The article explains three typical deadlock scenarios in Spring Boot 3.5—circular‑wait, connection‑pool starvation, and implicit DML deadlocks—shows minimal 10‑line code reproductions, demonstrates the resulting errors, and provides concrete fixes such as ordered locking, removing REQUIRES_NEW propagation, and using asynchronous events.

DeadlockSpring BootTransactional
0 likes · 9 min read
Reproducing Three Classic Spring Boot Concurrency Deadlocks in Just 10 Lines
ZhiKe AI
ZhiKe AI
May 11, 2026 · Backend Development

Java Rewrites OpenClaw: An Architecture‑Level Translation, Not a Simple Port

A Java team rebuilt the popular Node.js AI‑Agent platform OpenClaw from scratch, replacing AI‑generated “vibe code” with a carefully refactored architecture that leverages Spring AI, JobRunr, and Spring Modulith, and demonstrates how to run the new Java version with just a few commands.

AI agentsArchitecture TranslationJobRunr
0 likes · 16 min read
Java Rewrites OpenClaw: An Architecture‑Level Translation, Not a Simple Port
LuTiao Programming
LuTiao Programming
May 11, 2026 · Backend Development

Why @RequestBody Is More Than Just JSON: Handling Multiple Request Formats in Spring Boot

This article explains how Spring MVC’s @RequestBody annotation is a universal entry point for HTTP request bodies, supporting JSON, XML, plain text, binary streams, maps, lists, and custom media types through its HttpMessageConverter mechanism, with concrete code examples and configuration details.

Custom ConverterHttpMessageConverterRequestBody
0 likes · 12 min read
Why @RequestBody Is More Than Just JSON: Handling Multiple Request Formats in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 11, 2026 · Backend Development

Boost Performance: Using DataLoader in Spring Boot for Efficient Batch Processing

This article explains how to integrate the Java‑DataLoader library into a Spring Boot 3.5.0 application, covering dependency setup, entity and repository definitions, service methods, DataLoader configuration, testing, contextual loading, and custom two‑level caching to achieve high‑performance batch data fetching.

Batch loadingDataLoaderGraphQL
0 likes · 12 min read
Boost Performance: Using DataLoader in Spring Boot for Efficient Batch Processing
Coder Trainee
Coder Trainee
May 10, 2026 · Backend Development

Spring Boot Source Code Deep Dive (Part 7): Full Recap and Ultimate Interview Guide

The final installment of the Spring Boot source‑code series consolidates the previous six episodes—covering startup flow, auto‑configuration, IoC container, bean lifecycle, circular dependencies, and SPI—while providing a complete knowledge map, 20 interview‑question templates, practical study tips, and a roadmap for further learning and contribution.

Bean LifecycleConfigurationDebugging
0 likes · 14 min read
Spring Boot Source Code Deep Dive (Part 7): Full Recap and Ultimate Interview Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 9, 2026 · Backend Development

9 Essential Java Code Optimizations to Eliminate Bad Practices

This article presents nine practical Java code‑optimization techniques—including string formatting, loop refactoring, resource management, buffered I/O, multithreading, enums, exception handling, and third‑party libraries—each illustrated with before‑and‑after code samples and clear explanations of why the improved version is more readable, efficient, and maintainable.

Exception HandlingSpring Bootbest practices
0 likes · 14 min read
9 Essential Java Code Optimizations to Eliminate Bad Practices
Cloud Architecture
Cloud Architecture
May 9, 2026 · Backend Development

High‑Concurrency Flash‑Sale Blueprint: Redis Atomic Stock and Kafka Throttling

The article presents a production‑grade, scalable flash‑sale architecture that combines Redis atomic inventory deduction, Kafka asynchronous peak‑shaving, and careful database finalization, detailing each layer’s goals, pre‑filtering techniques, Lua scripting, idempotency, capacity planning, monitoring, and compensation strategies to prevent overselling and ensure reliability.

Flash SaleKafkaRedis
0 likes · 31 min read
High‑Concurrency Flash‑Sale Blueprint: Redis Atomic Stock and Kafka Throttling
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 8, 2026 · Backend Development

How to Achieve Asynchronous Thread‑Pool Traceability in Spring Boot with MDC

In high‑concurrency microservices, Spring Boot's default async thread pool loses the MDC‑based traceId, making log correlation impossible; this article shows how to capture the traceId in a filter, propagate it with a custom ThreadPoolTaskExecutor and MDC task decorator, and extend the solution to Feign, RestTemplate, and RestClient while demonstrating a price‑aggregation use case.

MDCSpring BootThread Pool
0 likes · 11 min read
How to Achieve Asynchronous Thread‑Pool Traceability in Spring Boot with MDC
Senior Xiao Ying
Senior Xiao Ying
May 8, 2026 · Backend Development

Spring Boot 4.0 with JDK 21 and Virtual Threads: Boosting Performance

Spring Boot 4.0 introduces a milestone upgrade that requires JDK 21, switches to jakarta.* packages, offers first‑class virtual‑thread support, a built‑in declarative HTTP client, native retry annotations, API versioning, and modular auto‑configuration, all aimed at higher cloud‑native performance.

Declarative HTTP ClientJDK 21Modular Auto-Configuration
0 likes · 11 min read
Spring Boot 4.0 with JDK 21 and Virtual Threads: Boosting Performance
Coder Trainee
Coder Trainee
May 8, 2026 · Backend Development

How Spring Boot Instantiates Beans and Resolves Circular Dependencies

This article walks through Spring Boot's bean creation pipeline—from the initial getBean call through doGetBean, the three‑level singleton cache, and the detailed steps of createBean, populateBean, and initializeBean—explaining how circular dependencies are safely resolved and where AOP proxies are generated.

AOPBeanBean Lifecycle
0 likes · 14 min read
How Spring Boot Instantiates Beans and Resolves Circular Dependencies
Coder Trainee
Coder Trainee
May 7, 2026 · Backend Development

Deep Dive into Spring Boot IoC Container Initialization (Part 4)

This article breaks down Spring Boot's core refresh() method into twelve detailed steps, explaining how the IoC container prepares, configures, and starts up—including bean factory preparation, post‑processor registration, singleton instantiation, and final event publishing—providing interview‑ready insights and code illustrations.

BeanFactoryIoCSpring Boot
0 likes · 14 min read
Deep Dive into Spring Boot IoC Container Initialization (Part 4)
LuTiao Programming
LuTiao Programming
May 6, 2026 · Backend Development

Can You Build an MCP Server with Spring Boot? Complete Java Guide to Standardized AI APIs

This article explains why the Model Context Protocol (MCP) is becoming the universal AI interface standard, compares three implementation approaches, and provides a step‑by‑step tutorial for Java developers to create a production‑ready MCP server with Spring Boot, including tool definition, registration, controller, LLM integration, and best‑practice optimizations.

AILLMMCP
0 likes · 10 min read
Can You Build an MCP Server with Spring Boot? Complete Java Guide to Standardized AI APIs
Cloud Architecture
Cloud Architecture
May 6, 2026 · Backend Development

Why Polling Breaks at Scale and How Spring Boot Webhooks Enable High‑Concurrency Event‑Driven Architecture

The article explains why traditional polling becomes unsustainable under high load, contrasts polling with webhook‑based event delivery, and provides a complete Spring Boot implementation—including outbox pattern, Kafka integration, retry logic, security, observability, and operational best practices—to build a production‑grade, scalable webhook platform.

KafkaSpring Bootevent-driven
0 likes · 36 min read
Why Polling Breaks at Scale and How Spring Boot Webhooks Enable High‑Concurrency Event‑Driven Architecture
Java Tech Enthusiast
Java Tech Enthusiast
May 6, 2026 · Backend Development

Spring Boot 4.1’s Default Virtual Threads Boost Throughput—But Require HikariCP Tuning

Spring Boot 4.1 makes virtual threads the default, dramatically increasing I/O concurrency, yet the unchanged HikariCP maximumPoolSize can exhaust connections; the article explains this incompatibility, shows how to adjust pool settings, enable lazy connections, and outlines a step‑by‑step migration path from 3.x to 4.1.

HikariCPJava 21LazyConnection
0 likes · 19 min read
Spring Boot 4.1’s Default Virtual Threads Boost Throughput—But Require HikariCP Tuning
Architect's Guide
Architect's Guide
May 6, 2026 · Backend Development

Quickly Implement API Encryption in Spring Boot with a Single Library

This article walks through using RSA to encrypt Spring Boot API responses, covering the theory behind RSA, two security scenarios, Maven dependency setup, configuration, controller annotations, encryption/decryption code, a front‑end JavaScript example, common pitfalls, and a final security summary.

API EncryptionRSASpring Boot
0 likes · 11 min read
Quickly Implement API Encryption in Spring Boot with a Single Library
Coder Trainee
Coder Trainee
May 6, 2026 · Backend Development

Spring Boot Auto-Configuration: In‑Depth Source Code Walkthrough

This article explores the complete execution flow of Spring Boot’s auto‑configuration, detailing the role of @EnableAutoConfiguration, the AutoConfigurationImportSelector hierarchy, how candidate configurations are loaded from spring.factories, filtered by conditions, and how to create custom starters, with interview‑style Q&A.

Conditional AnnotationsCustom StarterSpring Boot
0 likes · 12 min read
Spring Boot Auto-Configuration: In‑Depth Source Code Walkthrough
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 5, 2026 · Backend Development

Stop Manually Concatenating URLs: Master Spring Boot’s Powerful URI Utilities

This article walks through Spring Boot 3.5.0’s URI building tools—including UriComponents, UriBuilderFactory, encoding options, ServletUriComponentsBuilder, and MVC link generation—showing how to construct correct, automatically‑encoded URLs for RestTemplate, WebClient, and controller methods with concrete code examples and outputs.

Spring BootWebClientjava
0 likes · 8 min read
Stop Manually Concatenating URLs: Master Spring Boot’s Powerful URI Utilities
Architect's Guide
Architect's Guide
May 5, 2026 · Backend Development

Why This Lightweight Rule Engine Lets You Ditch If‑Else Statements

The article introduces the liteflow rule‑engine framework, explains its architecture, component types, EL rule files, data‑context handling, configuration options, and demonstrates a real‑world e‑commerce workflow that replaces verbose if‑else code with concise rule definitions.

ConfigurationLiteFlowSpring Boot
0 likes · 9 min read
Why This Lightweight Rule Engine Lets You Ditch If‑Else Statements
Architect-Kip
Architect-Kip
May 5, 2026 · Backend Development

Scalable PBC Architecture for Decoupled Logistics Workflow Orchestration

This article presents a detailed design of a Process Business Capability (PBC) architecture that decouples logistics workflow steps, replaces hard‑coded controller logic with configurable nodes, introduces a unified entry point, a flow engine for matching and execution, and demonstrates the complete Spring Boot implementation with code examples and database schemas.

PBCProcess OrchestrationSpring Boot
0 likes · 35 min read
Scalable PBC Architecture for Decoupled Logistics Workflow Orchestration
Coder Trainee
Coder Trainee
May 5, 2026 · Backend Development

What Does @SpringBootApplication Actually Do? A Deep Dive into Spring Boot’s Core Annotation

This article dissects the @SpringBootApplication annotation, explaining how it combines @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan, and walks through the auto‑configuration mechanism, conditional annotations, and common interview questions with concrete code examples.

@SpringBootApplicationComponentScanConditionalOnClass
0 likes · 10 min read
What Does @SpringBootApplication Actually Do? A Deep Dive into Spring Boot’s Core Annotation
Java Tech Enthusiast
Java Tech Enthusiast
May 4, 2026 · Backend Development

Minimalist Spring Boot 3: Annotation‑Based Efficient Sensitive‑Word Handling

This guide demonstrates how to use a custom @SensitiveFilter annotation together with an AOP aspect and the lightweight sensitive‑word library to implement global sensitive‑word filtering in Spring Boot 3, supporting both automatic replacement and detection modes while eliminating repetitive code across controllers.

AOPAnnotationSensitive Word Filtering
0 likes · 14 min read
Minimalist Spring Boot 3: Annotation‑Based Efficient Sensitive‑Word Handling
LuTiao Programming
LuTiao Programming
May 4, 2026 · Backend Development

Barclays 2026 Java Spring Boot Microservices Interview Q&A: Deep Dive into Core Concepts

This article dissects a comprehensive set of Barclays Java Spring Boot microservices interview questions, covering HashMap internals, REST method semantics, code implementations, Spring dependency injection, JDBC evolution, JPA/Hibernate usage, SQL injection defenses, microservice architecture essentials, and best‑practice REST API design.

HashMapJPAREST API
0 likes · 9 min read
Barclays 2026 Java Spring Boot Microservices Interview Q&A: Deep Dive into Core Concepts
java1234
java1234
May 4, 2026 · Backend Development

Building a WeChat Mini‑Program Pet Adoption System in 20 Minutes with Cursor AI

In just 20 minutes, the author uses Cursor AI with Opus 4.7 to create a complete pet‑adoption solution that includes a WeChat mini‑program front‑end, a Vue‑based admin portal, and a Spring Boot backend with JWT security, demonstrating rapid AI‑assisted development and detailed architecture.

Cursor AIPet AdoptionSpring Boot
0 likes · 9 min read
Building a WeChat Mini‑Program Pet Adoption System in 20 Minutes with Cursor AI
Coder Trainee
Coder Trainee
May 4, 2026 · Backend Development

Spring Boot Startup Process: A Zero‑to‑One Source Code Walkthrough

This article dissects the Spring Boot startup sequence step by step, showing how a minimal @SpringBootApplication triggers listeners, type deduction, auto‑configuration loading, environment preparation, IOC container creation, bean refresh, and embedded Tomcat launch, with interview‑ready explanations.

InterviewSpring BootStartup Process
0 likes · 9 min read
Spring Boot Startup Process: A Zero‑to‑One Source Code Walkthrough
java1234
java1234
May 3, 2026 · Mobile Development

Building a WeChat Mini‑Program Dormitory Management System in 20 Minutes with Cursor AI

The author demonstrates how Cursor AI and Opus 4.7 can generate a complete campus dormitory management solution—including a Spring Boot backend, Vue 3 admin portal, and a WeChat mini‑program front‑end—within twenty minutes, and provides the source code, video tutorial, and deployment details.

Cursor AIDormitory ManagementMySQL
0 likes · 7 min read
Building a WeChat Mini‑Program Dormitory Management System in 20 Minutes with Cursor AI
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 2, 2026 · Backend Development

Beyond Controller Validation: 90% Miss Spring’s Advanced Validation Techniques

The article explains how standard Spring Boot controller‑level validation leaves service methods unchecked, and demonstrates using @Validated with MethodValidationPostProcessor, custom exception handling, and a MethodValidationExcludeFilter to apply, convert, and selectively disable validation across the application.

Custom FilterException HandlingMethodValidationPostProcessor
0 likes · 7 min read
Beyond Controller Validation: 90% Miss Spring’s Advanced Validation Techniques
IT Services Circle
IT Services Circle
Apr 30, 2026 · Backend Development

How a Single Front‑end Change Dragged Four Backend Teams – The BFF Solution

A tiny UI tweak that required a meeting with four backend groups exposed the pain of calling many micro‑services from the front‑end, and the article shows how introducing a Backend‑For‑Frontend (BFF) layer can aggregate, transform, and simplify those calls while improving reliability and performance.

API aggregationBFFBackend For Frontend
0 likes · 21 min read
How a Single Front‑end Change Dragged Four Backend Teams – The BFF Solution
MeowKitty Programming
MeowKitty Programming
Apr 30, 2026 · Backend Development

Why Codex Agents Are Redefining the Java Developer Workflow

The article analyzes how OpenAI's Codex CLI, an AI coding agent, is shifting Java development from manual code writing to task‑oriented automation, outlining suitable use cases, practical prompting techniques, and the new skills engineers must adopt to keep quality and control.

AI coding agentCode ReviewCodex
0 likes · 7 min read
Why Codex Agents Are Redefining the Java Developer Workflow
Senior Xiao Ying
Senior Xiao Ying
Apr 30, 2026 · Backend Development

Stop Hardcoding Secrets: Secure Spring Boot Configurations with @SecretValue

This article explains why storing passwords and API keys in plain‑text configuration files is risky, outlines the three core principles of configuration security, and provides a step‑by‑step guide to using the @SecretValue annotation from the spring‑secret‑starter library to inject secrets safely from services such as AWS Secrets Manager.

@SecretValueAWS Secrets ManagerConfiguration Security
0 likes · 11 min read
Stop Hardcoding Secrets: Secure Spring Boot Configurations with @SecretValue
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 30, 2026 · Backend Development

5 Common Spring Boot Anti‑Patterns You Must Avoid

The article examines five high‑frequency Spring Boot anti‑patterns—field injection, returning entities from controllers, overusing @Transactional, generic exception handling, and embedding business logic in controllers—showing problematic code snippets, real‑world consequences, and concise refactored examples to improve testability, performance, and maintainability.

Anti-PatternController DesignException Handling
0 likes · 9 min read
5 Common Spring Boot Anti‑Patterns You Must Avoid
Cloud Architecture
Cloud Architecture
Apr 29, 2026 · Databases

ORM Type Mismatch Causes MySQL Index Failure and Outage – Investigation & Fix

An ORM parameter type mismatch caused MySQL to perform implicit conversion on a VARCHAR index column, turning an indexed query into a full table scan that saturated connection pools, thread pools, Kafka consumers, and upstream services during a high‑traffic promotion, illustrating the full‑stack impact and remediation steps.

Implicit ConversionMyBatisMySQL
0 likes · 29 min read
ORM Type Mismatch Causes MySQL Index Failure and Outage – Investigation & Fix
Architect's Guide
Architect's Guide
Apr 29, 2026 · Backend Development

How to Use Spring Boot, Netty, and WebSocket for Server‑to‑Client Push

This article walks through building a Netty‑based WebSocket server integrated with Spring Boot, configuring the channel pipeline, implementing custom handlers, exposing a push‑message service, and testing the end‑to‑end flow that enables the backend to push real‑time messages to web clients.

NettyServer PushSpring Boot
0 likes · 8 min read
How to Use Spring Boot, Netty, and WebSocket for Server‑to‑Client Push
The Dominant Programmer
The Dominant Programmer
Apr 29, 2026 · Databases

Getting Started with Spring Boot and Neo4j: Step‑by‑Step Guide and Sample Code

This article introduces Neo4j as a graph database, walks through its Windows installation, and provides a complete Spring Boot integration tutorial—including Maven dependencies, YAML configuration, entity and repository definitions, REST controller implementation, and end‑to‑end testing of user and follow‑relationship APIs.

Graph DatabaseNeo4jREST API
0 likes · 8 min read
Getting Started with Spring Boot and Neo4j: Step‑by‑Step Guide and Sample Code
LuTiao Programming
LuTiao Programming
Apr 29, 2026 · Backend Development

Java 2026 Learning Roadmap: The Proven Path to Double Your Salary

This article outlines a step‑by‑step Java learning roadmap—from core fundamentals to microservices, high‑concurrency, AI integration, and cloud‑native deployment—showing how targeted skill progression can dramatically boost both technical competence and earning potential.

AICloud NativeJVM
0 likes · 9 min read
Java 2026 Learning Roadmap: The Proven Path to Double Your Salary
LuTiao Programming
LuTiao Programming
Apr 28, 2026 · Backend Development

How I Built a High‑Performance Java Price‑Comparison Engine from Scratch

Starting from a simple sequential Java price‑aggregator, the article walks through successive architectural upgrades—concurrent calls with CompletableFuture, timeout and fallback handling, Spring Boot service exposure, caching, bulkhead isolation, microservice split, and Kafka‑driven event processing—showing how latency drops from 1500 ms to under 20 ms.

KafkaPrice AggregationResilience4j
0 likes · 9 min read
How I Built a High‑Performance Java Price‑Comparison Engine from Scratch
The Dominant Programmer
The Dominant Programmer
Apr 28, 2026 · Backend Development

Spring Boot, LangChain4j & Ollama: Chain for Intent Recognition and Task Dispatch

The article demonstrates how to construct a Spring Boot application that orchestrates multiple AI services using LangChain4j and Ollama, defining intent‑classification and tool‑based assistants, registering them as beans, and routing user requests through a controller to achieve multi‑step intent recognition and task dispatch in a simulated intelligent customer‑service workflow.

AI orchestrationLangChain4jOllama
0 likes · 13 min read
Spring Boot, LangChain4j & Ollama: Chain for Intent Recognition and Task Dispatch
Java Companion
Java Companion
Apr 27, 2026 · Artificial Intelligence

From Spring Boot 3.5 to an AI OS: One JAR Powers Agents, Knowledge Base, and Toolchain

MateClaw is an open‑source, Java‑centric AI operating system built on Spring Boot 3.5 and Spring AI Alibaba that runs as a single JAR, offering multi‑agent collaboration, a structured wiki‑style knowledge base, tool‑guarded utilities, multi‑model routing, and cross‑channel deployment while keeping all data on‑premises.

AIKnowledge BaseSpring Boot
0 likes · 16 min read
From Spring Boot 3.5 to an AI OS: One JAR Powers Agents, Knowledge Base, and Toolchain
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 27, 2026 · Backend Development

One‑Line Annotation for Method Monitoring in Spring Boot

This article demonstrates how to add a single @Monitor annotation to Spring Boot 3.5.0 services and automatically obtain call‑trace and execution‑time metrics by leveraging Spring AOP, SimpleTraceInterceptor, PerformanceMonitorInterceptor, custom advisors, and a BeanPostProcessor, with full code examples and a test controller.

AOPBeanPostProcessorCustom Annotation
0 likes · 6 min read
One‑Line Annotation for Method Monitoring in Spring Boot
The Dominant Programmer
The Dominant Programmer
Apr 27, 2026 · Artificial Intelligence

Build and Integrate a Local LLM with Spring Boot, LangChain4j, and Ollama

This guide walks through installing Ollama on Windows, downloading a Qwen2.5‑7B model, configuring Spring Boot with LangChain4j dependencies, setting up application.yml, defining AI service interfaces, adding conversation memory, creating REST and streaming controllers, and testing the end‑to‑end local LLM workflow.

AIChatbotLLM
0 likes · 12 min read
Build and Integrate a Local LLM with Spring Boot, LangChain4j, and Ollama
Java Architect Essentials
Java Architect Essentials
Apr 26, 2026 · Backend Development

15 SpringBoot Performance Tweaks to Handle Million-Scale Concurrency

This guide walks through exposing metrics, integrating Prometheus and Grafana, using async‑profiler flame graphs, tuning Tomcat/Undertow, optimizing JVM flags, applying SkyWalking tracing, and applying layer‑wise code, cache, and thread‑pool improvements so a SpringBoot service can reliably serve millions of concurrent requests.

GrafanaNginxPrometheus
0 likes · 20 min read
15 SpringBoot Performance Tweaks to Handle Million-Scale Concurrency
Java Tech Workshop
Java Tech Workshop
Apr 26, 2026 · Backend Development

Integrating Spring Boot with RocketMQ for Message Production and Consumption

This tutorial explains why RocketMQ is chosen for high‑throughput messaging, outlines its core components and typical scenarios, guides environment setup via Docker or local installation, shows Maven integration, provides Spring Boot configuration, and presents complete producer and consumer code with testing steps, extensions for sync/async messages, and common troubleshooting tips.

DockerMavenMessage Queue
0 likes · 16 min read
Integrating Spring Boot with RocketMQ for Message Production and Consumption
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 26, 2026 · Backend Development

Why Misusing JPA findById Hurts Performance and Causes Critical Pitfalls

The article dissects how the default JpaRepository findById method can trigger unnecessary SELECT queries, create foreign‑key violations under concurrency, and degrade performance, then demonstrates three concrete workarounds—including getReferenceById, manual entity construction, and pessimistic read locking—to eliminate these issues.

JPASpring Bootconcurrency
0 likes · 8 min read
Why Misusing JPA findById Hurts Performance and Causes Critical Pitfalls
The Dominant Programmer
The Dominant Programmer
Apr 25, 2026 · Backend Development

Integrating LangChain4j with Spring Boot for Fast AI Conversations on Alibaba Baichuan

This guide walks through using the SpringAIAlibaba framework to integrate Alibaba Baichuan with Spring Boot via LangChain4j, explains core concepts, compares LangChain4j to Spring AI and OpenAI, and provides step‑by‑step dependency setup, environment configuration, code examples, and a simple browser test.

AI chatAgentAlibaba Baichuan
0 likes · 11 min read
Integrating LangChain4j with Spring Boot for Fast AI Conversations on Alibaba Baichuan
Cloud Architecture
Cloud Architecture
Apr 25, 2026 · Backend Development

Spring Boot & Tomcat Tuning for High Concurrency: 17 Techniques & 12 Key Parameters

This guide walks through a complete Spring Boot and Tomcat performance tuning workflow for high‑traffic services, covering thread‑model fundamentals, capacity planning, 17 practical engineering tricks, 12 essential Tomcat parameters, and strategies for graceful deployment, observability, and fault isolation.

Spring BootTomcathigh concurrency
0 likes · 43 min read
Spring Boot & Tomcat Tuning for High Concurrency: 17 Techniques & 12 Key Parameters
Ray's Galactic Tech
Ray's Galactic Tech
Apr 25, 2026 · Artificial Intelligence

Mastering Spring AI MCP: Bidirectional Communication, Four Providers, Sampling Callbacks, and Dual‑Mode Deployment

This article explains why traditional function‑calling is insufficient for production AI services and shows how Spring AI's Model Context Protocol (MCP) introduces bidirectional communication, addressable resources, parameterized prompts, tool orchestration, and server‑initiated sampling, providing a complete roadmap to build a production‑grade AI microservice architecture.

AIMCPSpring AI
0 likes · 37 min read
Mastering Spring AI MCP: Bidirectional Communication, Four Providers, Sampling Callbacks, and Dual‑Mode Deployment
Java Tech Workshop
Java Tech Workshop
Apr 25, 2026 · Information Security

Step‑by‑Step Guide to Integrating Spring Boot with OAuth2.0 Authorization and Resource Servers

This article walks through building a complete OAuth2.0 solution in Spring Boot, covering core concepts, a comparison of the four grant types, project initialization, detailed configuration of the authorization and resource servers, custom login pages, end‑to‑end testing, advanced optimizations, and security best‑practice recommendations.

JWTOAuth2Spring Boot
0 likes · 24 min read
Step‑by‑Step Guide to Integrating Spring Boot with OAuth2.0 Authorization and Resource Servers
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 25, 2026 · Backend Development

Seven Techniques to Retrieve Spring Boot Properties

This article demonstrates seven practical ways to access configuration properties in a Spring Boot 3.5.0 application, covering ContextRefreshedEvent listeners, ConfigurableEnvironment, the Environment interface, @Value, @ConfigurationProperties, ConfigurableBeanFactory, and the Actuator /env endpoint, each with code examples and usage notes.

ActuatorConfigurationSpring Boot
0 likes · 9 min read
Seven Techniques to Retrieve Spring Boot Properties
Coder Trainee
Coder Trainee
Apr 25, 2026 · Cloud Native

How to Expose Spring Cloud Microservices to Frontends with Spring Cloud Gateway

This article explains why a gateway is needed in a Spring Cloud microservice architecture, compares Spring Cloud Gateway with Zuul, introduces its core concepts of routes, predicates, and filters, and provides step‑by‑step code examples for dependency setup, configuration, custom authentication and logging filters, rate limiting, circuit breaking, troubleshooting tips, and a complete gateway configuration for a blog system.

API GatewayGatewaySpring Boot
0 likes · 14 min read
How to Expose Spring Cloud Microservices to Frontends with Spring Cloud Gateway
Ray's Galactic Tech
Ray's Galactic Tech
Apr 24, 2026 · Backend Development

From Bottlenecks to a High‑Concurrency Medical Assistant with LangChain4j

This guide details how to design and implement a production‑grade, high‑concurrency medical AI assistant using LangChain4j, Spring Boot, Redis, and Kubernetes, covering architecture, RAG‑enhanced retrieval, controlled tool invocation, guardrails, idempotent transactions, scaling strategies and observability to ensure reliable, compliant patient interactions.

LangChain4jMedical AIRAG
0 likes · 33 min read
From Bottlenecks to a High‑Concurrency Medical Assistant with LangChain4j
java1234
java1234
Apr 24, 2026 · Artificial Intelligence

Choosing Between Spring AI 2.0 and LangChain4j for Java AI Development

This article compares Spring AI 2.0 and LangChain4j, examining their positioning, version alignment, architecture, programming model, RAG support, observability, learning curve, and ecosystem integration to help Java teams decide which library best fits their AI project constraints.

AI librariesLLM IntegrationLangChain4j
0 likes · 13 min read
Choosing Between Spring AI 2.0 and LangChain4j for Java AI Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 24, 2026 · Backend Development

Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis

This article demonstrates how to create a millisecond‑level real‑time online user tracking system using Spring Boot 3.5, WebSocket with STOMP, and Redis pub/sub, covering environment setup, Maven dependencies, server‑side configuration, presence services, event listeners, and a simple front‑end page.

RedisSpring Bootjava
0 likes · 10 min read
Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis
Cloud Architecture
Cloud Architecture
Apr 23, 2026 · Backend Development

Gracefully Stopping Java Threads: Kernel Mechanics to Cloud‑Native Guide

This article explains why Java threads cannot be force‑killed, how Thread.interrupt works, and provides a step‑by‑step framework—including cooperative cancellation, two‑phase termination, thread‑pool shutdown, Kafka consumer handling, Spring Boot lifecycle integration, and Kubernetes termination orchestration—to achieve safe, observable shutdown of production‑grade Java services.

KafkaKubernetesSpring Boot
0 likes · 31 min read
Gracefully Stopping Java Threads: Kernel Mechanics to Cloud‑Native Guide
Cloud Architecture
Cloud Architecture
Apr 23, 2026 · Backend Development

Three Practical Spring Boot Solutions for Auto‑Cancelling Orders After 30 Minutes

This article analyzes the challenges of automatically cancelling unpaid orders after 30 minutes in high‑traffic e‑commerce systems and compares three production‑grade approaches—simple scheduled polling, RabbitMQ delayed queues, and a time‑bucket plus MQ strategy—detailing their architectures, code, trade‑offs, and best‑practice recommendations.

DatabaseSpring Bootdistributed scheduling
0 likes · 41 min read
Three Practical Spring Boot Solutions for Auto‑Cancelling Orders After 30 Minutes
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 23, 2026 · Backend Development

Real-Time Bidirectional Config Updates in Spring Boot 3 Without Restart

This tutorial shows how to integrate Apache Commons Configuration2 with Spring Boot 3 to load, refresh, persist, and listen to configuration changes in real time, using periodic reload triggers, auto‑save, and event listeners so updates take effect without restarting the service.

Apache Commons Configuration2Auto SaveDynamic Configuration
0 likes · 8 min read
Real-Time Bidirectional Config Updates in Spring Boot 3 Without Restart
Top Architect
Top Architect
Apr 22, 2026 · Backend Development

From Hottest to Obsolete: A Critical Review of 13 Java Web Frameworks

The article evaluates 13 Java web frameworks—Spring Boot, Quarkus, Micronaut, Vert.x, Helidon, Javalin, Dropwizard, Play Framework, Grails, Apache Wicket, Struts 2, JSF, and native Servlet+JSP—using six objective dimensions (performance, ecosystem maturity, learning curve, development efficiency, enterprise adoption, and innovation) and presents concrete usage statistics, benchmark numbers, and tiered rankings to guide technology selection.

Framework ComparisonMicronautQuarkus
0 likes · 10 min read
From Hottest to Obsolete: A Critical Review of 13 Java Web Frameworks
Top Architect
Top Architect
Apr 22, 2026 · Backend Development

Unify Multi-Channel Login with Spring Boot Factory & Strategy Patterns

Learn how to replace tangled if‑else login code with a clean, extensible architecture using Spring Boot, combining the Factory pattern to instantiate strategy beans and the Strategy pattern to encapsulate each login method (password, WeChat, SMS, etc.), enabling easy addition of new authentication types.

Design PatternsFactory PatternLogin
0 likes · 14 min read
Unify Multi-Channel Login with Spring Boot Factory & Strategy Patterns