Tagged articles
348 articles
Page 2 of 4
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 29, 2024 · Backend Development

How to Apply a Global URL Prefix to All Spring Boot Controllers

This article explains multiple ways to apply a common URL prefix to all Spring Boot controllers, covering servlet‑context configuration, property settings, annotation‑based approaches, server‑side forwarding, and Nginx reverse‑proxy techniques, with code samples and discussion of their advantages and drawbacks.

BackendNginxannotation
0 likes · 7 min read
How to Apply a Global URL Prefix to All Spring Boot Controllers
macrozheng
macrozheng
Sep 25, 2024 · Backend Development

Master Distributed Task Scheduling with XXL-JOB: Docker Setup to Spring Boot Integration

This comprehensive guide explains what XXL-JOB is, why distributed task scheduling is needed, and walks through installing XXL-JOB with Docker, configuring it in a Spring Boot project, creating custom jobs, handling sharding, ensuring idempotency, and monitoring execution, all illustrated with code and diagrams.

Distributed SchedulingXXL-JOBspring-boot
0 likes · 21 min read
Master Distributed Task Scheduling with XXL-JOB: Docker Setup to Spring Boot Integration
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 17, 2024 · Backend Development

5 Must‑Know Spring Boot 3.2.5 Features You Can Start Using Today

This article walks through five practical Spring Boot 3.2.5 enhancements—including collection‑parameter validation, wildcard @PropertySource loading, improved method injection, custom thread‑pool scheduling, and robust Number‑type request handling—showing code examples, console output, and migration tips from older versions.

BackendJavaParameter Binding
0 likes · 8 min read
5 Must‑Know Spring Boot 3.2.5 Features You Can Start Using Today
ITPUB
ITPUB
Aug 10, 2024 · Backend Development

Why Did Our Backend Freeze? A Deep Dive into Connection‑Pool Exhaustion and Slow SQL

A detailed post‑mortem of a three‑time service outage reveals how hidden bugs, frequent FullGC, a saturated connection pool, and an unindexed slow SQL query crippled a Spring Boot backend, and shows the step‑by‑step troubleshooting, temporary fixes, and lasting improvements applied.

Backendconnection-poolslow SQL
0 likes · 11 min read
Why Did Our Backend Freeze? A Deep Dive into Connection‑Pool Exhaustion and Slow SQL
Java Backend Technology
Java Backend Technology
Aug 6, 2024 · Backend Development

Master Spring Boot Project Setup: From IDE to Version Management & Common Tools

This guide walks through initializing a Spring Boot project, handling IDE licensing hurdles, ensuring compatible Spring Cloud, Spring Boot, and Kafka versions, leveraging Maven for dependency management, and integrating essential utilities like global exception handling, logging, CORS, Swagger, and helpful development tools.

BackendDevOpsKafka
0 likes · 11 min read
Master Spring Boot Project Setup: From IDE to Version Management & Common Tools
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 18, 2024 · Backend Development

6 Proven Strategies to Eliminate if‑else in Spring Boot Projects

This article explains why excessive if‑else statements hurt Spring Boot code and presents six practical techniques—including strategy pattern, enums, polymorphism, lambda expressions, command pattern, and guard clauses—along with complete Java examples to make your backend more modular, readable, and maintainable.

BackendJavadesign-patterns
0 likes · 10 min read
6 Proven Strategies to Eliminate if‑else in Spring Boot Projects
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 11, 2024 · Backend Development

Why Your logback-spring.xml Isn’t Working and How to Fix It

This article walks through the complete troubleshooting process for a non‑functional logback‑spring.xml in a Spring Boot application, covering background, configuration steps, common pitfalls such as variable resolution and dependency conflicts, remote debugging techniques, and final recommendations to ensure proper log output.

ConfigurationDebuggingJava
0 likes · 9 min read
Why Your logback-spring.xml Isn’t Working and How to Fix It
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 5, 2024 · Backend Development

How to Resolve Common Spring Boot Configuration Pitfalls and Circular Dependency Errors

This article explains why @Configuration classes can cause circular dependency and custom BeanPostProcessor issues in Spring Boot, and provides practical solutions such as enabling circular references, using static @Bean methods, and preferring constructor injection for reliable bean injection.

BeanPostProcessorJavacircular-dependency
0 likes · 6 min read
How to Resolve Common Spring Boot Configuration Pitfalls and Circular Dependency Errors
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 28, 2024 · Backend Development

Master Spring Boot 3.2.5: Custom Failure Analyzer, Environment & Web Server Settings

This guide walks through creating custom FailureAnalyzers, registering EnvironmentPostProcessors, configuring non‑web applications, switching profiles for YAML settings, altering the embedded web server, and customizing server factories in Spring Boot 3.2.5, complete with code examples and screenshots.

BackendJavafailure-analyzer
0 likes · 9 min read
Master Spring Boot 3.2.5: Custom Failure Analyzer, Environment & Web Server Settings
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 12, 2024 · Backend Development

Fixing Spring Boot 3 Deadlock: Reproduce, Analyze, and Resolve Custom Event Publishing Issues

This article demonstrates how a custom event published from a constructor in Spring Boot 3.2.5 can cause a deadlock, explains the underlying lock contention, and provides two solutions: using SmartInitializingSingleton to defer publishing and upgrading to Spring 6.2's multithreaded bean initialization.

Javacustom-eventdeadlock
0 likes · 6 min read
Fixing Spring Boot 3 Deadlock: Reproduce, Analyze, and Resolve Custom Event Publishing Issues
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 28, 2024 · Backend Development

Master Multi‑Tenant Architecture in Spring Boot 3.3: Schemas, Separate DBs

This article explains three common multi‑tenant implementation strategies—separate databases, separate schemas, and partitioned (discriminator) data—detailing their advantages, drawbacks, and practical Spring Boot 3.3 code examples for entity definition, tenant‑ID resolution, data source routing, and request interception to achieve secure, scalable SaaS applications.

BackendJavaMultitenancy
0 likes · 11 min read
Master Multi‑Tenant Architecture in Spring Boot 3.3: Schemas, Separate DBs
Java Architect Essentials
Java Architect Essentials
Apr 22, 2024 · Backend Development

Integrating Spring Boot with Minio for Direct File Upload Using Presigned Credentials, Chunked Uploads, and Merging

This article demonstrates how to integrate Spring Boot with Minio, compare uploading files via the backend versus direct client uploads with presigned credentials, and provides complete code examples for environment setup, configuration, presign endpoint, front‑end upload logic, chunked uploads, and server‑side file merging.

Presigned URLchunked-uploadfile-upload
0 likes · 16 min read
Integrating Spring Boot with Minio for Direct File Upload Using Presigned Credentials, Chunked Uploads, and Merging
Code Ape Tech Column
Code Ape Tech Column
Apr 15, 2024 · Backend Development

Best Practices for Dockerizing Spring Boot Applications

This guide explains why Docker is essential for Java developers and provides step‑by‑step best practices—including selecting the right base image, using multi‑stage builds, environment variables, health checks, Docker cache, .dockerignore files, and image labels—complete with ready‑to‑use Dockerfile examples for Spring Boot projects.

DockerDockerfileHealthcheck
0 likes · 12 min read
Best Practices for Dockerizing Spring Boot Applications
Top Architect
Top Architect
Apr 1, 2024 · Backend Development

Spring Boot Startup Configuration, Extension Points, and Performance Optimization Techniques

This article explains the principles of Spring Boot startup configuration, demonstrates how to intervene using ApplicationContextInitializer, SpringApplicationRunListener, ApplicationRunner, and CommandLineRunner, and provides practical optimization tips such as reducing dependencies, adjusting auto‑configuration, enabling lazy loading, compile‑time optimizations, log level tuning, and caching to speed up application startup.

Backendspring-bootstartup optimization
0 likes · 35 min read
Spring Boot Startup Configuration, Extension Points, and Performance Optimization Techniques
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 25, 2024 · Backend Development

Mastering Custom Error Handling in Spring Boot 2.7: From BasicErrorController to ErrorPageRegistrar

This guide explains how to customize Spring Boot's default error handling—including enabling RFC‑7807 problem details, extending BasicErrorController, using @ControllerAdvice for JSON responses, creating custom HTML error pages, and registering error pages directly with the embedded servlet container.

BackendCustom Error Pageerror-handling
0 likes · 7 min read
Mastering Custom Error Handling in Spring Boot 2.7: From BasicErrorController to ErrorPageRegistrar
macrozheng
macrozheng
Feb 6, 2024 · Backend Development

How to Package Spring Boot Apps with External Dependencies Using Maven

This article explains how to package a Spring Boot application so that its dependencies are stored externally and loaded at runtime using Maven plugins and the PropertiesLauncher, enabling easy replacement of individual libraries without rebuilding the entire fat jar.

Backendexternal-dependenciesmaven
0 likes · 6 min read
How to Package Spring Boot Apps with External Dependencies Using Maven
Architect's Guide
Architect's Guide
Jan 18, 2024 · Backend Development

Spring Boot Integration with Redis for Search History, Hot Search, and Sensitive Word Filtering

This article demonstrates how to integrate Spring Boot with Redis to implement personal search‑history storage, a hot‑search ranking feature, and a DFA‑based sensitive‑word filtering mechanism, providing complete Maven dependencies, configuration, utility classes, service logic, and controller endpoints.

Hot SearchSensitive Word Filterspring-boot
0 likes · 18 min read
Spring Boot Integration with Redis for Search History, Hot Search, and Sensitive Word Filtering
macrozheng
macrozheng
Jan 9, 2024 · Backend Development

Skip Manual Controllers: Auto‑Generate SpringBoot APIs with Lego‑Starter

This guide shows how to eliminate manual SpringBoot Controllers by using the Lego‑Starter to automatically expose CommandService and QueryService as web endpoints, integrate with Swagger for dynamic API documentation, and provides step‑by‑step setup, code examples, and architectural design for unified controller handling.

auto-generated-controllersbackend-developmentlego-starter
0 likes · 9 min read
Skip Manual Controllers: Auto‑Generate SpringBoot APIs with Lego‑Starter
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 18, 2023 · Backend Development

How to Dynamically Adjust Log Levels in Spring Boot 2.7

This guide explains how to use Spring Boot configuration files and runtime APIs to change log levels on the fly, covering basic log level concepts, a practical controller example, dynamic endpoint implementation, disabling logs, and Spring Cloud integration for flexible logging management.

Backenddynamic-configurationspring-boot
0 likes · 7 min read
How to Dynamically Adjust Log Levels in Spring Boot 2.7
Su San Talks Tech
Su San Talks Tech
Nov 23, 2023 · Backend Development

Mastering Idempotency in Distributed Java Services: Strategies & Code

Idempotency ensures that repeated requests produce the same outcome without side effects, and this article explains its concepts, necessity in microservices, relationship with concurrency, and presents six practical implementation methods—unique indexes, token, pessimistic and optimistic locks, distributed locks, and state machines—complete with Java Spring Boot code examples.

BackendIdempotencydistributed-systems
0 likes · 23 min read
Mastering Idempotency in Distributed Java Services: Strategies & Code
Code Ape Tech Column
Code Ape Tech Column
Aug 21, 2023 · Backend Development

Understanding Default Tomcat Settings in Spring Boot 2.7.10 and Tuning Connection Parameters

This article explains the default Tomcat configuration bundled with Spring Boot 2.7.10, details key parameters such as accept‑count, max‑connections, thread pool sizes and timeouts, shows how Tomcat’s internal threads work, provides sample YAML configurations and testing results, and offers practical tuning guidance for Java backend services.

connection timeoutspring-bootthread-pool
0 likes · 13 min read
Understanding Default Tomcat Settings in Spring Boot 2.7.10 and Tuning Connection Parameters
Java Architecture Diary
Java Architecture Diary
Aug 14, 2023 · Cloud Native

Explore Spring Cloud 2023.0 (Leiden) Milestone: New Features & Maven Setup

Spring Cloud 2023.0 (Leiden) milestone, built on Spring Boot 3.2, introduces updated dependencies, repository configurations, and early support for MVC Server in Spring Cloud Gateway, enhanced Kafka Streams handling in Spring Cloud Stream, Java HttpClient in OpenFeign, and upgraded Kubernetes integration, with source code and deployment links provided.

Microservicescloud-nativemaven
0 likes · 6 min read
Explore Spring Cloud 2023.0 (Leiden) Milestone: New Features & Maven Setup
Code Ape Tech Column
Code Ape Tech Column
Aug 8, 2023 · Backend Development

Introducing retrofit-spring-boot-starter: A Lightweight HTTP Client for Spring Boot

This article presents retrofit-spring-boot-starter, a lightweight Spring Boot starter that simplifies HTTP calls by integrating Retrofit with customizable OkHttpClient, annotation‑driven interceptors, logging, retry, circuit‑breaker, error decoding, and flexible converters, along with detailed usage examples and configuration guidelines.

HTTP clientRetrofitcircuit-breaker
0 likes · 20 min read
Introducing retrofit-spring-boot-starter: A Lightweight HTTP Client for Spring Boot
Programmer DD
Programmer DD
Jul 29, 2023 · Cloud Native

What’s New in Spring Cloud 2022.0.4? Key Updates and Migration Tips

Spring Cloud 2022.0.4 has been released on Maven Central, built on Spring Boot 3.0.9, and introduces major changes such as discontinued CLI and Cloudfoundry support, migration of Sleuth to Micrometer Tracing, numerous OpenFeign and Netflix updates, plus a full list of updated modules and their versions.

cloud-nativerelease-notesspring-boot
0 likes · 6 min read
What’s New in Spring Cloud 2022.0.4? Key Updates and Migration Tips
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 5, 2023 · Backend Development

How to Build a Leave Approval Workflow with Activiti 7 and Spring Boot

This guide walks through setting up a Spring Boot 2.2.11 environment with Activiti 7.1, configuring Maven dependencies, explaining the Activiti database tables, defining a BPMN leave‑request process, implementing service and controller layers, and demonstrating API calls to deploy, start, query, and complete the workflow.

ActivitiBPMNProcess Engine
0 likes · 18 min read
How to Build a Leave Approval Workflow with Activiti 7 and Spring Boot
Java High-Performance Architecture
Java High-Performance Architecture
May 30, 2023 · Information Security

Master Sa-Token: Lightweight Java Authentication & Authorization for Secure Backend Development

This article introduces Sa-Token, a lightweight Java permission authentication framework, explains its core features such as login, token handling, permission and role checks, demonstrates practical code snippets, and provides step‑by‑step integration guides for Spring Boot and WebFlux projects.

Sa-Tokenspring-boot
0 likes · 24 min read
Master Sa-Token: Lightweight Java Authentication & Authorization for Secure Backend Development
Java Backend Technology
Java Backend Technology
May 25, 2023 · Backend Development

Why FastJson’s Date Formatting Fails on Linux and How to Fix It

This article recounts the author's real‑world debugging of FastJson, covering unexpected date‑format priority issues on Linux, version mismatches, circular‑reference detection quirks, and practical tips such as disabling specific SerializerFeatures, while also reflecting on the library’s maintenance and migration to FastJson2.

circular referencedateformatfastjson
0 likes · 11 min read
Why FastJson’s Date Formatting Fails on Linux and How to Fix It
Architect's Guide
Architect's Guide
May 25, 2023 · Backend Development

Spring Batch: Introduction, Architecture, Core Interfaces, and Practical Implementation Guide

This article provides a comprehensive overview of Spring Batch, covering its purpose, typical business scenarios, core components such as JobRepository, JobLauncher, Job, Step, and core interfaces like ItemReader, ItemProcessor, ItemWriter, followed by detailed code examples for configuration, multi‑step, parallel, decision, nested jobs, data reading, writing, processing, and scheduling using Spring Boot.

Job SchedulingSpring Batchbackend-development
0 likes · 15 min read
Spring Batch: Introduction, Architecture, Core Interfaces, and Practical Implementation Guide
Selected Java Interview Questions
Selected Java Interview Questions
May 22, 2023 · Backend Development

Implementing a Spring Cloud Gateway with Rate Limiting, BCrypt Encryption, and JWT Authentication

This guide demonstrates how to build a Spring Cloud Gateway for microservices, covering system setup, CORS handling, rate‑limiting with the token‑bucket algorithm, password hashing with BCrypt, and secure JWT‑based authentication, complete with Maven dependencies, configuration files, and filter implementations.

JWTbcryptrate-limiting
0 likes · 28 min read
Implementing a Spring Cloud Gateway with Rate Limiting, BCrypt Encryption, and JWT Authentication
Programmer DD
Programmer DD
May 18, 2023 · Backend Development

Mastering URule: A Hands‑On Guide to Building Rule Engines in Java

This article walks through the background, features, installation, core concepts, and practical code examples of the URule rule engine, showing how to configure variable, constant, parameter, and action libraries, create decision tables and rule sets, and integrate the engine with a Spring Boot application.

rule enginespring-booturule
0 likes · 17 min read
Mastering URule: A Hands‑On Guide to Building Rule Engines in Java
Alibaba Cloud Native
Alibaba Cloud Native
May 11, 2023 · Backend Development

Create a Dubbo Spring Boot Microservice in 1 Minute with Dubbo Initializer

This guide walks you through using the Dubbo Initializer web UI to quickly generate a ready‑to‑run Dubbo Spring Boot microservice project, covering version selection, project metadata, module structure, dependency choices, code generation, download, and a brief walkthrough of the generated source files.

DubboMicroservicesinitializer
0 likes · 8 min read
Create a Dubbo Spring Boot Microservice in 1 Minute with Dubbo Initializer
Top Architect
Top Architect
Apr 25, 2023 · Backend Development

Understanding and Resolving Circular Dependencies in Spring Boot

This article explains what circular dependencies are in Spring Boot, why they cause startup failures from version 2.6 onward, and presents several practical solutions—including constructor injection, setter injection, @Lazy, @Autowired(required=false), @DependsOn, and interface segregation—accompanied by code examples.

circular-dependencydependency-injectionspring-boot
0 likes · 10 min read
Understanding and Resolving Circular Dependencies in Spring Boot
Java Architect Essentials
Java Architect Essentials
Apr 22, 2023 · Backend Development

Introducing magic-api: A Java Rapid API Development Framework

The article presents magic-api, a Java-based rapid API development framework that lets developers create HTTP interfaces through a visual UI without writing traditional controller, service, DAO, or XML code, and provides features, quick‑start instructions, and resource links.

BackendFrameworkJava
0 likes · 5 min read
Introducing magic-api: A Java Rapid API Development Framework
Java Backend Technology
Java Backend Technology
Apr 19, 2023 · Backend Development

Master Spring Retry: How @Retryable Simplifies Robust Error Handling

This article explains how Spring Retry's @Retryable and @Recover annotations provide a clean, annotation‑driven way to handle common retry scenarios such as message failures, remote service errors, and lock acquisition issues, while outlining configuration steps, parameter meanings, and important usage cautions.

Backendspring-boot
0 likes · 6 min read
Master Spring Retry: How @Retryable Simplifies Robust Error Handling
Programmer DD
Programmer DD
Mar 15, 2023 · Backend Development

Do ApplicationStartedEvent and ContextStartedEvent Differ in Spring Boot?

This article explains the distinction between Spring Boot’s ApplicationStartedEvent and the traditional ContextStartedEvent, clarifies that Spring Boot defines its own set of events inheriting from SpringApplicationEvent, and lists the core events introduced in Spring Boot 2.0.

application-eventsspring-boot
0 likes · 2 min read
Do ApplicationStartedEvent and ContextStartedEvent Differ in Spring Boot?
Top Architect
Top Architect
Mar 2, 2023 · Backend Development

Understanding Spring Transaction Propagation and Common Pitfalls

This article explains Spring's unified transaction model, the @Transactional annotation, and the various propagation and isolation settings, then details ten typical scenarios—such as missing Spring management, final or private methods, internal calls, wrong propagation, multithreading, and unsupported databases—that cause transactions to fail, providing code examples and solutions to avoid each issue.

jpaspring-boottransaction
0 likes · 14 min read
Understanding Spring Transaction Propagation and Common Pitfalls
MaGe Linux Operations
MaGe Linux Operations
Feb 28, 2023 · Backend Development

Achieving Distributed Session Consistency with Spring Session and Redis

This article explains the challenges of sharing HTTP sessions across a clustered backend, evaluates common workarounds, and demonstrates a complete solution using Spring Session backed by Redis together with Nginx load balancing to achieve reliable distributed session consistency.

Javadistributed-systemsspring-boot
0 likes · 11 min read
Achieving Distributed Session Consistency with Spring Session and Redis
Programmer DD
Programmer DD
Nov 23, 2022 · Backend Development

Spring Boot 3.0.0: Key Updates and How to Get Ready

The article outlines the recent Spring 6.0 release, the cascade of updates across major Spring projects, and previews the upcoming Spring Boot 3.0.0, highlighting the first RC, the new aot.factories feature, and enhanced observability for Java developers.

ObservabilitySpring 6spring-boot
0 likes · 3 min read
Spring Boot 3.0.0: Key Updates and How to Get Ready
Sohu Tech Products
Sohu Tech Products
Nov 9, 2022 · Backend Development

Jeepay: An Open‑Source Payment System for Internet Enterprises

Jeepay is an open‑source payment platform built with Spring Boot and Ant Design Vue that supports multiple payment channels such as WeChat Pay, Alipay, and Cloud QuickPass, offering aggregated QR code payments, robust security, distributed deployment, and comprehensive documentation for developers.

Javaopen-sourcepayment
0 likes · 8 min read
Jeepay: An Open‑Source Payment System for Internet Enterprises
Java Captain
Java Captain
Oct 27, 2022 · Backend Development

Spring Boot 3.0 RC1 Released with Native Image Support and Jakarta EE 9 Migration

Spring Boot 3.0 RC1 introduces 135 enhancements, native executable support via Maven/Gradle plugins, migration to Jakarta EE 9, Java 17 baseline, and new features such as flexible Spring Data JDBC auto‑configuration, Prometheus example auto‑configuration, and Log4j2 improvements, with full details in the release notes.

Release Notesgraalvmjakarta-ee
0 likes · 2 min read
Spring Boot 3.0 RC1 Released with Native Image Support and Jakarta EE 9 Migration
IT Services Circle
IT Services Circle
Oct 4, 2022 · Backend Development

Creating an Auto‑Register Spring Boot Starter for XXL‑Job Executors and JobHandlers

This article explains how to build a Spring Boot starter that automatically registers XXL‑Job executors and job handlers by logging into the admin center, invoking the necessary REST APIs, and using custom annotations to capture job metadata, eliminating manual configuration for large numbers of scheduled tasks.

StarterXXL-JOBauto registration
0 likes · 12 min read
Creating an Auto‑Register Spring Boot Starter for XXL‑Job Executors and JobHandlers
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 30, 2022 · Backend Development

Designing Modular Backend Services and API Management with Spring Cloud

This article explains how to build a highly extensible, modular backend service using Spring Cloud, demonstrates practical module composition and separation, discusses RESTful API design principles, presents concrete Java code examples for commands, controllers and pagination, and reviews popular API documentation tools such as Swagger, SpringDoc and Knife4j.

BackendRESTfulapi-design
0 likes · 17 min read
Designing Modular Backend Services and API Management with Spring Cloud
Top Architect
Top Architect
Sep 29, 2022 · Backend Development

Handling Duplicate Consumption in RabbitMQ: Scenarios, Tests, and Solutions

This article explains the causes of duplicate message consumption in RabbitMQ, demonstrates how to reproduce the issue with a 10,000‑message test, and provides three practical solutions using unique IDs stored in Redis to ensure idempotent processing in Java Spring applications.

BackendDuplicate Consumptionmessage-queue
0 likes · 9 min read
Handling Duplicate Consumption in RabbitMQ: Scenarios, Tests, and Solutions
dbaplus Community
dbaplus Community
Sep 25, 2022 · Operations

How to Achieve Zero‑Downtime Application Deployments with Spring Boot and Eureka

This article explains why zero‑downtime releases are essential for modern services, defines three maturity levels, compares common release patterns, outlines the required technical components, and provides step‑by‑step Spring Boot/Eureka procedures—including configuration and graceful‑shutdown scripts—to keep applications available during deployment.

DeploymentOperationsZero Downtime
0 likes · 20 min read
How to Achieve Zero‑Downtime Application Deployments with Spring Boot and Eureka
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Sep 20, 2022 · Cloud Native

Build a High‑Availability Microservices System on Kubernetes: Step‑by‑Step Guide

This comprehensive tutorial walks you through designing a simple front‑back separation microservice project, implementing it with Spring Boot, deploying it on a Kubernetes cluster using K8seasy, and adding essential features such as service registration, multi‑instance high availability, monitoring with Prometheus and Grafana, logging via Kafka, tracing with Zipkin, and flow control with Sentinel, all verified through dashboards and tracing tools.

DeploymentKubernetesMicroservices
0 likes · 21 min read
Build a High‑Availability Microservices System on Kubernetes: Step‑by‑Step Guide
Selected Java Interview Questions
Selected Java Interview Questions
Sep 8, 2022 · Backend Development

Understanding Spring Boot Auto‑Configuration Mechanism

This article explains how Spring Boot’s auto‑configuration works, covering the role of application properties, the @EnableAutoConfiguration annotation, condition annotations, the spring.factories mechanism, and how configuration properties are bound to beans such as ServerProperties to make settings like server.port effective.

BackendJavaauto-configuration
0 likes · 7 min read
Understanding Spring Boot Auto‑Configuration Mechanism
Code Ape Tech Column
Code Ape Tech Column
Sep 2, 2022 · Backend Development

Spring Boot Best Practices: 16 Tips for Building Robust Microservices

This article shares sixteen practical Spring Boot best‑practice recommendations—ranging from custom BOMs and automatic configuration to clean controller design, constructor injection, externalized configuration, and comprehensive testing—to help developers create maintainable, scalable Java microservices.

best practicesdependency managementspring-boot
0 likes · 13 min read
Spring Boot Best Practices: 16 Tips for Building Robust Microservices
Top Architect
Top Architect
Aug 27, 2022 · Backend Development

Spring Retry and Guava Retry Frameworks: Concepts, Configuration, and Practical Code Examples

This article provides a comprehensive guide to using Spring Retry and Guava Retry in Java applications, covering dependency setup, basic and annotation-based usage, various retry and back‑off policies, code examples, and a comparison of both frameworks to help developers implement robust retry mechanisms.

Retrybackoff-policyexception-handling
0 likes · 15 min read
Spring Retry and Guava Retry Frameworks: Concepts, Configuration, and Practical Code Examples
Senior Brother's Insights
Senior Brother's Insights
Aug 25, 2022 · Backend Development

Mastering Spring Transaction Management: From Basics to Propagation Types

This article explains the fundamentals of Spring transactions, demonstrates how to set up a Spring Boot project with MySQL and MyBatis, walks through declarative transaction usage, compares REQUIRED, REQUIRES_NEW, and NESTED propagation behaviors with code examples, and highlights common pitfalls and best‑practice steps.

propagationspring-boot
0 likes · 18 min read
Mastering Spring Transaction Management: From Basics to Propagation Types
Wukong Talks Architecture
Wukong Talks Architecture
Aug 8, 2022 · Backend Development

Implementing Web Message Push: Short Polling, Long Polling, Iframe Stream, SSE, MQTT and WebSocket

This article explains various web message‑push techniques—including short and long polling, iframe streaming, Server‑Sent Events, MQTT and WebSocket—detailing their principles, advantages, drawbacks, and providing complete Spring Boot and JavaScript code examples for real‑time notification badges.

MQTTMessage PushSSE
0 likes · 18 min read
Implementing Web Message Push: Short Polling, Long Polling, Iframe Stream, SSE, MQTT and WebSocket
Top Architect
Top Architect
Aug 4, 2022 · Backend Development

Using Spring Application Events for Synchronous and Asynchronous Business Logic

This article explains how Spring Application Events can decouple complex business logic, demonstrates creating custom events, listeners, and publishers, shows both synchronous and asynchronous handling with @EventListener and @Async, and provides complete code examples and test results for a Spring Boot application.

AsynchronousBackendEvent
0 likes · 9 min read
Using Spring Application Events for Synchronous and Asynchronous Business Logic
Java Architect Essentials
Java Architect Essentials
Jul 10, 2022 · Backend Development

Why @Configuration + @Bean Overrides @Component in Spring Boot and How Bean Definition Overriding Evolved

This article explains why, in Spring Boot 2.0.3, a bean defined with @Configuration + @Bean replaces a @Component‑annotated bean of the same type, shows how to verify which bean is instantiated, and describes the framework’s evolution—including the allowBeanDefinitionOverriding setting—that gives developers control over bean overriding behavior.

Bean OverridingComponentJava
0 likes · 7 min read
Why @Configuration + @Bean Overrides @Component in Spring Boot and How Bean Definition Overriding Evolved
Programmer DD
Programmer DD
Jun 15, 2022 · Backend Development

Boost Spring Boot Performance: Master Logback Async Logging & File Segmentation

Learn how to configure Logback in Spring Boot to separate logs by level, implement asynchronous logging for reduced I/O latency, and verify performance gains—up to tenfold throughput improvement—using JMeter tests on a six‑core, 8 GB server, with detailed XML snippets and code explanations.

Performance Testingasynchronous loggingspring-boot
0 likes · 11 min read
Boost Spring Boot Performance: Master Logback Async Logging & File Segmentation
Java Backend Technology
Java Backend Technology
Jun 15, 2022 · Backend Development

Master Spring Boot Annotations: From @RequestMapping to @SpringBootApplication

This comprehensive guide explains the most commonly used Spring Boot annotations—including MVC mapping, bean definitions, dependency injection, scope management, container configuration, and bootstrapping—providing clear examples and visual diagrams to help developers write cleaner, more efficient Java code.

annotationsdependency-injectionrest-controller
0 likes · 16 min read
Master Spring Boot Annotations: From @RequestMapping to @SpringBootApplication
Top Architect
Top Architect
Jun 7, 2022 · Backend Development

Request Merging Techniques: Hystrix Collapser, Custom BatchCollapser, and ConcurrentHashMultiset

This article compares three request‑merging approaches—Hystrix Collapser, a custom BatchCollapser implementation, and Guava’s ConcurrentHashMultiset—explaining their configurations, code examples, and suitable scenarios for reducing downstream load and improving system throughput while also highlighting performance trade‑offs and practical tips for integration in Spring‑Boot services.

BackendHystrixbatch-processing
0 likes · 14 min read
Request Merging Techniques: Hystrix Collapser, Custom BatchCollapser, and ConcurrentHashMultiset
macrozheng
macrozheng
Jun 7, 2022 · Backend Development

How to Seamlessly Migrate Your Spring Boot Apps to 3.0 – A Practical Guide

This guide walks you through upgrading to Spring Boot 3.0 by adopting Java 17, moving to Spring Boot 2.7 first, cleaning deprecated APIs, adjusting configuration files, handling profile activation, and addressing compatibility and performance changes such as the new PathPatternParser.

BackendConfigurationjava-17
0 likes · 9 min read
How to Seamlessly Migrate Your Spring Boot Apps to 3.0 – A Practical Guide