Tagged articles

SpringBoot

1137 articles · Page 3 of 12
Architect's Alchemy Furnace
Architect's Alchemy Furnace
Jun 17, 2025 · Backend Development

How to Run Multiple SpringBoot Microservices on a Single Tomcat with Minimal Resources

This guide explains how to adapt a distributed micro‑service architecture to run all SpringBoot services inside one external Tomcat instance by changing packaging to WAR, configuring server.xml, setting memory options, adjusting virtual addresses, handling logs, and registering services with Nacos for low‑memory environments.

JavaNacosSpringBoot
0 likes · 17 min read
How to Run Multiple SpringBoot Microservices on a Single Tomcat with Minimal Resources
Su San Talks Tech
Su San Talks Tech
Jun 14, 2025 · Operations

Master Apollo Config Center: From Core Concepts to SpringBoot Integration

This comprehensive guide walks you through Apollo's background, core model, four‑dimensional configuration management, client design, local caching, and deployment steps—including Maven setup, SpringBoot client implementation, Kubernetes Dockerization, and practical tests across environments, clusters, and namespaces.

ApolloDevOpsKubernetes
0 likes · 26 min read
Master Apollo Config Center: From Core Concepts to SpringBoot Integration
macrozheng
macrozheng
Jun 13, 2025 · Backend Development

Why MyBatis-Plus saveBatch Triggers Unexpected Transaction Rollback and How to Fix It

This article explains a puzzling Spring Boot transaction rollback caused by MyBatis-Plus's saveBatch method, reproduces the error with nested @Transactional calls, analyzes why the rollback flag is set, and offers a practical workaround by replacing the framework batch operation with a custom mapper implementation.

JavaSpringBootbackend
0 likes · 6 min read
Why MyBatis-Plus saveBatch Triggers Unexpected Transaction Rollback and How to Fix It
Code Ape Tech Column
Code Ape Tech Column
Jun 13, 2025 · Backend Development

5 SpringBoot Multi‑Tenant Architecture Patterns You Must Know

This article explains multi‑tenancy as a software architecture pattern, describes why it reduces operational costs and improves resource utilization, and presents five concrete SpringBoot designs—including separate databases, shared databases with separate schemas, shared tables, shared‑table with tenant ID, and a hybrid model—along with implementation steps, code samples, pros and cons, and suitable scenarios.

Database isolationMulti-TenancySpringBoot
0 likes · 41 min read
5 SpringBoot Multi‑Tenant Architecture Patterns You Must Know
Lin is Dream
Lin is Dream
Jun 13, 2025 · Backend Development

How to Seamlessly Integrate SFTP Upload/Download in Spring Boot

This guide walks you through adding SFTP capabilities to a Spring Boot application, covering Maven dependencies, configuration properties, a reusable SFTP helper class, service and controller layers for file transfer, optional ZIP compression, and practical tips like retries, multithreading, and scheduling.

FileUploadJSchJava
0 likes · 9 min read
How to Seamlessly Integrate SFTP Upload/Download in Spring Boot
Architect
Architect
Jun 11, 2025 · Backend Development

Why SpringBoot 3.0 Dropped spring.factories and What to Use Instead

SpringBoot 3.0 removes the long‑standing spring.factories file due to performance, modularity, and GraalVM native image challenges, introduces a new imports‑file mechanism, and provides detailed migration steps, code examples, performance comparisons, and best practices for GraalVM integration.

GraalVMSpringBootauto-configuration
0 likes · 21 min read
Why SpringBoot 3.0 Dropped spring.factories and What to Use Instead
Programmer XiaoFu
Programmer XiaoFu
Jun 10, 2025 · Backend Development

Integrating Tess4j with SpringBoot: Low‑Cost OCR Image Recognition

This tutorial shows how to add OCR capabilities to a SpringBoot application using the Tess4j library, covering dependency setup, Tesseract engine initialization, RESTful endpoint implementation, training data choices, and practical tips for handling resources and deployment.

JavaOCRSpringBoot
0 likes · 7 min read
Integrating Tess4j with SpringBoot: Low‑Cost OCR Image Recognition
Architect's Tech Stack
Architect's Tech Stack
Jun 4, 2025 · Backend Development

Retrofit Spring Boot Starter: Lightweight HTTP Client Integration with Advanced Features

This article introduces the Retrofit Spring Boot Starter, a lightweight HTTP client framework for Spring Boot that simplifies HTTP request handling, supports custom OkHttpClient injection, annotation‑based interceptors, logging, retry, error decoding, circuit‑breaker integration, connection‑pool management, global interceptors, microservice calls, and flexible call adapters and converters.

CircuitBreakerJavaLogging
0 likes · 19 min read
Retrofit Spring Boot Starter: Lightweight HTTP Client Integration with Advanced Features
Top Architect
Top Architect
Jun 4, 2025 · Backend Development

Replacing Tomcat with Undertow in Spring Boot: Configuration, Performance Comparison, and Recommendations

This article explains how to replace the default embedded Tomcat container in Spring Boot with Undertow, details the configuration steps and Maven dependencies, compares performance and memory usage between the two servers, and concludes with a recommendation for high‑concurrency applications, while also promoting related AI resources and services.

JavaSpringBootTomcat
0 likes · 10 min read
Replacing Tomcat with Undertow in Spring Boot: Configuration, Performance Comparison, and Recommendations
Top Architect
Top Architect
May 26, 2025 · Databases

Design and Implementation of MySQL Table Sharding with ShardingSphere and Spring Boot

This article walks through the full process of designing, configuring, and implementing a sharding solution for large loan and repayment tables using ShardingSphere, Spring Boot 3, MySQL, and MyBatis‑Plus, covering schema planning, data migration, DBA coordination, code examples, common pitfalls, and operational considerations.

SpringBootbackendcode
0 likes · 19 min read
Design and Implementation of MySQL Table Sharding with ShardingSphere and Spring Boot
Java Web Project
Java Web Project
May 26, 2025 · Backend Development

How to Integrate WebSocket with Spring Boot for Real‑Time Messaging

This guide walks through the problem of server‑initiated push in a Spring Boot project, explains why WebSocket is needed over HTTP, and provides step‑by‑step Maven setup, configuration classes, controller code, a test HTML page, and troubleshooting tips for proper initialization.

JavaSpringBootbackend
0 likes · 12 min read
How to Integrate WebSocket with Spring Boot for Real‑Time Messaging
Java Architect Essentials
Java Architect Essentials
May 25, 2025 · Backend Development

Simplifying Asynchronous Tasks in Spring Boot with @Async Annotation

Spring Boot's @Async annotation enables developers to replace manual thread and thread‑pool management with simple method annotations, providing automatic asynchronous execution, customizable thread pools, and flexible return types such as Future and CompletableFuture, thereby streamlining code, improving efficiency, and reducing complexity in backend services.

JavaSpringBootasync
0 likes · 7 min read
Simplifying Asynchronous Tasks in Spring Boot with @Async Annotation
Su San Talks Tech
Su San Talks Tech
May 24, 2025 · Backend Development

12 Proven SpringBoot Performance Hacks to Boost Your API Speed

Discover twelve practical SpringBoot performance optimization techniques—from connection pool tuning and JVM memory settings to caching, async processing, and full‑stack monitoring—each illustrated with code snippets and actionable guidance to prevent full‑table scans, OOM errors, and latency spikes in high‑traffic applications.

JVMJavaMonitoring
0 likes · 13 min read
12 Proven SpringBoot Performance Hacks to Boost Your API Speed
Java Architect Essentials
Java Architect Essentials
May 23, 2025 · Backend Development

Master SpringBoot Caching: How @Cacheable Simplifies Cache Management

This article explains how SpringBoot’s @Cacheable annotation automates cache handling, reducing boilerplate code, improving performance, and simplifying maintenance, while also covering related annotations like @CacheEvict and @CachePut, with practical code examples for user and product data caching in real-world applications.

CacheableJavaSpringBoot
0 likes · 6 min read
Master SpringBoot Caching: How @Cacheable Simplifies Cache Management
Java Architect Essentials
Java Architect Essentials
May 21, 2025 · Backend Development

How @Slf4j Instantly Simplifies Logging in Spring Boot

This article explains why repetitive logger boilerplate in Spring Boot is a problem, introduces Lombok's @Slf4j annotation that auto‑generates a logger, shows basic and advanced usage with code examples, and outlines the benefits for real‑world backend projects.

AnnotationJavaLogging
0 likes · 7 min read
How @Slf4j Instantly Simplifies Logging in Spring Boot
Java Architect Essentials
Java Architect Essentials
May 20, 2025 · Backend Development

How @ModelAttribute Simplifies SpringBoot Form Data Binding

When handling complex forms in SpringBoot, developers often write repetitive code to extract each field, but the @ModelAttribute annotation automatically binds all form parameters to Java objects, reducing boilerplate, improving readability, and supporting custom binding scenarios.

Form BindingJavaModelAttribute
0 likes · 7 min read
How @ModelAttribute Simplifies SpringBoot Form Data Binding
Architect
Architect
May 20, 2025 · Backend Development

Why Is Spring Boot So Slow to Start? A Deep Dive into Its Startup Process

This article analyses why Spring Boot startup can take dozens of seconds, breaks down the most time‑consuming phases such as prepareEnvironment and refreshContext, shows profiling code and screenshots, compares a simple MVC demo with a real‑world project, and identifies external client connections and configuration loading as the biggest bottlenecks.

JavaSpringBootbackend development
0 likes · 13 min read
Why Is Spring Boot So Slow to Start? A Deep Dive into Its Startup Process
Top Architecture Tech Stack
Top Architecture Tech Stack
May 20, 2025 · Backend Development

Global Exception Handling in Spring Boot: Techniques and Code Examples

This article explains how to efficiently handle exceptions in Spring Boot applications by using @ControllerAdvice and @ExceptionHandler annotations, providing step-by-step code examples for custom global exception classes, error response structures, and handling specific exceptions such as business, null pointer, and type conversion errors.

ExceptionHandlingJavaREST
0 likes · 9 min read
Global Exception Handling in Spring Boot: Techniques and Code Examples
Java Architect Essentials
Java Architect Essentials
May 17, 2025 · Backend Development

Simplify SpringBoot Time Handling with @DateTimeFormat Annotation

This article explains how SpringBoot’s @DateTimeFormat annotation automatically converts timestamps and date strings to Date, LocalDate, or LocalDateTime objects, eliminating manual parsing code, and provides practical examples ranging from simple date parameters to custom datetime patterns for more efficient backend development.

@DateTimeFormatAnnotationJava
0 likes · 7 min read
Simplify SpringBoot Time Handling with @DateTimeFormat Annotation
Java Architect Essentials
Java Architect Essentials
May 16, 2025 · Backend Development

Simplifying Session Management in Spring Boot with @SessionAttributes

Spring Boot's @SessionAttributes annotation enables automatic session data handling, eliminating repetitive HttpSession code, simplifying development, improving maintainability, and supporting multi-attribute management and cleanup, as demonstrated through detailed examples and best practices for user login and shopping cart scenarios.

@SessionAttributesJavaSessionManagement
0 likes · 7 min read
Simplifying Session Management in Spring Boot with @SessionAttributes
Java Architect Essentials
Java Architect Essentials
May 15, 2025 · Backend Development

How @PageableDefault Simplifies SpringBoot Pagination

The article explains how the SpringBoot @PageableDefault annotation automatically provides default pagination parameters, reducing boilerplate code, improving readability, and offering flexible control for various query endpoints in Java backend development.

AnnotationJavaPagination
0 likes · 6 min read
How @PageableDefault Simplifies SpringBoot Pagination
Java Architect Essentials
Java Architect Essentials
May 14, 2025 · Backend Development

Master SpringBoot @RequestHeader: Simplify HTTP Header Binding

This article explains how SpringBoot's @RequestHeader annotation automatically binds HTTP request headers to controller method parameters, reducing boilerplate code, supporting default values and optional headers, and improving readability and development efficiency with clear code examples.

@RequestHeaderJavaSpringBoot
0 likes · 6 min read
Master SpringBoot @RequestHeader: Simplify HTTP Header Binding
Java Captain
Java Captain
May 14, 2025 · Databases

Guide to Setting Up ShardingSphere with Docker for Database Sharding, Read‑Write Splitting, and SpringBoot Integration

This guide demonstrates how to set up Docker‑based MySQL instances, configure ShardingSphere‑Proxy for database sharding and read‑write splitting, and integrate ShardingSphere‑JDBC with SpringBoot 2.x using YAML configurations and Maven dependencies, providing complete code snippets and default connection details.

DockerMySQLShardingSphere
0 likes · 11 min read
Guide to Setting Up ShardingSphere with Docker for Database Sharding, Read‑Write Splitting, and SpringBoot Integration
Java Tech Enthusiast
Java Tech Enthusiast
May 14, 2025 · Backend Development

Understanding SpringBoot Interceptors: Filters, HandlerInterceptor, AOP, RestTemplate, Feign, and WebFilter

This article introduces the six main types of interceptors in SpringBoot—Filter, HandlerInterceptor, AOP, RestTemplate, Feign, and WebFilter—explaining their typical use‑cases, implementation details, common pitfalls, and best‑practice ordering to help developers choose the right tool for each scenario.

AOPFeignInterceptor
0 likes · 8 min read
Understanding SpringBoot Interceptors: Filters, HandlerInterceptor, AOP, RestTemplate, Feign, and WebFilter
Java Architect Essentials
Java Architect Essentials
May 8, 2025 · Backend Development

How @Encrypt Simplifies API Security in SpringBoot

This article explains how the @Encrypt annotation in SpringBoot can automatically handle encryption and decryption of sensitive API parameters, eliminating repetitive manual code, improving maintainability, and allowing custom encryption strategies for real‑world applications.

API securityAnnotationEncryption
0 likes · 7 min read
How @Encrypt Simplifies API Security in SpringBoot
Architecture Digest
Architecture Digest
May 7, 2025 · Backend Development

Analyzing Why Spring Boot Startup Is Slow: Detailed Breakdown and Profiling

This article investigates the reasons behind Spring Boot's slow startup by tracing the execution timeline, examining the prepareEnvironment and refreshContext phases, profiling bean creation, configuration loading, and external client initialization, and provides sample Java code for measuring and visualizing each step.

JavaOptimizationSpringBoot
0 likes · 13 min read
Analyzing Why Spring Boot Startup Is Slow: Detailed Breakdown and Profiling
Java Architect Essentials
Java Architect Essentials
May 6, 2025 · Backend Development

How @Authenticated Simplifies SpringBoot API Security

The article explains how the @Authenticated annotation in SpringBoot can replace repetitive manual authentication code, offering automatic request validation, role‑based checks, and streamlined error handling, with practical examples and a clear list of benefits for developers.

API securityAnnotationJava
0 likes · 7 min read
How @Authenticated Simplifies SpringBoot API Security
Java Architect Essentials
Java Architect Essentials
May 4, 2025 · Backend Development

Mastering Request Timeouts in SpringBoot with @Timeout Annotation

Learn how the @Timeout annotation in SpringBoot simplifies request timeout management by eliminating repetitive configuration code, offering automatic timeout control, customizable fallback methods, and improved maintainability, with practical examples and step-by-step guidance for integrating it into your APIs.

AnnotationJavaSpringBoot
0 likes · 7 min read
Mastering Request Timeouts in SpringBoot with @Timeout Annotation
Java Architect Essentials
Java Architect Essentials
May 3, 2025 · Backend Development

Simplifying CORS Handling in Spring Boot with the @CrossOrigin Annotation

Spring Boot developers can eliminate complex CORS configurations by applying the @CrossOrigin annotation directly on controllers or methods, which simplifies cross‑origin request handling, supports custom origins, methods, and headers, and can be globally configured for consistent, secure API access across environments.

CORSJavaSpringBoot
0 likes · 8 min read
Simplifying CORS Handling in Spring Boot with the @CrossOrigin Annotation
Java Architect Essentials
Java Architect Essentials
May 2, 2025 · Backend Development

Simplifying Request Parameter Binding in SpringBoot with @RequestParam

This article explains how the @RequestParam annotation in SpringBoot automatically binds request parameters—whether from forms, query strings, or URLs—to controller method arguments, reducing boilerplate code, improving readability, and enhancing development efficiency, with practical code examples and advanced usage tips.

JavaParameterBindingRequestParam
0 likes · 8 min read
Simplifying Request Parameter Binding in SpringBoot with @RequestParam
Java Captain
Java Captain
May 2, 2025 · Databases

Implementing Dynamic MySQL Master‑Slave Switching in SpringBoot Using AOP and Custom Annotations

This article demonstrates how to use SpringBoot 3.0.4 with AOP and a custom @DataSource annotation to dynamically switch between MySQL master and slave databases, ensuring high availability by automatically falling back to the master when a slave fails, and provides configuration and code examples for multiple data sources.

AOPDatabase SwitchingMySQL
0 likes · 14 min read
Implementing Dynamic MySQL Master‑Slave Switching in SpringBoot Using AOP and Custom Annotations
Java Architect Essentials
Java Architect Essentials
Apr 28, 2025 · Backend Development

Simplifying SpringBoot Controllers with the @RestController Annotation

The article explains how using SpringBoot's @RestController annotation can replace the verbose combination of @Controller and @ResponseBody, reducing configuration overhead, aligning with convention‑over‑configuration principles, and streamlining backend development for faster, cleaner API implementations.

AnnotationJavaRestController
0 likes · 7 min read
Simplifying SpringBoot Controllers with the @RestController Annotation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 27, 2025 · Backend Development

Implementing MCP over SSE/HTTP in a SpringBoot Backend

This article explains how to extend an open‑source smart production management system with MCP support by creating SSE/HTTP endpoints, a token‑based MAP, and a McpService that scans, executes, and pushes results, and demonstrates client configuration using CherryStudio.

MCPSSESpringBoot
0 likes · 6 min read
Implementing MCP over SSE/HTTP in a SpringBoot Backend
Selected Java Interview Questions
Selected Java Interview Questions
Apr 25, 2025 · Backend Development

Applying a Flow Engine and Plugin Extension Engine for Business Isolation and Extensibility in Backend Systems

The article explains why over‑designing with workflow orchestration is harmful, introduces a flow‑engine and plugin‑extension approach to achieve clean code isolation and easy business extension, and provides concrete Java examples from the open‑source MemberClub project.

Process OrchestrationSpringBootbackend architecture
0 likes · 10 min read
Applying a Flow Engine and Plugin Extension Engine for Business Isolation and Extensibility in Backend Systems
Selected Java Interview Questions
Selected Java Interview Questions
Apr 22, 2025 · Backend Development

Generating and Merging PDF Invoices with iTextPdf in Java

This article explains how to use the iTextPdf library in a Java SpringBoot project to create PDF invoice templates, fill fixed and dynamic product data, merge multiple PDFs, and output the final document, providing full Maven dependencies, code examples, and implementation steps.

SpringBootbackend developmentiTextPDF
0 likes · 12 min read
Generating and Merging PDF Invoices with iTextPdf in Java
Java Captain
Java Captain
Apr 22, 2025 · Backend Development

Implementing Asynchronous Calls in SpringBoot with @Async

This article explains why asynchronous programming improves concurrency in SpringBoot applications, describes how to enable @Async support, configure a custom ThreadPoolTaskExecutor, annotate methods for async execution, and outlines the underlying proxy mechanism that powers @Async.

AsyncJavaSpringBoot
0 likes · 5 min read
Implementing Asynchronous Calls in SpringBoot with @Async
Java Captain
Java Captain
Apr 20, 2025 · Backend Development

Dynamic Adjustment of Scheduled Tasks in SpringBoot Using ThreadPoolTaskScheduler

This article explains how to dynamically modify the execution time of SpringBoot scheduled tasks by combining ScheduledTaskRegistrar with ThreadPoolTaskScheduler, decoupling business logic from triggers, and provides complete code examples for adding, updating, and removing tasks at runtime.

Dynamic SchedulingJavaScheduledTask
0 likes · 9 min read
Dynamic Adjustment of Scheduled Tasks in SpringBoot Using ThreadPoolTaskScheduler
Code Ape Tech Column
Code Ape Tech Column
Apr 18, 2025 · Backend Development

Dynamic Cron Expression Management in SpringBoot Scheduling

This article explains how to enable SpringBoot scheduling with @EnableScheduling and @Scheduled, describes the three scheduling modes (cron, fixedDelay, fixedRate), and provides a complete solution for dynamically updating, disabling, and re‑enabling Cron expressions at runtime using custom interfaces and configuration classes.

CronJavaSpringBoot
0 likes · 10 min read
Dynamic Cron Expression Management in SpringBoot Scheduling
Architect
Architect
Apr 16, 2025 · Backend Development

Flow Engine and Plugin Extension Engine for Business Isolation and Extensibility in MemberClub

The article explains how the MemberClub open‑source project leverages a flow engine and plugin extension engine to achieve business code isolation and extensibility, illustrating the problems of if‑else branching in multi‑business systems, providing configuration examples, execution principles, and Java code snippets.

Business IsolationJavaSpringBoot
0 likes · 8 min read
Flow Engine and Plugin Extension Engine for Business Isolation and Extensibility in MemberClub
Java Tech Enthusiast
Java Tech Enthusiast
Apr 15, 2025 · Backend Development

Four Techniques for Handling CORS in SpringBoot Applications

The article explains what CORS is and presents four main approaches—using simple and pre‑flight request headers, configuring Nginx as a reverse proxy, adding a SpringBoot CorsConfig or CorsFilter bean, and delegating CORS to an API gateway—so developers can resolve cross‑origin issues in SpringBoot applications.

CORSConfigurationCross-Origin
0 likes · 5 min read
Four Techniques for Handling CORS in SpringBoot Applications
Programmer XiaoFu
Programmer XiaoFu
Apr 15, 2025 · Backend Development

Sync vs Async: Achieving 10× Throughput in SpringBoot APIs

The article explains how SpringBoot’s asynchronous request handling—using Callable, WebAsyncTask, and DeferredResult with a custom thread pool—can boost API throughput up to ten times compared to synchronous processing, while detailing the internal flow, configuration steps, and scenarios where async is beneficial.

SpringBootThreadPoolasync
0 likes · 9 min read
Sync vs Async: Achieving 10× Throughput in SpringBoot APIs
Java Architect Essentials
Java Architect Essentials
Apr 10, 2025 · Backend Development

Master Dynamic Data Source Switching in SpringBoot: A Step‑by‑Step Guide

This article walks through the complete process of implementing dynamic data source switching in a SpringBoot application, covering the core concepts of thread‑local context, abstract routing, custom annotations with AOP, configuration, code examples, and important considerations such as transaction management and performance.

AOPDatabaseJava
0 likes · 6 min read
Master Dynamic Data Source Switching in SpringBoot: A Step‑by‑Step Guide
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 10, 2025 · Backend Development

Hands‑On Guide: Build Your Own Code Generator (Can You Keep Up?)

This article walks through why repetitive CRUD code wastes development time, reviews existing generators like MyBatis‑Generator and MyBatis‑Plus, and then demonstrates step‑by‑step how to create a custom Java code generator using Freemarker, Maven, and SpringBoot, complete with template and demo code.

JavaMyBatisSpringBoot
0 likes · 11 min read
Hands‑On Guide: Build Your Own Code Generator (Can You Keep Up?)
Java Captain
Java Captain
Apr 9, 2025 · Backend Development

Implementing Dynamic MySQL Master‑Slave Data Source Switching in SpringBoot with AOP and Custom Annotations

This tutorial explains how to use SpringBoot, AOP, and a custom @DataSource annotation to dynamically switch between MySQL master and slave databases—covering configuration, code implementation, multiple slave handling, and an Oracle example—to ensure high availability and flexible data source management.

AOPJavaMaster‑Slave
0 likes · 13 min read
Implementing Dynamic MySQL Master‑Slave Data Source Switching in SpringBoot with AOP and Custom Annotations
Java Backend Technology
Java Backend Technology
Apr 9, 2025 · Backend Development

Master Spring Annotations: From @RequestMapping to @Conditional – A Complete Backend Guide

This comprehensive guide explains the most common Spring MVC and Spring Boot annotations—including @RequestMapping, @GetMapping, @Autowired, @Component, @Scope, and conditional annotations—detailing their purposes, configuration attributes, and practical code examples to help Java backend developers write cleaner, more maintainable code.

DependencyInjectionSpringSpringBoot
0 likes · 14 min read
Master Spring Annotations: From @RequestMapping to @Conditional – A Complete Backend Guide
Java Architect Essentials
Java Architect Essentials
Apr 7, 2025 · Backend Development

Comprehensive Guide to Using Ctrip’s Apollo Distributed Configuration Center with Spring Boot

This article provides a detailed tutorial on Apollo, Ctrip’s open‑source distributed configuration center, covering its core concepts, features, model, four‑dimensional management, client design, deployment architecture, high‑availability considerations, step‑by‑step project creation, Spring Boot integration, Kubernetes deployment, and practical testing procedures.

ApolloKubernetesSpringBoot
0 likes · 26 min read
Comprehensive Guide to Using Ctrip’s Apollo Distributed Configuration Center with Spring Boot
Architect's Guide
Architect's Guide
Apr 2, 2025 · Backend Development

Implementing High‑Concurrency SecKill (Flash Sale) in SpringBoot: Locking, Transaction, and Queue Strategies

This article demonstrates how to simulate a high‑concurrency flash‑sale scenario with SpringBoot and MySQL, analyzes why naive lock‑and‑transaction code causes overselling, and presents six refined solutions—including early locking, AOP, pessimistic and optimistic database locks, blocking queues, and Disruptor queues—along with performance observations and a concise summary.

LockQueueSeckill
0 likes · 22 min read
Implementing High‑Concurrency SecKill (Flash Sale) in SpringBoot: Locking, Transaction, and Queue Strategies
Architecture Digest
Architecture Digest
Mar 28, 2025 · Backend Development

One-Click Deployment of SpringBoot Projects Using IntelliJ IDEA and Docker

This tutorial demonstrates how to configure IntelliJ IDEA for remote one‑click deployment of a SpringBoot application with Docker, covering environment setup, SSH and Docker daemon configuration, Dockerfile creation, Maven build steps, firewall adjustments, and troubleshooting common deployment issues.

DevOpsDockerIntelliJ IDEA
0 likes · 8 min read
One-Click Deployment of SpringBoot Projects Using IntelliJ IDEA and Docker
Top Architect
Top Architect
Mar 27, 2025 · Backend Development

Why SpringBoot 3.0 Removed spring.factories and Introduced the Imports Mechanism

SpringBoot 3.0 eliminates the long‑standing spring.factories file due to startup performance penalties, lack of modular support, static configuration limits, and incompatibility with GraalVM native images, and replaces it with a set of imports files that provide clearer, faster, and more modular auto‑configuration registration.

GraalVMSpringBootbackend
0 likes · 15 min read
Why SpringBoot 3.0 Removed spring.factories and Introduced the Imports Mechanism
Java Backend Technology
Java Backend Technology
Mar 26, 2025 · Databases

Why UUID Primary Keys Slow Down MySQL Inserts: A Performance Deep Dive

This article investigates why MySQL discourages UUID or non‑sequential Snowflake IDs as primary keys, compares auto_increment, UUID, and random‑key tables through SpringBoot‑JdbcTemplate benchmarks, analyzes their index structures, and explains the performance trade‑offs and security considerations.

IndexingMySQLSpringBoot
0 likes · 10 min read
Why UUID Primary Keys Slow Down MySQL Inserts: A Performance Deep Dive
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 26, 2025 · Backend Development

Global Exception Handling in SpringBoot: Custom Handlers, Enums, and Response Wrappers

This article explains how to implement unified global exception handling in SpringBoot by using @ControllerAdvice with @ExceptionHandler, defining a base error interface, custom enums, exception classes, and a standardized response wrapper, while also providing test code examples and best‑practice recommendations.

CustomExceptionExceptionHandlingGlobalException
0 likes · 10 min read
Global Exception Handling in SpringBoot: Custom Handlers, Enums, and Response Wrappers
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 19, 2025 · Backend Development

Comprehensive Overview of Spring and Spring Boot Extension Points and Bean Lifecycle

This article provides a detailed walkthrough of Spring and Spring Boot's core concepts, explains the bean container refresh process, and enumerates all major extension interfaces—including ApplicationContextInitializer, BeanDefinitionRegistryPostProcessor, BeanFactoryPostProcessor, InstantiationAwareBeanPostProcessor, SmartInstantiationAwareBeanPostProcessor, various *Aware interfaces, @PostConstruct, InitializingBean, FactoryBean, SmartInitializingSingleton, CommandLineRunner, DisposableBean, and ApplicationListener—accompanied by code samples and usage scenarios.

BeanLifecycleDependencyInjectionExtensionPoints
0 likes · 16 min read
Comprehensive Overview of Spring and Spring Boot Extension Points and Bean Lifecycle
Java Backend Technology
Java Backend Technology
Mar 17, 2025 · Backend Development

Mastering Business Operation Logging: From AOP to Binlog with Spring

This article explores comprehensive strategies for capturing business operation logs in a Spring‑based system, comparing three solutions—from a simple AOP‑annotation approach, through an enhanced AOP + SpEL method, to a robust Binlog‑plus‑time‑window architecture—while weighing their advantages, drawbacks, and implementation details.

AOPSpELSpringBoot
0 likes · 16 min read
Mastering Business Operation Logging: From AOP to Binlog with Spring
Java Tech Enthusiast
Java Tech Enthusiast
Mar 13, 2025 · Databases

Performance Comparison of UUID vs Auto-Increment IDs in MySQL

Benchmarking three MySQL tables—auto_increment, UUID, and random long keys—shows that sequential auto_increment inserts are fastest, random keys are slower, and UUIDs dramatically lag due to random I/O and fragmentation, so use auto_increment for most workloads and reserve UUIDs only for required global uniqueness.

IndexingJDBCMySQL
0 likes · 10 min read
Performance Comparison of UUID vs Auto-Increment IDs in MySQL
Selected Java Interview Questions
Selected Java Interview Questions
Mar 13, 2025 · Backend Development

Implementing Dynamic Data Source Switching in Spring Boot with ThreadLocal and AbstractRoutingDataSource

This article demonstrates how to build a dynamic data source switching mechanism in Spring Boot by leveraging ThreadLocal for thread‑scoped context and AbstractRoutingDataSource for routing, covering manual implementation, annotation‑driven switching, and runtime addition of new data sources.

DatabaseDynamicDataSourceMybatisPlus
0 likes · 14 min read
Implementing Dynamic Data Source Switching in Spring Boot with ThreadLocal and AbstractRoutingDataSource
Lobster Programming
Lobster Programming
Mar 13, 2025 · Backend Development

Why Spring @Transactional Sometimes Fails: 12 Common Pitfalls and Fixes

This article explains how Spring's declarative transaction management works, why the @Transactional annotation can unexpectedly become ineffective, and presents twelve typical scenarios—such as internal method calls, non‑public methods, final/static modifiers, proxy issues, and incorrect propagation settings—along with practical solutions to ensure reliable transaction handling.

AOPJavaSpring
0 likes · 12 min read
Why Spring @Transactional Sometimes Fails: 12 Common Pitfalls and Fixes
Sohu Tech Products
Sohu Tech Products
Mar 12, 2025 · Databases

Understanding Redis Streams: Core Commands and SpringBoot Integration

The article introduces Redis Streams as a Kafka‑like messaging structure, explains its fundamental concepts and seven core commands (XADD, XRANGE, XREAD, XGROUP CREATE, XREADGROUP, XACK, XTRIM), demonstrates integration with Spring Boot, and evaluates its fit for lightweight, low‑backlog queue scenarios.

Consumer GroupRedisRedis Commands
0 likes · 14 min read
Understanding Redis Streams: Core Commands and SpringBoot Integration
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 5, 2025 · Backend Development

One-Click Remote Deployment of SpringBoot Projects with IntelliJ IDEA and Docker

This tutorial explains how to set up IntelliJ IDEA and Docker for one‑click remote deployment of a SpringBoot application, covering prerequisite installations, SSH configuration, Docker daemon basics, Dockerfile creation, and the step‑by‑step configuration within IDEA to streamline project deployment and log monitoring.

DockerIntelliJ IDEARemote Deployment
0 likes · 7 min read
One-Click Remote Deployment of SpringBoot Projects with IntelliJ IDEA and Docker
Java Tech Enthusiast
Java Tech Enthusiast
Mar 2, 2025 · Backend Development

Simplify File Downloads in SpringBoot with a Single @Download Annotation

The Concept‑Download library lets SpringBoot developers replace verbose download code with a single @Download annotation that automatically handles classpath resources, local files, HTTP URLs, custom objects, compression and reactive streaming, simplifying batch and QR‑code ZIP exports.

AOPAnnotationFileDownload
0 likes · 8 min read
Simplify File Downloads in SpringBoot with a Single @Download Annotation
Selected Java Interview Questions
Selected Java Interview Questions
Feb 27, 2025 · Backend Development

Step-by-Step Guide to Using MybatisX with Spring Boot

This article introduces MybatisX, an IntelliJ IDEA plugin that streamlines MyBatis and MyBatis‑Plus development, and provides a detailed step‑by‑step tutorial on setting up a Spring Boot project, configuring the database, generating code, and writing a simple controller using MyBatis‑Plus.

JavaMyBatisXMybatis-Plus
0 likes · 5 min read
Step-by-Step Guide to Using MybatisX with Spring Boot
Architecture Digest
Architecture Digest
Feb 27, 2025 · Backend Development

Implementing a Flow Engine and Plugin Extension for Business Isolation and Extensibility in Backend Systems

The article explains why excessive conditional logic harms maintainability, introduces a flow‑engine and plugin‑extension architecture to isolate business code, demonstrates configuration and execution with Java examples from the open‑source MemberClub project, and lists the surrounding tech stack for practical learning.

JavaSpringBootbackend architecture
0 likes · 7 min read
Implementing a Flow Engine and Plugin Extension for Business Isolation and Extensibility in Backend Systems
Top Architecture Tech Stack
Top Architecture Tech Stack
Feb 25, 2025 · Backend Development

Implementing Dynamic MySQL Master‑Slave Switching in SpringBoot Using AOP and Custom Annotations

This tutorial explains how to implement dynamic master‑slave MySQL switching in a SpringBoot 3.0.4 project using AOP and a custom @DataSource annotation, covering configuration, enum definitions, utility classes, aspect handling, and usage examples for both single and multiple data sources, including Oracle integration.

AOPJavaMySQL
0 likes · 15 min read
Implementing Dynamic MySQL Master‑Slave Switching in SpringBoot Using AOP and Custom Annotations
Top Architecture Tech Stack
Top Architecture Tech Stack
Feb 24, 2025 · Backend Development

Optimizing SpringBoot Startup Time: Analyzing and Reducing Bean Scanning and Initialization Overheads

This article investigates why a SpringBoot service takes 6‑7 minutes to start, identifies the costly bean‑scanning and bean‑initialization phases, and demonstrates how to speed up startup to around 40 seconds using custom SpringApplicationRunListener, BeanPostProcessor monitoring, JavaConfig selective bean registration, and cache auto‑configuration adjustments.

AutoConfigurationCacheSpringBoot
0 likes · 20 min read
Optimizing SpringBoot Startup Time: Analyzing and Reducing Bean Scanning and Initialization Overheads
Java Backend Technology
Java Backend Technology
Feb 19, 2025 · Backend Development

Mastering Dynamic MySQL Master‑Slave Switching in SpringBoot with AOP

Learn how to implement dynamic MySQL master‑slave switching in a SpringBoot project using AOP and custom annotations, ensuring automatic failover to the master when a slave fails, with detailed configuration, code examples, and guidance for multiple data sources and Oracle integration.

AOPDatabase FailoverMaster‑Slave
0 likes · 15 min read
Mastering Dynamic MySQL Master‑Slave Switching in SpringBoot with AOP
Java Backend Technology
Java Backend Technology
Feb 4, 2025 · Backend Development

How to Implement Real-Time Overdue Task Alerts with Redis Key Expiration and Strategy Pattern

This article explains how to use Redis key expiration notifications combined with a strategy pattern to create real‑time overdue reminders for workflow tasks, covering configuration, listener implementation, distributed locking, message handling, and practical usage in a SpringBoot project.

Key ExpirationSpringBootStrategy Pattern
0 likes · 13 min read
How to Implement Real-Time Overdue Task Alerts with Redis Key Expiration and Strategy Pattern