Tagged articles

Spring Boot

4358 articles · Page 5 of 44
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 22, 2026 · Backend Development

A Lightweight Spring Boot Starter for Anti‑Repeat Submissions and Rate Limiting – Now on Maven Central

Guardian is a lightweight Spring Boot starter that provides both anti‑repeat‑submission protection and API rate limiting; it supports annotation and YAML configuration, flexible key scopes (user, IP, global), Redis or local storage, customizable response modes, white‑list handling, and built‑in observability, making it a drop‑in solution for single‑service projects.

API protectionAnnotationRedis
0 likes · 16 min read
A Lightweight Spring Boot Starter for Anti‑Repeat Submissions and Rate Limiting – Now on Maven Central
java1234
java1234
Apr 22, 2026 · Artificial Intelligence

Getting Started with LangChain4j: Building Java AI Agents with a Mature LLM Framework

LangChain4j fills the long‑standing gap for Java developers by offering a Java‑native, enterprise‑grade LLM framework that abstracts model calls, prompts, memory, tools, RAG, streaming and structured output, enabling quick setup, clean AI Service definitions, and seamless integration into Spring Boot or Quarkus applications.

AI servicesChatMemoryLLM
0 likes · 24 min read
Getting Started with LangChain4j: Building Java AI Agents with a Mature LLM Framework
Java Web Project
Java Web Project
Apr 22, 2026 · Backend Development

How to Build a Java MCP Server for AI Tools with Spring AI

This guide explains the Model Context Protocol (MCP), its JSON‑RPC communication modes, compares Java implementations, and provides a step‑by‑step tutorial—including project setup, configuration, tool creation, registration, and integration with Claude Desktop and IDEA—while covering description best practices, security, validation, and production considerations.

AIMCPSpring Boot
0 likes · 17 min read
How to Build a Java MCP Server for AI Tools with Spring AI
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 22, 2026 · Backend Development

5 Common Spring Boot Filter Pitfalls and How to Avoid Them

This article examines five typical pitfalls when using Spring Boot filters—request body consumption, ThreadLocal leakage, duplicate execution, ordering conflicts, and async handling—provides concrete code examples, explains why each issue occurs, and offers reliable solutions to keep your applications stable and secure.

ServletSpring BootThreadLocal
0 likes · 11 min read
5 Common Spring Boot Filter Pitfalls and How to Avoid Them
MeowKitty Programming
MeowKitty Programming
Apr 21, 2026 · Backend Development

Stop Hand‑Coding HTTP for AI: Adopt the Fast‑Updating OpenAI Java SDK

The OpenAI Java SDK has released three versions (4.29.0, 4.31.0, 4.32.0) within weeks, adding a Responses API, Spring Boot starter, webhook verification, request‑ID handling, automatic retries, and GraalVM compatibility, turning it from a simple HTTP wrapper into a production‑ready backend component for Java developers.

AI integrationGraalVMOpenAI
0 likes · 6 min read
Stop Hand‑Coding HTTP for AI: Adopt the Fast‑Updating OpenAI Java SDK
Java Architect Handbook
Java Architect Handbook
Apr 21, 2026 · Information Security

How to Secure Spring Boot APIs with RSA Encryption: A Step‑by‑Step Guide

This article explains RSA encryption fundamentals, illustrates two practical scenarios, and walks through creating a Spring Boot project, adding Maven dependencies, configuring RSA keys, annotating controllers for automatic encryption/decryption, testing the endpoints, and handling client‑side encryption with JavaScript, while highlighting common pitfalls.

API securityRSASpring Boot
0 likes · 13 min read
How to Secure Spring Boot APIs with RSA Encryption: A Step‑by‑Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 21, 2026 · Backend Development

Mastering Spring Boot 3 Parameter Conversion: 5 Practical Solutions

This article walks through five comprehensive Spring Boot 3 techniques for converting request parameters—including a custom Converter, PropertyEditor, custom @ConvertUser annotation, argument resolver, and JSON deserializer—showing step‑by‑step implementations, registration details, and runtime screenshots for each approach.

AnnotationArgument ResolverCustom Converter
0 likes · 10 min read
Mastering Spring Boot 3 Parameter Conversion: 5 Practical Solutions
Selected Java Interview Questions
Selected Java Interview Questions
Apr 20, 2026 · Backend Development

How Groovy Scripts Enable Dynamic Business Rules in Spring Boot

This article explains why frequent business‑rule changes hurt backend release cycles, compares rule engines with Groovy dynamic scripts, walks through three integration methods, shows a Spring Boot implementation with caching and bean access, and details production pitfalls and best‑practice mitigations.

Dynamic ScriptingGroovySpring Boot
0 likes · 16 min read
How Groovy Scripts Enable Dynamic Business Rules in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 20, 2026 · Backend Development

Avoid Hidden Thread‑Safety Bugs in Spring Boot 3: 6 Common Pitfalls and Fixes

This article examines six typical concurrency mistakes in Spring Boot 3—misusing volatile, unsafe ConcurrentHashMap patterns, exposing mutable collections, removing synchronized, abusing parallel streams, and invisible shutdown flags—showing why they occur and providing concrete, thread‑safe code replacements.

ConcurrentHashMapSpring BootThread Safety
0 likes · 9 min read
Avoid Hidden Thread‑Safety Bugs in Spring Boot 3: 6 Common Pitfalls and Fixes
Eric Tech Circle
Eric Tech Circle
Apr 20, 2026 · Backend Development

How to Seamlessly Upgrade from Spring Boot 3 to 4 with AI Assistance

This article shares a practical, AI‑assisted workflow for migrating a Spring Boot 3.5.11 project to Spring Boot 4, covering key framework upgrades, step‑by‑step migration planning, common pitfalls, maintainability tips, and verification of critical functionality.

AI-assistedJava 17Migration
0 likes · 11 min read
How to Seamlessly Upgrade from Spring Boot 3 to 4 with AI Assistance
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 20, 2026 · Backend Development

Rewrite Spring Boot Request Body: Filter, RequestBodyAdvice, and Custom Processor

This article compares three Spring Boot techniques—using a Filter with a custom HttpServletRequestWrapper, a global RequestBodyAdvice, and a custom RequestResponseBodyMethodProcessor—to transparently decrypt or modify the request body, providing code samples, configuration tips, and testing guidance for each approach.

Custom ProcessorRequestBodyAdviceSpring Boot
0 likes · 8 min read
Rewrite Spring Boot Request Body: Filter, RequestBodyAdvice, and Custom Processor
Cloud Architecture
Cloud Architecture
Apr 19, 2026 · Backend Development

Spring Boot Enterprise Guide: Implementing Four Unified Standards from API Contracts to High‑Concurrency Governance

This article presents a comprehensive, production‑grade guide for Spring Boot enterprise projects, detailing why and how to adopt four unified standards—response structure, exception handling, logging, and parameter validation—to ensure stable contracts, clear error semantics, observable systems, and robust input boundaries even under high concurrency.

API designEnterprise ArchitectureException Handling
0 likes · 39 min read
Spring Boot Enterprise Guide: Implementing Four Unified Standards from API Contracts to High‑Concurrency Governance
Java Web Project
Java Web Project
Apr 19, 2026 · Industry Insights

Why Spring Boot Falters in Serverless: Comparing Quarkus, Micronaut & Helidon

Spring Boot’s heavy runtime, driven by reflection and classpath scanning, incurs long cold starts and high memory usage, making it costly for serverless and edge deployments; lightweight frameworks like Quarkus, Micronaut, and Helidon shift work to compile time and offer native images, but introduce trade‑offs in dynamism, ecosystem coverage, and build complexity.

Framework ComparisonHelidonMicronaut
0 likes · 10 min read
Why Spring Boot Falters in Serverless: Comparing Quarkus, Micronaut & Helidon
Coder Trainee
Coder Trainee
Apr 19, 2026 · Backend Development

How to Optimize Performance and Deploy a Production‑Ready Blog System

This article walks through a complete performance‑optimization and deployment pipeline for a Spring Boot blog, covering multi‑level caching with Caffeine and Redis, database indexing and cursor pagination, read‑write splitting, asynchronous processing, rate limiting, Docker multi‑stage builds, Nginx reverse‑proxy setup, Actuator monitoring, custom metrics, health checks, alerting, JMeter load testing, and JVM tuning.

CaffeineDockerRedis
0 likes · 17 min read
How to Optimize Performance and Deploy a Production‑Ready Blog System
LuTiao Programming
LuTiao Programming
Apr 18, 2026 · Backend Development

Beyond @Transactional: Build a Java Ticket System, Master Deadlocks & Isolation Levels

The article shows why a simple @Transactional approach fails under 300,000 concurrent users, explains MVCC behavior, demonstrates how to use row‑level pessimistic locks, sorting, FOR NO KEY UPDATE, short transactions, optimistic locking, and proper isolation levels, and outlines a production‑ready architecture with read/write splitting, Redis rate limiting and connection‑pool tuning.

DeadlockIsolation LevelSpring Boot
0 likes · 10 min read
Beyond @Transactional: Build a Java Ticket System, Master Deadlocks & Isolation Levels
Java Architect Essentials
Java Architect Essentials
Apr 17, 2026 · Backend Development

How to Integrate Tess4J OCR into a Spring Boot Application

This article explains OCR fundamentals, introduces Tesseract and its Java wrapper Tess4J, guides you through downloading language data, shows step‑by‑step Spring Boot integration with Maven dependencies and configuration classes, and provides test code for Chinese, English, and mixed‑language image recognition.

Language DataOCRSpring Boot
0 likes · 9 min read
How to Integrate Tess4J OCR into a Spring Boot Application
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 17, 2026 · Backend Development

Generate Professional Architecture Diagrams Instantly with Spring Boot 3

This guide introduces the Architecture Diagram Generator skill for Spring Boot 3, explains how to install it via OpenCode and Claude Code, lists its visual features and color scheme, and demonstrates generating various architecture diagrams such as web applications, AWS serverless stacks, and microservice systems.

Architecture DiagramAutomationClaude
0 likes · 7 min read
Generate Professional Architecture Diagrams Instantly with Spring Boot 3
Java Tech Workshop
Java Tech Workshop
Apr 16, 2026 · Backend Development

Implementing API Rate Limiting in Spring Boot with AOP

This tutorial walks through why API rate limiting is a critical first line of defense for backend services, compares fixed‑window and sliding‑window strategies, and shows how to create a custom @RateLimit annotation, utility classes, an AOP aspect, Redis or local storage, and unified exception handling, providing complete code and test scenarios for Spring Boot 2.7.x.

AOPFixed WindowRedis
0 likes · 31 min read
Implementing API Rate Limiting in Spring Boot with AOP
Senior Xiao Ying
Senior Xiao Ying
Apr 16, 2026 · Backend Development

Say Goodbye to Data Chaos: Using CloudEvents to Standardize Event Formats in Spring Boot

Spring Boot can adopt the CloudEvents specification to unify event payloads across microservices, eliminating format inconsistencies; the article explains the spec, shows structured and binary HTTP modes, provides Maven dependencies, configuration, and code examples for producers, consumers, and reactive handling with Spring Cloud Function.

CloudEventsHTTPSpring Boot
0 likes · 12 min read
Say Goodbye to Data Chaos: Using CloudEvents to Standardize Event Formats in Spring Boot
Coder Circle
Coder Circle
Apr 16, 2026 · Artificial Intelligence

Add Context Memory to Your AI in 5 Lines with Spring AI ChatMemory

The article demonstrates how to give a Spring Boot AI chatbot persistent context using Spring AI's ChatMemory, showing the problem of stateless requests, explaining the ChatMemory architecture, providing a five‑line code example, comparing storage options (InMemory, JDBC, Redis), and sharing practical tips and pitfalls.

AI conversationChatMemorySpring AI
0 likes · 7 min read
Add Context Memory to Your AI in 5 Lines with Spring AI ChatMemory
Java Web Project
Java Web Project
Apr 16, 2026 · Backend Development

How I Resolved a 13‑Hour OOM Nightmare in a Spring Boot Service

The article walks through a 13‑hour out‑of‑memory incident on a Spring Boot 2.7 service running in Kubernetes, detailing how to preserve the crash dump, interpret GC logs, use MAT and Arthas to pinpoint a static HashMap leak, and apply both temporary and permanent fixes while hardening the system for future safety.

ArthasJVMKubernetes
0 likes · 18 min read
How I Resolved a 13‑Hour OOM Nightmare in a Spring Boot Service
Coder Trainee
Coder Trainee
Apr 16, 2026 · Backend Development

Building a Tech Blog from Scratch (Part 2): Implementing Login Authentication with Spring Security and JWT

This article walks through creating a complete login authentication system—including registration, login, token refresh, and permission control—by replacing Spring Security's default session handling with JWT, configuring backend filters and utilities, and integrating a Vue 3 + Pinia front‑end with automatic token renewal.

JWTPiniaSpring Boot
0 likes · 19 min read
Building a Tech Blog from Scratch (Part 2): Implementing Login Authentication with Spring Security and JWT
Java Web Project
Java Web Project
Apr 15, 2026 · Backend Development

How We Cut Spring Boot Startup from 12 s to 3 s with GraalVM Native Image

This article walks through converting a Spring Boot order‑query microservice to a GraalVM Native Image, detailing environment setup, common build pitfalls with concrete code fixes, Docker multi‑stage packaging, K8s scaling comparison, performance benchmarks, CI/CD integration, and guidance on when Native Image is appropriate.

CI/CDDockerGraalVM
0 likes · 12 min read
How We Cut Spring Boot Startup from 12 s to 3 s with GraalVM Native Image
Java Architecture Diary
Java Architecture Diary
Apr 15, 2026 · Operations

Unlock JVM Mysteries: How Arthas and AI Turn Debugging into a One‑Click Process

When a service’s P99 latency spikes to seconds and CPU hits 90% without logs, Arthas lets you inspect the JVM in real time without code changes, and its AI‑driven MCP extension automates command selection, enabling developers to diagnose, trace, decompile, and monitor issues through simple natural‑language prompts and Spring Boot integration.

AI operationsArthasJVM debugging
0 likes · 8 min read
Unlock JVM Mysteries: How Arthas and AI Turn Debugging into a One‑Click Process
Coder Circle
Coder Circle
Apr 14, 2026 · Backend Development

Spring AI Hands‑On for Java Developers: Connecting ChatClient to the MiniMax LLM

This tutorial shows Java engineers how to set up a Spring Boot 4 project, configure Spring AI for the MiniMax large‑language model, call it via simple and streaming endpoints, use prompt templates with dynamic parameters, add metadata and advisors, and switch between different LLM providers with minimal code changes.

LLMMiniMaxSpring AI
0 likes · 8 min read
Spring AI Hands‑On for Java Developers: Connecting ChatClient to the MiniMax LLM
Java Tech Workshop
Java Tech Workshop
Apr 14, 2026 · Backend Development

Mastering SpringBoot Dependency Management with BOM and Version Control

This article explains why SpringBoot projects need centralized dependency management, introduces the concept of a Maven/Gradle BOM, and walks through three practical scenarios—using the parent BOM, manually importing it, and overriding versions—while highlighting common pitfalls and best‑practice solutions.

Dependency ManagementMavenSpring Boot
0 likes · 12 min read
Mastering SpringBoot Dependency Management with BOM and Version Control
Coder Trainee
Coder Trainee
Apr 14, 2026 · Operations

5 Production Nightmares in an Education Mini‑Program and How to Avoid Them

The author recounts five critical production incidents that crippleed an education mini‑program—Redis connection‑pool exhaustion, duplicate bookings, double refunds, mis‑firing no‑show jobs, and inventory oversell—detailing root causes, concrete fixes, and hard‑won lessons for building resilient backend services.

IdempotencyMonitoringMySQL
0 likes · 10 min read
5 Production Nightmares in an Education Mini‑Program and How to Avoid Them
Cloud Architecture
Cloud Architecture
Apr 12, 2026 · Backend Development

How to Build an Atomic‑Level RocketMQ Transactional Message Wrapper for Production

This article explains why traditional distributed transactions fail, then details the core principles, state flow, and practical Java/Spring Boot implementation of an atomic‑level RocketMQ transactional message wrapper, covering schema design, idempotency, high‑concurrency handling, monitoring, and deployment for production‑grade microservices.

IdempotencyRocketMQSpring Boot
0 likes · 39 min read
How to Build an Atomic‑Level RocketMQ Transactional Message Wrapper for Production
Cloud Architecture
Cloud Architecture
Apr 11, 2026 · Backend Development

Redis Cache Penetration Guide: From Fundamentals to Production‑Ready Protection

This comprehensive guide explains why cache penetration is a high‑risk issue for high‑concurrency systems, distinguishes it from cache breakdown and avalanche, and presents a layered, production‑grade defense that combines parameter validation, gateway rate‑limiting, empty‑object caching, Bloom filters, local caches, distributed locks, and observability to protect both Redis and the underlying database.

Bloom filterCache PenetrationRedis
0 likes · 52 min read
Redis Cache Penetration Guide: From Fundamentals to Production‑Ready Protection
LuTiao Programming
LuTiao Programming
Apr 11, 2026 · Backend Development

Why Simple Spring Boot APIs Slow Down Under Load and How Proper Redis Caching Fixes It

The article walks through a step‑by‑step integration of Redis caching into a Spring Boot application, showing how to add dependencies, configure connections, enable caching annotations, customize serialization, simulate slow data sources, and fine‑tune TTLs to turn laggy endpoints into smooth, high‑throughput services.

RedisSpring BootSpring Cache
0 likes · 11 min read
Why Simple Spring Boot APIs Slow Down Under Load and How Proper Redis Caching Fixes It
Cloud Architecture
Cloud Architecture
Apr 10, 2026 · Information Security

Spring Boot Deployment Security Guide: From Monolith to Cloud‑Native Zero‑Trust Production

This comprehensive guide walks through why simple Spring Security is insufficient for production, outlines eight core security principles, presents a threat model, and provides step‑by‑step recommendations—including authentication, token design, configuration management, input validation, logging, rate limiting, container hardening, Kubernetes policies, service‑mesh mTLS, supply‑chain scanning, and audit—to transform a Spring Boot application into a zero‑trust, production‑grade service.

KubernetesSpring Bootauthentication
0 likes · 38 min read
Spring Boot Deployment Security Guide: From Monolith to Cloud‑Native Zero‑Trust Production
Java Tech Workshop
Java Tech Workshop
Apr 10, 2026 · Backend Development

Build a Private Spring Boot Starter from Scratch

This tutorial walks through the complete process of creating a custom Spring Boot starter—covering its core concepts, Maven setup, configuration properties, auto‑configuration class, conditional bean loading, packaging, testing, and best‑practice tips—so developers can encapsulate reusable components and plug them into other projects with zero configuration effort.

ConditionalOnPropertyCustom StarterMaven
0 likes · 20 min read
Build a Private Spring Boot Starter from Scratch
Su San Talks Tech
Su San Talks Tech
Apr 10, 2026 · Artificial Intelligence

Boost Your Java Development with CC GUI: A Dual‑AI IDE Plugin Review

This article introduces CC GUI, a powerful JetBrains IDEA plugin that integrates Claude Code and Codex AI engines, walks through its key features, installation steps, and a real‑world Spring Boot project demo, highlighting how the tool can automate code upgrades, refactoring, and testing within the IDE.

AI codingClaude CodeIDE plugin
0 likes · 7 min read
Boost Your Java Development with CC GUI: A Dual‑AI IDE Plugin Review
Tech Verticals & Horizontals
Tech Verticals & Horizontals
Apr 10, 2026 · Artificial Intelligence

Enterprise‑Scale Codex + OpenSpec + Superpowers Workflow: A Step‑by‑Step, Governed AI Development Process

This article presents a comprehensive, enterprise‑grade workflow that combines Codex, OpenSpec, and Superpowers to turn AI‑assisted coding from chaotic code generation into a controlled, spec‑driven, and engineerable process for Java/Spring Boot microservice teams.

AI codingCodexEnterprise Workflow
0 likes · 15 min read
Enterprise‑Scale Codex + OpenSpec + Superpowers Workflow: A Step‑by‑Step, Governed AI Development Process
Cloud Architecture
Cloud Architecture
Apr 9, 2026 · Databases

Redis Cluster Deep Dive: Sharding, Replication, Failover & Smart Client

This article provides a comprehensive technical analysis of Redis Cluster, covering its data sharding via 16,384 hash slots, master‑slave replication, automated failover mechanisms, and the essential role of smart clients in routing, along with practical engineering guidelines and production‑grade code examples.

ClusterFailoverRedis
0 likes · 41 min read
Redis Cluster Deep Dive: Sharding, Replication, Failover & Smart Client
LuTiao Programming
LuTiao Programming
Apr 8, 2026 · Backend Development

From Chaos to Production: Building a Real Food-Delivery Backend with Spring Boot

The article chronicles the step‑by‑step evolution of a small team’s chaotic food‑delivery backend into a production‑ready system, detailing how they introduced layering, transactions, security, caching, async processing, messaging, observability, scalability, resilience, containerization, and testing using Spring Boot, Kafka, Redis, JWT, and Docker.

Backend ArchitectureDockerKafka
0 likes · 10 min read
From Chaos to Production: Building a Real Food-Delivery Backend with Spring Boot
Cloud Architecture
Cloud Architecture
Apr 8, 2026 · Backend Development

How to Build a High‑Performance Sign‑In System with Spring Boot & Redis BitMap

This article walks through the design and production‑grade implementation of a high‑throughput sign‑in service using Spring Boot, Redis BitMap, Lua scripts, and asynchronous reward processing, covering why traditional relational tables fall short, key generation, offset calculation, continuous‑sign‑in logic, architecture layering, scaling, monitoring, and testing strategies.

BitmapRedisSpring Boot
0 likes · 35 min read
How to Build a High‑Performance Sign‑In System with Spring Boot & Redis BitMap
Java Tech Workshop
Java Tech Workshop
Apr 8, 2026 · Backend Development

SpringBoot Integration Testing: Using @SpringBootTest with MockMvc

SpringBoot integration tests load the full application context to verify end‑to‑end behavior, while unit tests only cover isolated methods; this guide explains @SpringBootTest fundamentals, configuration options, MockMvc usage, test structure, common pitfalls, and best practices for reliable full‑stack testing.

JUnit5MockMvcSpring Boot
0 likes · 26 min read
SpringBoot Integration Testing: Using @SpringBootTest with MockMvc
Cloud Architecture
Cloud Architecture
Apr 7, 2026 · Databases

MySQL Read‑Write Splitting: From Replication Basics to Production‑Ready Architecture

The article explains why simple SQL routing is insufficient for MySQL read‑write separation, details replication mechanisms, consistency challenges, and presents a comprehensive upgrade path—including static, dynamic, middleware, and hybrid routing strategies, configuration guidelines, monitoring, and high‑availability practices—to build a production‑grade, high‑concurrency architecture.

MonitoringMySQLShardingSphere
0 likes · 44 min read
MySQL Read‑Write Splitting: From Replication Basics to Production‑Ready Architecture
Senior Xiao Ying
Senior Xiao Ying
Apr 7, 2026 · Backend Development

Dynamic JSON Filtering in Spring Boot using MappingJacksonValue

The article explains how Spring Boot’s MappingJacksonValue wrapper enables flexible JSON responses by allowing dynamic field selection, view‑based filtering with @JsonView, runtime filtering with @JsonFilter, and legacy JSONP support, while also noting its deprecation in newer Spring versions.

@JsonViewJSON filteringJSONP
0 likes · 11 min read
Dynamic JSON Filtering in Spring Boot using MappingJacksonValue
Java Companion
Java Companion
Apr 7, 2026 · Backend Development

A Lighter‑Than‑MQ Asynchronous Solution: Spring’s Hidden Event‑Driven Feature

The article explains how Spring’s built‑in ApplicationEvent and @EventListener mechanism provides a lightweight, zero‑dependency alternative to external message queues for decoupling logic within the same JVM, covering core components, implementation styles, async execution, transactional listeners, pitfalls, performance comparison, and production best practices.

ApplicationEventAsynchronousSpring
0 likes · 23 min read
A Lighter‑Than‑MQ Asynchronous Solution: Spring’s Hidden Event‑Driven Feature
Cloud Architecture
Cloud Architecture
Apr 6, 2026 · Backend Development

Spring Boot GeoJSON Optimization: From Transport Compression to Production‑Ready High‑Concurrency Architecture

This article presents a comprehensive, production‑grade guide for optimizing GeoJSON in Spring Boot services, covering data‑level reductions, binary encoding, compression strategies, architectural separation of external and internal traffic, caching layers, thread‑model tuning, observability, and a real‑world case study that cuts response times from 800 ms to 90 ms.

GeoJSONSpring Bootcaching
0 likes · 40 min read
Spring Boot GeoJSON Optimization: From Transport Compression to Production‑Ready High‑Concurrency Architecture
java1234
java1234
Apr 5, 2026 · Backend Development

Why Spring and Spring MVC Use Parent‑Child Containers

The article explains how Spring’s parent‑child container pattern separates core beans like DataSource and TransactionManager from business‑level beans, improving modularity, configuration reuse, decoupling, and flexible bean management, and shows concrete XML and Spring Boot examples for defining and loading these containers.

Bean ConfigurationIoCParent-Child Container
0 likes · 7 min read
Why Spring and Spring MVC Use Parent‑Child Containers
Java Tech Workshop
Java Tech Workshop
Apr 5, 2026 · Backend Development

Spring Boot + Elasticsearch: Full‑Text Search Integration Guide

This article walks through integrating Spring Boot with Elasticsearch to enable fuzzy search, keyword highlighting, tokenized queries, and real‑time data sync, covering environment setup, Maven dependencies, application.yml configuration, entity annotations, CRUD via Repository, advanced queries with RestTemplate, IK analyzer usage, common pitfalls, and synchronization strategies.

ElasticsearchFull-text SearchRepository
0 likes · 10 min read
Spring Boot + Elasticsearch: Full‑Text Search Integration Guide
Ray's Galactic Tech
Ray's Galactic Tech
Apr 4, 2026 · Backend Development

How to Build a High‑Concurrency Story Creation Platform with AgentScope Java

This article presents a step‑by‑step engineering guide for constructing a production‑grade, high‑throughput story generation platform using AgentScope Java, Spring Boot, Kafka, Redis, PostgreSQL, and Kubernetes, covering architecture, task modeling, DAG orchestration, code organization, scalability, observability, and deployment best practices.

KafkaSpring Boothigh concurrency
0 likes · 39 min read
How to Build a High‑Concurrency Story Creation Platform with AgentScope Java
Java Tech Workshop
Java Tech Workshop
Apr 4, 2026 · Backend Development

Integrating Spring Boot with MongoDB: A Step‑by‑Step Guide

This article explains how to integrate MongoDB into a Spring Boot application, covering suitable use cases, environment setup, core dependencies, configuration, entity mapping, CRUD operations via MongoRepository and MongoTemplate, indexing, performance considerations, and a concise comparison with MySQL.

MongoDBMongoRepositoryMongoTemplate
0 likes · 10 min read
Integrating Spring Boot with MongoDB: A Step‑by‑Step Guide
Java Tech Workshop
Java Tech Workshop
Apr 3, 2026 · Backend Development

How to Integrate Redis Cache into Spring Boot: Step‑by‑Step Guide

This article explains why Redis is essential for Spring Boot projects, walks through adding dependencies, configuring connection and serialization, demonstrates CRUD operations for all Redis data types, shows @Cacheable usage, and lists common pitfalls with practical solutions.

RedisSpring Bootbackend
0 likes · 26 min read
How to Integrate Redis Cache into Spring Boot: Step‑by‑Step Guide
Senior Xiao Ying
Senior Xiao Ying
Apr 3, 2026 · Artificial Intelligence

Spring AI 1.1 GA: Quick Start Guide for Building Java AI Applications

This article introduces Spring AI, explains its purpose as a standardized Java framework for AI integration, highlights the new Model Context Protocol and expanded model support in version 1.1 GA, and provides a step‑by‑step tutorial—including dependencies, configuration, and code examples—to help developers quickly build AI‑powered applications.

AI integrationChatClientModel Context Protocol
0 likes · 7 min read
Spring AI 1.1 GA: Quick Start Guide for Building Java AI Applications
Java Tech Workshop
Java Tech Workshop
Apr 3, 2026 · Backend Development

Best Practices for Configuring HikariCP in Spring Boot

This article explains why HikariCP is the default Spring Boot connection pool, details the required dependencies, walks through essential configuration parameters, shows how to use HikariTemplate, monitor pool metrics, avoid common pitfalls, and compares HikariCP with other popular pools.

ConfigurationHikariCPJDBC
0 likes · 6 min read
Best Practices for Configuring HikariCP in Spring Boot
Senior Xiao Ying
Senior Xiao Ying
Apr 2, 2026 · Backend Development

Dynamic Spring Boot Controllers Without Restart: Register Endpoints at Runtime

This article explains why static controller definitions limit flexibility, then dives into Spring MVC’s RequestMappingHandlerMapping internals, showing how its public registerMapping method can be used to add or remove controller endpoints at runtime, with two concrete implementations—bean‑method registration and full ByteBuddy‑generated controllers—plus best‑practice notes.

ByteBuddyDynamic ControllerRequestMappingHandlerMapping
0 likes · 13 min read
Dynamic Spring Boot Controllers Without Restart: Register Endpoints at Runtime
Java Architect Essentials
Java Architect Essentials
Apr 2, 2026 · Backend Development

Why Micronaut Beats Spring Boot: Faster Startup, Lower Memory, Cloud‑Native Edge

This article analyzes Micronaut's design philosophy, performance advantages in startup time and memory usage, and its built‑in cloud‑native features—such as distributed configuration, service discovery, client load balancing, tracing, and serverless support—while providing step‑by‑step installation and code examples for Java developers.

Cloud NativeFramework ComparisonMicronaut
0 likes · 11 min read
Why Micronaut Beats Spring Boot: Faster Startup, Lower Memory, Cloud‑Native Edge
Java Tech Workshop
Java Tech Workshop
Apr 1, 2026 · Backend Development

Rapid Data Access with SpringBoot and JdbcTemplate

This article explains how to integrate SpringBoot with JdbcTemplate to quickly build a lightweight data access layer, covering suitable scenarios, Maven dependencies, configuration, entity definition, CRUD operations, batch processing, service encapsulation, controller endpoints, transaction handling, and guidance on when to choose JdbcTemplate over MyBatis.

SQLSpring BootTransaction
0 likes · 10 min read
Rapid Data Access with SpringBoot and JdbcTemplate
Java Architect Handbook
Java Architect Handbook
Apr 1, 2026 · Backend Development

Integrating Tess4j OCR into a Spring Boot 3 Project

This guide explains OCR fundamentals, introduces Tesseract and Tess4j, shows how to download the required language data files, and provides step‑by‑step instructions with Maven configuration, Spring Boot properties, Java code, and test examples for Chinese, English, and mixed‑language image recognition.

OCRSpring Bootimage recognition
0 likes · 11 min read
Integrating Tess4j OCR into a Spring Boot 3 Project
macrozheng
macrozheng
Apr 1, 2026 · Backend Development

Which Java Web Framework Reigns Supreme? A Data‑Driven Comparison

This article evaluates major Java web frameworks—Spring Boot, Quarkus, Micronaut, Vert.x, Helidon, Javalin, Dropwizard, Play, Grails, Apache Wicket, Struts 2, JSF, and native Servlet/JSP—across performance, ecosystem maturity, learning curve, development efficiency, enterprise adoption, and innovation, providing objective data to guide technology selection.

Framework ComparisonMicronautQuarkus
0 likes · 7 min read
Which Java Web Framework Reigns Supreme? A Data‑Driven Comparison
Senior Xiao Ying
Senior Xiao Ying
Apr 1, 2026 · Backend Development

Mastering the Chain of Responsibility in Spring Boot for Dynamic Workflow Orchestration

This article explains the Chain of Responsibility pattern, outlines its core components, demonstrates a complete Spring Boot order‑processing example with concrete handlers, and shares advanced techniques such as dynamic handler configuration and asynchronous processing, concluding with practical best‑practice tips.

Chain of ResponsibilityDesign PatternDynamic workflow
0 likes · 11 min read
Mastering the Chain of Responsibility in Spring Boot for Dynamic Workflow Orchestration
Architect's Guide
Architect's Guide
Apr 1, 2026 · Backend Development

Master AsyncTask Orchestration in Spring Boot with asyncTool

This guide explains how to integrate asyncTool into a Spring Boot project, configure custom thread pools, understand core interfaces like IWorker and ICallback, and implement serial, parallel, and mixed task flows with detailed code examples and best‑practice considerations.

Spring BootTask orchestrationThread Pool
0 likes · 11 min read
Master AsyncTask Orchestration in Spring Boot with asyncTool
java1234
java1234
Mar 31, 2026 · Backend Development

How Many Concurrent Requests Can Spring Boot Handle?

This article explains how Spring Boot processes concurrent HTTP requests using its embedded Tomcat thread pool, details the default limits (200 max threads, 10 min threads, queue size 10,000), shows how to tune these settings via configuration files, demonstrates async controllers, and suggests performance testing tools to measure real‑world capacity.

Performance TestingSpring BootThread Pool
0 likes · 7 min read
How Many Concurrent Requests Can Spring Boot Handle?
LuTiao Programming
LuTiao Programming
Mar 30, 2026 · Backend Development

Using Claude to Quickly Decompose Complex Spring Boot Logic in 100k‑Line Legacy Code

When inheriting a Spring Boot project with hundreds of thousands of lines and no documentation, the article shows how to leverage Claude to map module boundaries, extract business flows, classify responsibilities, generate architecture diagrams, and guide bulk refactoring, turning unreadable code into a clear structural view.

AI-assisted RefactoringClaudeSpring Boot
0 likes · 7 min read
Using Claude to Quickly Decompose Complex Spring Boot Logic in 100k‑Line Legacy Code
IT Services Circle
IT Services Circle
Mar 30, 2026 · Cloud Native

Docker vs K8s: Solving Java Deployment Chaos with Containers

This article explains why traditional Java deployment struggles with environment inconsistencies, introduces Docker’s containerization workflow—including base images, Dockerfiles, images, registries, and tools like Compose and Swarm—and compares it with Kubernetes’ orchestration capabilities, showing how they together streamline Java application delivery.

DevOpsDockerKubernetes
0 likes · 7 min read
Docker vs K8s: Solving Java Deployment Chaos with Containers
Java Tech Workshop
Java Tech Workshop
Mar 30, 2026 · Backend Development

Zero‑Intrusion Global Response Formatting in Spring Boot with HttpMessageConverter

This guide shows how to configure Spring Boot to automatically wrap all controller responses in a unified Result object, apply global JSON formatting for dates, Long values, null handling, and custom enum serialization using HttpMessageConverter, ResponseBodyAdvice, and a global exception handler.

HttpMessageConverterJSON FormattingResponseBodyAdvice
0 likes · 7 min read
Zero‑Intrusion Global Response Formatting in Spring Boot with HttpMessageConverter
Architect's Guide
Architect's Guide
Mar 30, 2026 · Backend Development

Mastering Dynamic Permission Checks in Spring Boot with SpEL

This guide explains how to replace static custom‑annotation permission checks in Spring Boot with flexible SpEL expressions, covering annotation design, aspect definition, expression parsing, context setup, and practical usage examples for various access scenarios.

AspectJCustom AnnotationSpEL
0 likes · 9 min read
Mastering Dynamic Permission Checks in Spring Boot with SpEL
Java Tech Workshop
Java Tech Workshop
Mar 30, 2026 · Backend Development

Spring Boot AOP Basics: Implement Logging, Transactions, and Permission Checks

This article introduces Aspect‑Oriented Programming in Spring Boot, explains core AOP concepts and terminology, and provides step‑by‑step code examples for creating logging, transaction management, and permission‑validation aspects using annotations such as @Aspect, @Around, @Before, and @Transactional.

AOPAspectJPermission
0 likes · 8 min read
Spring Boot AOP Basics: Implement Logging, Transactions, and Permission Checks
Coder Trainee
Coder Trainee
Mar 30, 2026 · Backend Development

Mastering @ConditionalOnProperty: Controlling Bean Activation in Spring Boot

This article explains how Spring Boot's @ConditionalOnProperty annotation determines whether a configuration class or bean is loaded based on property values in application.yml, detailing its attributes (name, havingValue, prefix, value, matchIfMissing), practical usage examples.

ConditionalOnPropertyConfigurationSpring Boot
0 likes · 4 min read
Mastering @ConditionalOnProperty: Controlling Bean Activation in Spring Boot
Cloud Architecture
Cloud Architecture
Mar 29, 2026 · Backend Development

Smart Parking Guidance Using Kafka, Flink, and Spring Boot

This article presents a senior architect’s end‑to‑end design of a smart parking guidance system, detailing how high‑frequency sensor streams are ingested via Spring Boot gateways, processed with Kafka and Flink for stateful de‑duplication, debouncing, and aggregation, and finally served through Redis, PostgreSQL and Spring Boot APIs for real‑time vehicle routing.

FlinkKafkaSmart Parking
0 likes · 35 min read
Smart Parking Guidance Using Kafka, Flink, and Spring Boot
Cloud Architecture
Cloud Architecture
Mar 27, 2026 · Backend Development

Spring Boot 3 + Redis Multi-Level Cache: From Single-Node to Production Hotspot Management

This article presents a production-ready multi-level caching architecture for Spring Boot 3 using Caffeine as L1, Redis as L2, and a database as L3, detailing design goals, hotspot mitigation, consistency handling, failure protection, implementation code, monitoring, and performance evaluation for high-concurrency e-commerce scenarios.

Cache invalidationCaffeineHotspot Management
0 likes · 36 min read
Spring Boot 3 + Redis Multi-Level Cache: From Single-Node to Production Hotspot Management
Cloud Architecture
Cloud Architecture
Mar 26, 2026 · Backend Development

Spring Boot 3 + WebFlux High-Concurrency API Architecture: From Reactive Theory to Production

This comprehensive guide explains how Spring Boot 3 + WebFlux can handle massive concurrent API traffic by leveraging event‑loop I/O, Reactive Streams back‑pressure, and a layered architecture that separates ingestion, processing, storage, and dispatch, while covering pitfalls, performance tuning, observability, and production‑grade best practices.

ReactiveSSESpring Boot
0 likes · 46 min read
Spring Boot 3 + WebFlux High-Concurrency API Architecture: From Reactive Theory to Production
Architecture Digest
Architecture Digest
Mar 26, 2026 · Artificial Intelligence

How to Integrate Tess4j OCR into a Spring Boot 3 Application

This guide explains the fundamentals of OCR, introduces Tesseract and its Java wrapper Tess4j, shows how to download language data files, configure a Spring Boot 3 project with Maven dependencies and YAML settings, and provides comprehensive test code for Chinese, English, and mixed‑language image recognition.

Artificial IntelligenceOCRSpring Boot
0 likes · 9 min read
How to Integrate Tess4j OCR into a Spring Boot 3 Application
Architect's Guide
Architect's Guide
Mar 26, 2026 · Backend Development

How to Prevent Duplicate Submissions and Rate‑Limit APIs with the Guardian Spring Boot Starter

This article explains how the open‑source Guardian starter provides a lightweight Spring Boot solution for anti‑repeat submission and API rate limiting, covering dependency setup, annotation and YAML configuration, key generation strategies, response handling, concurrency safety, extensible architecture, monitoring endpoints, and deployment options.

API protectionAnti repeat submitMaven
0 likes · 16 min read
How to Prevent Duplicate Submissions and Rate‑Limit APIs with the Guardian Spring Boot Starter
Top Architect
Top Architect
Mar 25, 2026 · Backend Development

Boost API Performance 10× with a Three‑Tier Cache Pyramid in Spring Boot 3

This article explains how to design and implement a three‑level cache pyramid (Caffeine → Redis → MySQL) in Spring Boot 3, covering configuration, a reusable CacheTemplate, hot‑key handling, random TTL, warm‑up, monitoring, and load‑test results that show latency dropping from tens of milliseconds to a few milliseconds while cutting CPU and network usage dramatically.

CaffeineRedisSpring Boot
0 likes · 11 min read
Boost API Performance 10× with a Three‑Tier Cache Pyramid in Spring Boot 3
LuTiao Programming
LuTiao Programming
Mar 24, 2026 · Information Security

After 5 Years of Coding, I Realized True Secret Protection Comes From Environment Variables, Not Encryption

Hard‑coding secrets in source code or config files creates maintenance headaches and security risks, whereas using environment variables—following the 12‑Factor App principle—decouples configuration, improves security, and enables dynamic, painless updates without rebuilding the application.

ConfigurationSecret ManagementSpring Boot
0 likes · 8 min read
After 5 Years of Coding, I Realized True Secret Protection Comes From Environment Variables, Not Encryption
LuTiao Programming
LuTiao Programming
Mar 24, 2026 · Backend Development

10 Years In, I Discovered Spring Boot + Decorator Pattern for Elegant Extension

After years of piling logging, caching, and security directly into Spring Boot services, the author shows how applying the Decorator pattern—implemented via dedicated @Service beans and @Primary/@Qualifier wiring—creates a clean, extensible chain that respects the Open/Closed Principle, while outlining practical steps, trade‑offs, and pitfalls.

Decorator PatternOpen-Closed PrincipleService Layer
0 likes · 10 min read
10 Years In, I Discovered Spring Boot + Decorator Pattern for Elegant Extension
java1234
java1234
Mar 24, 2026 · Backend Development

How to Elegantly Perform OCR in Spring Boot 3 Using Tess4J

This tutorial explains OCR fundamentals, introduces the open‑source Tesseract engine and its Java wrapper Tess4J, shows how to download the required traineddata files, and provides step‑by‑step Spring Boot 3 integration, configuration, and test code for Chinese, English, and mixed‑language image recognition, plus important usage notes.

OCRSpring Bootimage recognition
0 likes · 8 min read
How to Elegantly Perform OCR in Spring Boot 3 Using Tess4J
Cloud Architecture
Cloud Architecture
Mar 23, 2026 · Backend Development

Spring Boot Private File Protection: Signed URLs, RBAC, Distributed Rate Limiting

This article presents a threat‑model‑driven design for securing private files in Spring Boot, detailing a signed‑URL scheme, RBAC/ABAC access control, Redis‑Lua distributed rate limiting, storage abstraction, HTTPS delivery, observability, key rotation, and production‑grade configuration and deployment practices.

Distributed Rate LimitingFile SecurityRBAC
0 likes · 21 min read
Spring Boot Private File Protection: Signed URLs, RBAC, Distributed Rate Limiting
Java Architect Handbook
Java Architect Handbook
Mar 22, 2026 · Backend Development

Hidden 70 ms Delay in Spring Boot: Tomcat Embed Bug Triggered by Swagger UI

After optimizing a Spring Boot channel service, a mysterious extra ~100 ms appeared per request; detailed tracing with Arthas revealed that embedded Tomcat repeatedly loads Swagger UI META‑INF resources, causing a 70 ms overhead, which can be eliminated by upgrading Tomcat or removing the Swagger dependencies.

ArthasEmbedded Tomcat BugSpring Boot
0 likes · 30 min read
Hidden 70 ms Delay in Spring Boot: Tomcat Embed Bug Triggered by Swagger UI
LuTiao Programming
LuTiao Programming
Mar 22, 2026 · Backend Development

Beyond Tomcat: Which Spring Boot Embedded Server—Jetty or Undertow—Delivers the Best Performance?

The article examines Spring Boot’s three embedded servers—Tomcat, Jetty, and Undertow—explaining why the default Tomcat may become a bottleneck in high‑concurrency, low‑latency microservices, and provides step‑by‑step guidance for switching servers, configuring key parameters, and selecting the optimal server based on workload characteristics.

Embedded ServerJettySpring Boot
0 likes · 9 min read
Beyond Tomcat: Which Spring Boot Embedded Server—Jetty or Undertow—Delivers the Best Performance?
Cloud Architecture
Cloud Architecture
Mar 21, 2026 · Backend Development

Mastering Spring Boot 3 Jackson Annotations: 25+ Core Annotations and Production-Ready Practices

This comprehensive guide walks you through why Jackson annotation tweaks are essential, presents a full annotation hierarchy, demonstrates over 25 core annotations with concrete code examples, covers polymorphic handling, special scenarios, global Spring Boot 3 configuration, production best practices, common pitfalls, performance tips, an end‑to‑end e‑commerce example, and testing strategies, all aimed at mastering JSON serialization in Spring Boot.

JacksonSpring Bootannotations
0 likes · 28 min read
Mastering Spring Boot 3 Jackson Annotations: 25+ Core Annotations and Production-Ready Practices
Cloud Architecture
Cloud Architecture
Mar 20, 2026 · Backend Development

Unlock Spring Boot’s 13 Zero‑Configuration Features to Cut Boilerplate and Boost Productivity

Spring Boot follows the "Convention over Configuration" principle, yet most projects keep 80% of the configuration redundant; this article walks through 13 zero‑configuration features—from embedded servers and auto‑configured data sources to Actuator monitoring and multi‑environment profiles—showing concrete code examples, default values, and production‑grade tweaks that let developers dramatically reduce configuration files and write cleaner Java back‑ends.

Spring BootZero Configurationauto-configuration
0 likes · 26 min read
Unlock Spring Boot’s 13 Zero‑Configuration Features to Cut Boilerplate and Boost Productivity
Coder Trainee
Coder Trainee
Mar 20, 2026 · Backend Development

How to Create a Custom Spring Boot Startup Banner

This guide shows how to display a custom ASCII art logo in the console by adding a banner.txt file to the resources folder and using Spring Boot's built‑in variables such as ${AnsiColor} and ${spring-boot.version} to customize the appearance.

ASCII artSpring Bootbackend development
0 likes · 2 min read
How to Create a Custom Spring Boot Startup Banner
NiuNiu MaTe
NiuNiu MaTe
Mar 20, 2026 · Artificial Intelligence

Why Your AI‑Generated Code Fails and How to Prompt It Effectively

The article explains why AI‑generated code often fails when prompts lack clear context, demonstrates real comparisons between vague and detailed requests, and provides a practical three‑step framework—background, purpose, and requirements—to craft precise prompts that yield reliable, production‑ready code.

AI promptingPrompt EngineeringRedis
0 likes · 7 min read
Why Your AI‑Generated Code Fails and How to Prompt It Effectively
LuTiao Programming
LuTiao Programming
Mar 19, 2026 · Backend Development

Why 90% of Developers Get Java REST API Design Wrong—and the Correct Approach

Most teams treat REST APIs as merely functional, leading to chaotic naming, frequent breaking changes, rising front‑end costs, and JVM pressure; this article re‑examines REST’s constraint‑based architecture and presents concrete Java‑centric design principles, best‑practice guidelines, and implementation examples to build sustainable, evolvable APIs.

API designJAX-RSREST
0 likes · 9 min read
Why 90% of Developers Get Java REST API Design Wrong—and the Correct Approach
Architecture Digest
Architecture Digest
Mar 19, 2026 · Backend Development

Why Open Session in View (OSIV) Can Kill Your Spring Boot Performance

Spring Boot’s default Open Session in View (OSIV) keeps Hibernate sessions open throughout the request, silently triggering lazy‑loaded queries during JSON serialization, leading to N+1 problems and massive DB load under load, but disabling it and using explicit fetch joins restores performance.

HibernateJPAN+1 query
0 likes · 7 min read
Why Open Session in View (OSIV) Can Kill Your Spring Boot Performance
Architect's Ambition
Architect's Ambition
Mar 19, 2026 · Artificial Intelligence

Fix AI Agent Tool-Calling Chaos with Prompt Engineering and MCP Protocol

The article explains how poorly designed prompts cause AI agents to invoke unnecessary or incorrect tools, and shows how a structured prompt template combined with the Model Context Protocol (MCP) and three safety measures can raise tool‑calling accuracy from about 30% to over 95%.

AI AgentMCP protocolPrompt Engineering
0 likes · 13 min read
Fix AI Agent Tool-Calling Chaos with Prompt Engineering and MCP Protocol
Architect's Guide
Architect's Guide
Mar 19, 2026 · Backend Development

Boost API Speed 10× with a Three‑Level Cache Pyramid in Spring Boot 3

This article explains why adding Redis alone may still be slow, introduces a three‑level cache pyramid (Caffeine L1, Redis L2, DB L3) built with Spring Boot 3, and provides complete configuration, code, warm‑up, monitoring, and benchmark results that reduce response time from 28 ms to 2 ms while cutting CPU usage by 35%.

CaffeineRedisSpring Boot
0 likes · 9 min read
Boost API Speed 10× with a Three‑Level Cache Pyramid in Spring Boot 3