Tagged articles
348 articles
Page 1 of 4
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 19, 2026 · Backend Development

Why Logs Alone Fail in Spring Boot: Achieving True Observability

The article explains that relying solely on log statements in Spring Boot applications cannot reveal request identities, latency, async task health, failure details, or cross‑service flows, and demonstrates how to augment logs with MDC correlation IDs, Micrometer metrics, and Zipkin tracing for comprehensive observability.

Observabilityloggingmetrics
0 likes · 9 min read
Why Logs Alone Fail in Spring Boot: Achieving True Observability
Coder Circle
Coder Circle
Apr 23, 2026 · Backend Development

How to Use Spring AI MCP to Let Large Language Models Call Your Java APIs

This article walks through the complete process of building a Spring AI MCP server and client in Java, covering protocol layers, Maven setup, configuration, tool definition with @Tool, bean registration, client integration, common pitfalls, and the language‑agnostic benefits of the MCP protocol.

AI integrationMCPTool Calling
0 likes · 10 min read
How to Use Spring AI MCP to Let Large Language Models Call Your Java APIs
java1234
java1234
Apr 18, 2026 · Backend Development

Beyond Simple Caching: 8 Essential Redis Use Cases for Java Backend Engineers

This guide walks Java backend developers through Redis’s eight core scenarios—caching, distributed locks, rate limiting, session sharing, leaderboards, counters, message and delay queues, bitmap statistics, and geolocation—providing complete code, diagrams, and production‑grade best practices.

BitmapCacheGEO
0 likes · 21 min read
Beyond Simple Caching: 8 Essential Redis Use Cases for Java Backend Engineers
macrozheng
macrozheng
Mar 17, 2026 · Backend Development

How Spring 7.0.4 Fixes Deadlock Bugs and Boosts Startup Speed by Up to 50%

Spring Framework 7.0.4 resolves a rare deadlock caused by concurrent shutdown paths in Kubernetes, introduces dozens of bug fixes and performance tweaks—including faster request routing, annotation caching, and validation refactoring—that together can cut startup time by 30‑50% depending on the JDK version.

JavaSpring Frameworkbug fix
0 likes · 13 min read
How Spring 7.0.4 Fixes Deadlock Bugs and Boosts Startup Speed by Up to 50%
Java Architect Handbook
Java Architect Handbook
Mar 13, 2026 · Backend Development

Boost Spring Boot Startup with Spring Data AOT Repositories

Spring Data AOT (Ahead‑of‑Time) repositories move reflection, method‑name parsing, JPQL generation and proxy creation from runtime to build time, dramatically speeding up Spring Boot 4 application startup, reducing memory usage, and surfacing configuration errors early in the compilation phase.

AoTBackendJava
0 likes · 8 min read
Boost Spring Boot Startup with Spring Data AOT Repositories
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 10, 2026 · Backend Development

Implement Multi-Factor Authentication in Spring Boot 3 with One‑Time Tokens

This guide explains how to add MFA to a Spring Boot 3 application using password plus one‑time token authentication, covering the theory of MFA factors, required dependencies, API definitions, security configuration, token‑generation handling, custom login pages, and the complete verification flow with code snippets and screenshots.

JavaMFAmultifactor-authentication
0 likes · 10 min read
Implement Multi-Factor Authentication in Spring Boot 3 with One‑Time Tokens
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 7, 2026 · Backend Development

Mastering Resource Loading in Spring Boot 3: From @Value to ResourcePatternResolver

This guide explains how to load files in Spring Boot 3 using the Resource abstraction, covering classpath, filesystem, and URL prefixes, @Value injection, direct Resource instantiation, dynamic loading with ResourceLoader, and bulk loading with ResourcePatternResolver, plus common pitfalls and best‑practice code examples.

JavaSpring Frameworkbackend-development
0 likes · 11 min read
Mastering Resource Loading in Spring Boot 3: From @Value to ResourcePatternResolver
Java Tech Enthusiast
Java Tech Enthusiast
Feb 8, 2026 · Backend Development

Mastering AsyncTask Orchestration in Spring Boot with asyncTool

This guide shows how to integrate the asyncTool library into a Spring Boot project, configure custom thread pools, understand its core interfaces, and use code examples to build serial, parallel, and mixed task workflows with full monitoring, fault tolerance, and performance optimizations.

Asyncbackend-developmentspring-boot
0 likes · 12 min read
Mastering AsyncTask Orchestration in Spring Boot with asyncTool
Java Tech Enthusiast
Java Tech Enthusiast
Feb 3, 2026 · Backend Development

Spring Boot 4.0.2: Critical Kafka Fixes, Dependency Upgrades & What to Watch

Spring Boot 4.0.2 is a maintenance release that focuses on fixing over 20 bugs—including a critical Kafka transaction auto‑configuration issue—upgrading more than 40 core dependencies, improving documentation, and introducing minor breaking changes, making it essential for Java developers to upgrade promptly.

Kafkabug fixdependency-upgrade
0 likes · 8 min read
Spring Boot 4.0.2: Critical Kafka Fixes, Dependency Upgrades & What to Watch
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 26, 2026 · Backend Development

How to Build and Use Spring AI Agent Skills in Spring Boot 3

This guide explains what Agent Skills are, shows their markdown‑based structure, and provides a step‑by‑step Spring Boot 3 example—including Maven dependencies, configuration, skill definition, controller registration, and troubleshooting—to enable modular AI capabilities in backend applications.

agent-skillsbackend-developmentspring-ai
0 likes · 10 min read
How to Build and Use Spring AI Agent Skills in Spring Boot 3
IT Services Circle
IT Services Circle
Jan 24, 2026 · Backend Development

Mastering Java Logging: SLF4J Facade, Logback Configuration, and Best Practices

This article explains why logs are essential for debugging and incident analysis, introduces the SLF4J façade to decouple applications from concrete logging implementations, details Spring Boot Logback setup, and provides concrete best‑practice guidelines such as proper log levels, formatting, rolling policies, placeholder usage, and safe exception handling.

best-practiceslogbacklogging
0 likes · 10 min read
Mastering Java Logging: SLF4J Facade, Logback Configuration, and Best Practices
Java Web Project
Java Web Project
Jan 13, 2026 · Backend Development

Mastering Spring 6 & Boot 3: Virtual Threads, Declarative HTTP, GraalVM Native Images, and Advanced Monitoring

This article walks through Spring 6’s core upgrades—including JDK 17 baseline, Project Loom virtual threads, @HttpExchange declarative clients, RFC 7807 ProblemDetail handling, GraalVM native‑image compilation, and Micrometer‑Prometheus monitoring—showing concrete code, performance numbers, migration steps, and real‑world e‑commerce use cases.

HTTP clientVirtual Threadsgraalvm
0 likes · 8 min read
Mastering Spring 6 & Boot 3: Virtual Threads, Declarative HTTP, GraalVM Native Images, and Advanced Monitoring
Top Architect
Top Architect
Jan 11, 2026 · Backend Development

How to Implement Java SPI with Maven Multi‑Module Projects and Spring Boot

This guide explains Java's Service Provider Interface (SPI) mechanism, compares it with traditional APIs, and walks through building a multi‑module Maven project that defines an SPI, provides a default implementation, creates an external plugin jar, loads it at runtime with a custom class loader, and integrates the service into a Spring Boot application.

SPIclasspathplugin
0 likes · 14 min read
How to Implement Java SPI with Maven Multi‑Module Projects and Spring Boot
ITPUB
ITPUB
Jan 7, 2026 · Backend Development

Step‑by‑Step Guide to Upgrade Spring Boot 3.x to 4.0 Without Pain

This guide walks through upgrading a Spring Boot 3.x project to 4.0, covering Gradle version bump, dependency version catalog updates, modular starter changes, the breaking Jackson 3 package rename, Redisson API adjustments, verification steps, and best‑practice upgrade path to avoid common pitfalls.

Gradlejackson-3redisson
0 likes · 12 min read
Step‑by‑Step Guide to Upgrade Spring Boot 3.x to 4.0 Without Pain
Java Web Project
Java Web Project
Jan 4, 2026 · Backend Development

Unlock Spring 6 & Boot 3: Virtual Threads, Declarative HTTP, and GraalVM Native Images

This article walks through the core upgrades in Spring 6 and Spring Boot 3—raising the JDK baseline, adopting Project Loom virtual threads, using the new @HttpExchange declarative client, standardizing error responses with ProblemDetail, compiling to GraalVM native images, and adding Prometheus monitoring—while providing concrete code examples, performance numbers, and a step‑by‑step migration roadmap.

Cloud NativeMicroservicesPrometheus
0 likes · 8 min read
Unlock Spring 6 & Boot 3: Virtual Threads, Declarative HTTP, and GraalVM Native Images
Java One
Java One
Dec 22, 2025 · Backend Development

Injecting Third‑Party Classes in Spring Boot with @Configuration and @Bean

This tutorial explains how to register and inject a third‑party implementation like SwimCoach into a Spring Boot application using a @Configuration class and @Bean methods, covering bean creation, custom IDs, qualifier usage, and practical scenarios such as integrating AWS S3 clients.

AWSConfigurationbean
0 likes · 5 min read
Injecting Third‑Party Classes in Spring Boot with @Configuration and @Bean
Java One
Java One
Dec 8, 2025 · Backend Development

How to Enable Lazy Initialization for Spring Beans to Boost Startup Performance

This article explains Spring's default eager bean creation, demonstrates how to add @Lazy annotations or a global property to defer bean instantiation until needed, and discusses the benefits and drawbacks of lazy loading with code examples and runtime observations.

Backendbeanlazy-initialization
0 likes · 4 min read
How to Enable Lazy Initialization for Spring Beans to Boost Startup Performance
Java One
Java One
Dec 7, 2025 · Backend Development

Resolving Multiple Bean Implementations in Spring Boot with @Qualifier and @Primary

This tutorial explains why Spring Boot fails when several beans implement the same interface, and demonstrates how to use @Qualifier to select a specific bean or @Primary to set a default, including code examples, error messages, and best‑practice recommendations.

backend-developmentdependency-injectionprimary
0 likes · 7 min read
Resolving Multiple Bean Implementations in Spring Boot with @Qualifier and @Primary
Java Tech Enthusiast
Java Tech Enthusiast
Dec 5, 2025 · Backend Development

Essential Spring Boot Dependency Collection for Java Projects

This guide compiles a curated set of commonly used Maven dependencies for Spring Boot applications, covering utilities for I/O, file handling, networking, collections, math, security, XML, reflection, authentication, concurrency, data access, testing, and more, with usage examples and brief evaluations.

dependenciesspring-boot
0 likes · 26 min read
Essential Spring Boot Dependency Collection for Java Projects
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 1, 2025 · Backend Development

Master Test Data Generation with DataFaker in Spring Boot 3 – Real‑World Examples

This article introduces the open‑source DataFaker library for Java, shows how to add it to a Spring Boot 3.4.2 project, and provides step‑by‑step code examples for generating personal, address, collection, enum, SQL, CSV, and localized test data, including schema transformers and expression support.

Test Data Generationbackend-developmentdatafaker
0 likes · 11 min read
Master Test Data Generation with DataFaker in Spring Boot 3 – Real‑World Examples
macrozheng
macrozheng
Nov 20, 2025 · Backend Development

How to Build a Spring Boot OSS Starter Compatible with Amazon S3

This guide walks through creating a reusable Spring Boot starter that abstracts object storage services (OSS) via the Amazon S3 API, covering project setup, Maven dependencies, configuration properties, template interfaces, implementation, auto‑configuration, packaging, and a simple test case.

Amazon S3OSSStarter
0 likes · 15 min read
How to Build a Spring Boot OSS Starter Compatible with Amazon S3
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 5, 2025 · Backend Development

Master Word Document Generation in Spring Boot 3 with poi‑tl: A Step‑by‑Step Guide

This article introduces the open‑source POI‑TL Word template engine, shows how to add the Maven dependency, prepare Word templates and data models, and demonstrates generating tables, lists, sections, charts, and SpEL‑driven content in Spring Boot 3, including a downloadable controller endpoint.

JavaPOI‑TLTemplate Engine
0 likes · 11 min read
Master Word Document Generation in Spring Boot 3 with poi‑tl: A Step‑by‑Step Guide
Java Companion
Java Companion
Oct 30, 2025 · Backend Development

Spring Boot Hot Patch Loader: Quick Fix for Critical Production Bugs

This article explains how to build a Spring Boot hot‑patch loader that uses Java agents and dynamic class loading to apply runtime patches—such as Spring Bean, plain class, or static method replacements—allowing urgent bug fixes in production within minutes without restarting the service.

Dynamic LoadingJava Agenthot-patch
0 likes · 34 min read
Spring Boot Hot Patch Loader: Quick Fix for Critical Production Bugs
macrozheng
macrozheng
Oct 28, 2025 · Backend Development

Why Spring Boot 4.0 Dropped Undertow Support and What It Means for Your Projects

Spring Boot 4.0’s release removes support for the Undertow web container due to incompatibility with the new Servlet 6.1 baseline, prompting developers to migrate to other containers; this article examines the technical reasons, Servlet 6.1 enhancements, Jakarta EE 11 standards, and compatibility across major servers.

backend-developmentjakarta-eeservlet-6.1
0 likes · 10 min read
Why Spring Boot 4.0 Dropped Undertow Support and What It Means for Your Projects
Code Ape Tech Column
Code Ape Tech Column
Oct 28, 2025 · Backend Development

How to Build a Lightweight Spring Boot API Firewall for Real‑Time Protection

This article walks through the design and implementation of a lightweight API firewall embedded in a Spring Boot application, covering background pain points, architecture, core capabilities such as black‑white list, rate limiting, online configuration, detailed Java code, front‑end console, deployment, and practical use cases.

BlacklistMicroservicesapi-firewall
0 likes · 27 min read
How to Build a Lightweight Spring Boot API Firewall for Real‑Time Protection
Ray's Galactic Tech
Ray's Galactic Tech
Oct 18, 2025 · Backend Development

How to Implement Exactly-Once Transactions in Spring Boot with Kafka

This guide explains how to configure Spring Boot and Kafka to achieve Exactly-Once semantics, covering core concepts, Maven dependencies, YAML settings, sample code for producers and consumers, execution flow, and advanced tips for reliable transactional messaging.

BackendExactly-Oncespring-boot
0 likes · 8 min read
How to Implement Exactly-Once Transactions in Spring Boot with Kafka
Ray's Galactic Tech
Ray's Galactic Tech
Oct 15, 2025 · Backend Development

How to Dynamically Refresh Spring Boot Config with @RefreshScope – Complete Guide

This guide explains why dynamic configuration refresh is essential in Spring Boot microservices, introduces the @RefreshScope annotation, walks through project setup, code implementation, endpoint usage, advanced scenarios like Spring Cloud Bus and Kubernetes, and provides best practices and troubleshooting tips.

@RefreshScopeSpring Clouddynamic-config
0 likes · 9 min read
How to Dynamically Refresh Spring Boot Config with @RefreshScope – Complete Guide
Ray's Galactic Tech
Ray's Galactic Tech
Oct 14, 2025 · Backend Development

Choosing the Right Distributed ID Strategy for Spring Boot: A Complete Guide

Generating globally unique, ordered, high‑performance IDs is essential for distributed systems, and this guide compares common ID schemes, outlines key selection criteria, and provides step‑by‑step Spring Boot integration examples using Baidu UidGenerator, CosId, and Snowflake, along with configuration, code, and best‑practice recommendations.

Backendcosiddistributed-id
0 likes · 7 min read
Choosing the Right Distributed ID Strategy for Spring Boot: A Complete Guide
Cognitive Technology Team
Cognitive Technology Team
Oct 12, 2025 · Backend Development

Java Diff Utils Guide: Compare Text, Generate Patches, and Visualize Changes

This tutorial introduces Java Diff Utils, a lightweight open-source library for computing text differences, showing how to set it up in a Spring Boot project, compare string lists, generate unified diffs, apply patches, and create side-by-side visualizations for robust version-control and change-tracking in Java applications.

diff-utilspatchspring-boot
0 likes · 11 min read
Java Diff Utils Guide: Compare Text, Generate Patches, and Visualize Changes
Lin is Dream
Lin is Dream
Oct 11, 2025 · Backend Development

Why Your Spring Boot File Upload Fails: Async Reading, Temp Files, and Encoding Gotchas

This article explains common pitfalls when handling file uploads in Spring Boot, including temporary file lifecycle causing FileNotFound errors in asynchronous processing, and character encoding mismatches that lead to garbled text, and provides practical solutions such as size limits, main‑thread parsing, and BOM‑based charset detection.

BOMMultipartFileencoding
0 likes · 7 min read
Why Your Spring Boot File Upload Fails: Async Reading, Temp Files, and Encoding Gotchas
Ray's Galactic Tech
Ray's Galactic Tech
Oct 10, 2025 · Backend Development

Step-by-Step Guide to Migrating Spring Boot 2.x to 3.x (2024)

This practical guide walks you through every stage of upgrading a Spring Boot 2.x application to 3.x, covering pre‑migration preparation, dependency changes, code refactoring, security configuration updates, configuration file adjustments, third‑party library compatibility, common pitfalls, verification steps, and optional native image building.

jakarta-eeopenrewritespring-boot
0 likes · 10 min read
Step-by-Step Guide to Migrating Spring Boot 2.x to 3.x (2024)
Cognitive Technology Team
Cognitive Technology Team
Sep 27, 2025 · Backend Development

Why @RefreshScope Returns Stale Data After Refresh and 4 Reliable Fixes

This article explains why Spring Cloud @RefreshScope beans may still return old configuration values after a /actuator/refresh call, analyzes the underlying proxy mechanism, and presents four practical solutions—including ObjectProvider and @ConfigurationProperties—along with pitfalls, validation steps, and performance comparisons.

@RefreshScopeNacosobjectprovider
0 likes · 7 min read
Why @RefreshScope Returns Stale Data After Refresh and 4 Reliable Fixes
Ray's Galactic Tech
Ray's Galactic Tech
Sep 20, 2025 · Backend Development

How to Upgrade Spring Boot 2.x to 3.x: Key Pitfalls, Jakarta EE Migration, and Best Practices

This guide explains the major changes when moving from Spring Boot 2.x to 3.x, covering JDK requirements, full Jakarta EE package renaming, third‑party library compatibility, Spring Security redesign, configuration adjustments, testing updates, new features, and step‑by‑step migration recommendations.

Backendspring-bootspring-security
0 likes · 10 min read
How to Upgrade Spring Boot 2.x to 3.x: Key Pitfalls, Jakarta EE Migration, and Best Practices
macrozheng
macrozheng
Aug 26, 2025 · Backend Development

Master MapStruct: Powerful Java Object Mapping for Spring Boot Projects

This guide introduces MapStruct, a Java annotation‑based mapper that outperforms BeanUtils by providing fast, type‑safe conversions between PO, VO, DTO and nested objects, supporting collections, custom logic, dependency injection, constants, expressions, and exception handling within Spring Boot applications.

Object Mappingdtomapper
0 likes · 17 min read
Master MapStruct: Powerful Java Object Mapping for Spring Boot Projects
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 25, 2025 · Fundamentals

Why java.util.Date Is a Pitfall and How to Modernize with java.time

This article explains the shortcomings of java.util.Date—its misleading name, mutability, poor API design, thread‑unsafe formatting, and time‑zone ambiguities—provides concrete code examples of these issues, and demonstrates modern, immutable replacements from the java.time package such as Instant, LocalDate, LocalDateTime, ZonedDateTime and Period for safer, clearer date‑time handling in Java applications.

datejava-timespring-boot
0 likes · 13 min read
Why java.util.Date Is a Pitfall and How to Modernize with java.time
Architecture Digest
Architecture Digest
Aug 19, 2025 · Backend Development

Refactor Spring Controllers for Unified Responses and Robust Validation

This article explains how to refactor Spring MVC controllers by introducing a unified response wrapper, handling String conversion issues with ResponseBodyAdvice, configuring message converters, applying JSR‑303 validation, creating custom validators and exceptions, and centralizing error handling for cleaner, more maintainable backend code.

exception-handlingresponse-body-advicespring-boot
0 likes · 17 min read
Refactor Spring Controllers for Unified Responses and Robust Validation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 13, 2025 · Backend Development

Master Dynamic Scheduling in Spring Boot 3: From Database‑Driven Cron to Runtime Task Management

This article demonstrates how to replace static @Scheduled annotations with database‑driven Cron expressions in Spring Boot 3, covering task entity design, repository methods, service validation, thread‑pool scheduler configuration, dynamic task registration, testing, and security‑focused optimizations for safe runtime scheduling.

Dynamic Schedulingcronspring-boot
0 likes · 11 min read
Master Dynamic Scheduling in Spring Boot 3: From Database‑Driven Cron to Runtime Task Management
Java Architecture Diary
Java Architecture Diary
Aug 5, 2025 · Backend Development

Build a Spring Boot MCP Server to Let AI Safely Call Your App

This guide walks you through creating a lightweight Spring Boot MCP service that securely exposes CRM data as AI‑callable tools, covering project setup, data model definition, tool implementation, registration, and both STDIO and SSE client connections for seamless AI integration.

MCPspring-boot
0 likes · 9 min read
Build a Spring Boot MCP Server to Let AI Safely Call Your App
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 4, 2025 · Backend Development

Master Spring Batch Partitioning in Spring Boot 3 to Process Millions of Records Efficiently

This article demonstrates how to use Spring Batch partitioning in Spring Boot 3, covering the architecture of manager and worker steps, custom partitioner implementation, job and step configuration, essential beans, and a complete runnable example that processes millions of records with parallel threads.

PartitioningSpring Batchdata-processing
0 likes · 10 min read
Master Spring Batch Partitioning in Spring Boot 3 to Process Millions of Records Efficiently
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 19, 2025 · Backend Development

Boost Your Spring Boot 3 Projects with 20 Powerful Tips & Real-World Examples

This article presents a curated collection of 20 practical Spring Boot 3 techniques—from configuration and custom banners to DevTools, Actuator, validation, AOP logging, caching, async tasks, dynamic data sources, Jackson customization, scheduling, Testcontainers testing, and retry mechanisms—helping developers dramatically improve productivity and build robust backend applications.

ActuatorConfigurationDevTools
0 likes · 17 min read
Boost Your Spring Boot 3 Projects with 20 Powerful Tips & Real-World Examples
Su San Talks Tech
Su San Talks Tech
Jul 11, 2025 · Backend Development

Mastering Idempotency in Java Microservices: 6 Proven Strategies

This article explains the concept of idempotency in Java backend services, why it is essential for reliable microservice interactions, and presents six practical implementation schemes—including unique indexes, token mechanisms, pessimistic and optimistic locks, distributed locks, and state‑machine constraints—along with code examples and integration tips for Spring Boot projects.

IdempotencyMicroservicesdatabase
0 likes · 21 min read
Mastering Idempotency in Java Microservices: 6 Proven Strategies
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 9, 2025 · Backend Development

6 Proven Ways to Measure API Latency in Spring Boot 3

This article presents eight practical techniques—including manual StopWatch, custom AOP, interceptor, filter, event listener, Micrometer + Prometheus, Arthas, and SkyWalking—to accurately record and monitor Spring Boot API request times, comparing their intrusiveness, scope, and suitability for different scenarios.

API monitoringSkyWalkingmicrometer
0 likes · 14 min read
6 Proven Ways to Measure API Latency in Spring Boot 3
Architect's Must-Have
Architect's Must-Have
Jun 6, 2025 · Backend Development

Why Simple synchronized Locks Fail in Distributed Systems and How Redisson Fixes Them

This article examines common pitfalls of using single‑machine synchronization and basic SETNX locks for high‑concurrency stock‑deduction scenarios, demonstrates step‑by‑step improvements—including lock expiration and Redisson’s Lua‑based implementation—and discusses trade‑offs between Redis and Zookeeper for distributed locking.

distributed-lockredisredisson
0 likes · 16 min read
Why Simple synchronized Locks Fail in Distributed Systems and How Redisson Fixes Them
Programmer DD
Programmer DD
Jun 4, 2025 · Backend Development

How a Spring Boot Upgrade Cut Our AWS Bill by 45%

Facing a soaring AWS bill despite stable traffic, we traced the cost to over‑provisioned EC2 instances and leaking database connections, then upgraded to Spring Boot 3.5 and applied targeted pool, transaction, and JPA tweaks, achieving a 45% reduction in monthly spend while boosting performance and reliability.

Database Connectionaws-cost-optimizationperformance-tuning
0 likes · 16 min read
How a Spring Boot Upgrade Cut Our AWS Bill by 45%
Top Architect
Top Architect
Jun 3, 2025 · Backend Development

Enabling Spring Boot DevTools, Lombok, and Configuration Processor for Hot Reload and Code Generation

This article explains how to activate Spring Boot DevTools for hot deployment, integrate Lombok to simplify Java beans, and add the Spring Configuration Processor for property metadata, providing step‑by‑step IDE settings, Maven dependencies, and configuration snippets for a smoother backend development experience.

Configuration ProcessorDevToolsJava
0 likes · 8 min read
Enabling Spring Boot DevTools, Lombok, and Configuration Processor for Hot Reload and Code Generation
Java Architecture Diary
Java Architecture Diary
May 30, 2025 · Backend Development

What’s New in Spring Cloud 2025.0.0? Major Updates and Migration Guide

Spring Cloud 2025.0.0 "Northfields" was released on May 29, 2025, fully compatible with Spring Boot 3.5.0, bringing major enhancements to core microservice components, new Gateway features, Config AWS‑S3 support, Kubernetes config source integration, CircuitBreaker reactive isolation, Eureka client upgrades, and a detailed upgrade guide for developers.

BackendMicroservicesspring-boot
0 likes · 10 min read
What’s New in Spring Cloud 2025.0.0? Major Updates and Migration Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 26, 2025 · Backend Development

How to Dynamically Register Beans in Spring Boot 3 Using BeanDefinitionRegistryPostProcessor

This article demonstrates how to dynamically register Spring Boot 3 beans using BeanDefinitionRegistryPostProcessor and configuration properties, covering property setup, bean class definition, post‑processor implementation, registration in a configuration class, and a CommandLineRunner test that prints the created beans.

BeanDefinitionRegistryPostProcessorconfiguration-propertiesdynamic-bean-registration
0 likes · 7 min read
How to Dynamically Register Beans in Spring Boot 3 Using BeanDefinitionRegistryPostProcessor
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 13, 2025 · Backend Development

Master Spring Boot 3: 5 Real-World Cases & Code Samples

This article presents a curated collection of practical Spring Boot 3 examples—including JSON parsing, automatic database script execution, custom DataSource configuration, properties/YAML loading, and data binding with validation—complete with code snippets and configuration details for Java backend developers.

Backenddatabasespring-boot
0 likes · 8 min read
Master Spring Boot 3: 5 Real-World Cases & Code Samples
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 2, 2025 · Backend Development

Unlock Spring Boot 3: Master MethodLocatingFactoryBean & MethodInvokingFactoryBean

This article introduces two powerful Spring Boot 3 classes—MethodLocatingFactoryBean and MethodInvokingFactoryBean—explains their purpose, shows step‑by‑step configuration and usage with code examples, and demonstrates how to invoke methods dynamically in a Spring application.

backend-developmentmethodinvokingfactorybeanmethodlocatingfactorybean
0 likes · 6 min read
Unlock Spring Boot 3: Master MethodLocatingFactoryBean & MethodInvokingFactoryBean
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 17, 2025 · Backend Development

Mastering @HttpExchange in Spring Boot 3: Real‑World Cases & Advanced Tips

This article compares Feign and Spring 6's @HttpExchange for remote service calls, walks through practical examples—including interface definition, proxy creation, various client options, testing, reactive returns, custom argument resolvers, and error handling—while providing complete code snippets for Spring Boot 3.4.2.

MicroservicesRestClientfeign
0 likes · 9 min read
Mastering @HttpExchange in Spring Boot 3: Real‑World Cases & Advanced Tips
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 5, 2025 · Backend Development

Master Spring Boot 3: 110 Real-World Cases and Advanced Configuration Tricks

This article presents a curated collection of 110 Spring Boot 3 practical examples, covering @Profile usage, PropertySource configuration, resource loading, bean validation, and automatic proxy creation, providing developers with hands‑on code snippets and clear explanations to enhance backend development skills.

BackendBean Validationannotations
0 likes · 8 min read
Master Spring Boot 3: 110 Real-World Cases and Advanced Configuration Tricks
Programmer DD
Programmer DD
Mar 25, 2025 · Artificial Intelligence

How to Build an MCP Client‑Server with Spring AI for LLM‑Powered Apps

This article demonstrates how to implement the Model Context Protocol (MCP) using Spring AI, covering the creation of MCP hosts, clients, and servers, configuring dependencies, integrating Claude, adding Brave Search and filesystem tools, and building a functional chatbot that leverages external data sources through standardized LLM interfaces.

LLMModel Context Protocolai-integration
0 likes · 15 min read
How to Build an MCP Client‑Server with Spring AI for LLM‑Powered Apps
Top Architect
Top Architect
Mar 16, 2025 · Backend Development

Integrating Flowable Workflow Engine with Spring Boot: A Comprehensive Guide

This article provides a step‑by‑step tutorial on using the Flowable BPMN engine within a Spring Boot project, covering workflow fundamentals, key concepts, Maven dependencies, BPMN diagram creation, service task implementation, runtime APIs, unit testing, and common troubleshooting tips.

BackendFlowablespring-boot
0 likes · 20 min read
Integrating Flowable Workflow Engine with Spring Boot: A Comprehensive Guide
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Mar 10, 2025 · Backend Development

How to Gracefully Shut Down a Spring Boot Application

This article explains why force‑killing a Spring Boot process is unsafe and walks through four practical ways—using Actuator, ApplicationContext.close(), PID‑based kill commands, and SpringApplication.exit()—to achieve a graceful shutdown while preserving in‑flight tasks and releasing resources.

ActuatorGraceful ShutdownJava
0 likes · 9 min read
How to Gracefully Shut Down a Spring Boot Application
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Mar 7, 2025 · Backend Development

Spring Cloud Feign Deep Dive: Architecture, Usage, and Practical Demo

This article walks through the background of Spring Cloud's Feign client, explains its core concepts, shows step‑by‑step project setup with Eureka services, demonstrates remote calls and file upload extensions using Feign‑Form, and concludes with a functional microservice example.

JavaSpring Cloudeureka
0 likes · 10 min read
Spring Cloud Feign Deep Dive: Architecture, Usage, and Practical Demo
Top Architect
Top Architect
Jan 30, 2025 · Backend Development

OAuth 2.0 Tutorial with Spring Boot Implementation and Testing

This article introduces OAuth 2.0 concepts, explains its roles and grant types, and provides a complete Spring Boot implementation—including configuration classes, dependency setup, and test endpoints—followed by step‑by‑step testing results with screenshots.

AuthenticationBackendOAuth2
0 likes · 13 min read
OAuth 2.0 Tutorial with Spring Boot Implementation and Testing
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 24, 2025 · Backend Development

Master Dynamic Configuration Refresh in Spring Cloud Without Nacos – Step‑by‑Step Guide

This article walks you through configuring Spring Cloud for dynamic property updates, covering dependency setup, enabling bootstrap, defining configuration properties, exposing a refresh endpoint, and listening to EnvironmentChangeEvent, all illustrated with complete code snippets and screenshots.

BackendJavaconfiguration-refresh
0 likes · 7 min read
Master Dynamic Configuration Refresh in Spring Cloud Without Nacos – Step‑by‑Step Guide
Architect
Architect
Jan 20, 2025 · Backend Development

Resolving a 100 ms Latency Issue in Spring Boot’s Embedded Tomcat Using Arthas Tracing

The article details a step‑by‑step investigation of an unexpected ~100 ms latency in a Spring Boot‑based channel system, covering network checks, curl measurements, Arthas trace and watch commands, identification of TomcatJarInputStream’s repeated jar‑resource loading caused by Swagger dependencies, and the final fix by upgrading the embedded Tomcat version.

ArthasSwaggerTomcat
0 likes · 14 min read
Resolving a 100 ms Latency Issue in Spring Boot’s Embedded Tomcat Using Arthas Tracing
macrozheng
macrozheng
Jan 15, 2025 · Backend Development

Boost PostgreSQL IN Query Performance with Spring AOP Parallel Splitting

This article explains how to improve PostgreSQL IN‑query performance in Spring Boot applications by splitting large IN parameter lists into smaller batches, executing them concurrently with a custom AOP annotation, and merging the results, providing a reusable annotation‑driven solution for high‑throughput backend services.

Javain-querymultithreading
0 likes · 10 min read
Boost PostgreSQL IN Query Performance with Spring AOP Parallel Splitting
macrozheng
macrozheng
Jan 13, 2025 · Backend Development

Implement Dynamic Discount Rules in Spring Boot with Drools

This guide shows how to integrate the Drools rule engine into a Spring Boot application to calculate e‑commerce discounts dynamically, covering Maven dependencies, configuration, model definitions, DRL rule creation, service and controller layers, and a simple test scenario demonstrating rule‑driven discount computation.

BackendDroolsJava
0 likes · 11 min read
Implement Dynamic Discount Rules in Spring Boot with Drools
Selected Java Interview Questions
Selected Java Interview Questions
Dec 29, 2024 · Backend Development

Using @Import Annotation for Modular Development in Spring Boot

This article explains how to use Spring Boot's @Import annotation to modularize a monolithic application by splitting functionality into Maven modules, configuring component scanning, creating custom annotations, and leveraging ImportSelector and ImportBeanDefinitionRegistrar for dynamic bean registration and conditional loading.

Import AnnotationModular Developmentspring-boot
0 likes · 19 min read
Using @Import Annotation for Modular Development in Spring Boot
Architect
Architect
Dec 6, 2024 · Backend Development

Microservice Permission Design and Implementation with Shiro in Spring Boot

This article presents a comprehensive guide to designing and implementing fine‑grained permission control for microservices using Apache Shiro, covering the architectural design, shared session handling with Redis, custom cache and session managers, realm implementation, and practical testing across user and video services.

AuthorizationSession ManagementShiro
0 likes · 24 min read
Microservice Permission Design and Implementation with Shiro in Spring Boot
Architecture Digest
Architecture Digest
Nov 19, 2024 · Backend Development

Implementing Idempotency in Spring Boot Using Redis and Custom Annotations

This article explains the concept of idempotency, identifies which HTTP operations are naturally idempotent, describes why idempotency is needed in scenarios like timeout retries, async callbacks and message queues, and provides a complete Spring Boot implementation using a custom annotation, Redis storage, AOP interception, token generation and example controllers.

BackendIdempotencyredis
0 likes · 8 min read
Implementing Idempotency in Spring Boot Using Redis and Custom Annotations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 12, 2024 · Backend Development

Unlock Rapid API Development with Magic‑API: A Spring Boot 3 Practical Guide

This article introduces the Magic‑API framework for Java, explains its extensive features, walks through environment setup, dependency configuration, and demonstrates real‑world use cases such as data source management, pagination, SQL, MyBatis, HTTP calls, Redis integration, and inline Java execution within a Spring Boot 3 project.

API developmentBackendJava
0 likes · 6 min read
Unlock Rapid API Development with Magic‑API: A Spring Boot 3 Practical Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 25, 2024 · Backend Development

Mastering Spring Boot 3 Validation: From Annotations to Global Error Handling

This article provides a comprehensive guide to data validation in Spring Boot 3, covering Bean Validation annotations, controller and service‑layer checks, JPA entity validation, custom constraints, validation groups, programmatic validation, and internationalized error messages with practical code examples and tests.

Bean ValidationJavainternationalization
0 likes · 16 min read
Mastering Spring Boot 3 Validation: From Annotations to Global Error Handling
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 8, 2024 · Backend Development

7 Ways to Load Property Files in Spring Boot 3.2.5

This article explains seven practical methods for loading property files in Spring Boot, covering default locations, external files, classpath resources, profile‑specific files, custom @PropertySource usage, and overriding via environment variables or JVM system properties.

Javabackend-developmentproperty-files
0 likes · 7 min read
7 Ways to Load Property Files in Spring Boot 3.2.5