Tagged articles

SpringBoot

1113 articles · Page 3 of 12
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.

Backend DevelopmentForm BindingJava
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.

Backend DevelopmentJavaPerformance Optimization
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.

@DateTimeFormatAnnotationBackend Development
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.

AnnotationJavaSpring Data
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.

DockerMySQLRead‑Write Splitting
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.

AOPBackend DevelopmentFeign
0 likes · 8 min read
Understanding SpringBoot Interceptors: Filters, HandlerInterceptor, AOP, RestTemplate, Feign, and WebFilter
Top Architecture Tech Stack
Top Architecture Tech Stack
May 14, 2025 · Backend Development

Implementing IP+URL Rate Limiting with Spring Boot Interceptor and Redis Distributed Lock

This guide demonstrates how to protect a Spring Boot service from malicious requests by creating a custom interceptor that tracks URL‑IP request counts, uses Redis for distributed locking, and disables offending IPs after a configurable threshold, with full code examples and configuration steps.

DistributedLockJavaRateLimiting
0 likes · 8 min read
Implementing IP+URL Rate Limiting with Spring Boot Interceptor and Redis Distributed Lock
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.

JavaOptimizationPerformance
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.

AnnotationBest PracticesJava
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
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.

Backend DevelopmentSpringBootiTextPDF
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.

Backend DevelopmentDynamic SchedulingJava
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.

JavaSchedulingSpringBoot
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.

CORSCross-OriginNginx
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.

CallableDeferredResultSpringBoot
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.

AOPJavaMulti‑tenant
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.

FreemarkerJavaMyBatis
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.

DockerIntelliJ IDEAJava
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.

IndexingMySQLPerformance
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 Architect Essentials
Java Architect Essentials
Mar 17, 2025 · Backend Development

One‑Click Deployment of a SpringBoot Application Using IDEA and Docker

This tutorial demonstrates how to replace the traditional jar‑upload workflow with an IDEA‑integrated Docker solution, covering environment setup, SSH configuration, Docker daemon connection, SpringBoot code, Dockerfile creation, remote deployment settings, firewall opening, and common troubleshooting steps.

DeploymentDockerIDEA
0 likes · 8 min read
One‑Click Deployment of a SpringBoot Application Using IDEA and Docker
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.

AOPBinlogSpEL
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.

DynamicDataSourceMybatisPlusSpringBoot
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.

Backend DevelopmentDockerIntelliJ IDEA
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.

JavaProcess isolationSpringBoot
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.

AutoConfigurationBackend DevelopmentCache
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.

Distributed LockKey ExpirationSpringBoot
0 likes · 13 min read
How to Implement Real-Time Overdue Task Alerts with Redis Key Expiration and Strategy Pattern
Top Architect
Top Architect
Feb 1, 2025 · Backend Development

Measuring Per‑Request Heap Memory Usage in SpringBoot with JMeter

This article describes an experiment using SpringBoot 2.5.4 and JMeter to measure the heap memory allocated per HTTP and RPC request, detailing the setup, GC logging configuration, results showing average memory consumption around 34 KB per request, and recommendations for logging and performance optimization.

GCJMeterJava
0 likes · 11 min read
Measuring Per‑Request Heap Memory Usage in SpringBoot with JMeter
Su San Talks Tech
Su San Talks Tech
Jan 23, 2025 · Backend Development

How to Prevent Overselling in High‑Concurrency Flash Sale Systems

This article explores common overselling problems in high‑concurrency flash‑sale scenarios and presents seven practical solutions—including lock timing adjustments, AOP locking, pessimistic and optimistic database locks, and queue‑based approaches—each illustrated with SpringBoot code and performance test results.

JavaLockSeckill
0 likes · 20 min read
How to Prevent Overselling in High‑Concurrency Flash Sale Systems
Top Architect
Top Architect
Jan 21, 2025 · Backend Development

DynamicTp: A SpringBoot‑Based Dynamic Thread‑Pool Framework for Java Applications

The article introduces DynamicTp, a SpringBoot-based dynamic thread‑pool framework that enables real‑time adjustment, monitoring, and alerting of ThreadPoolExecutor parameters via various configuration centers, outlines its architecture, modules, features, and integration with third‑party components, and provides usage guidance for Java backend developers.

DynamicTpJavaSpringBoot
0 likes · 12 min read
DynamicTp: A SpringBoot‑Based Dynamic Thread‑Pool Framework for Java Applications
Top Architect
Top Architect
Jan 20, 2025 · Backend Development

Diagnosing Excessive Memory Usage in Spring Boot Services: A Real‑World Case Study and Best Practices

This article recounts a production incident where Spring Boot services consumed excessive memory, explains how to diagnose the issue using jps and jmap, discusses default JVM heap settings, offers practical remediation steps, and also contains promotional material for AI community services and related offers.

BackendDevelopmentJVMJava
0 likes · 9 min read
Diagnosing Excessive Memory Usage in Spring Boot Services: A Real‑World Case Study and Best Practices
Top Architecture Tech Stack
Top Architecture Tech Stack
Jan 20, 2025 · Backend Development

Optimizing SpringBoot Startup Time: Reducing Bean Scanning Overhead and Monitoring Bean Initialization

This article explains how to diagnose and dramatically reduce SpringBoot startup latency by analyzing SpringApplicationRunListener and BeanPostProcessor phases, limiting component scanning paths, using JavaConfig for explicit bean registration, monitoring bean initialization times, and handling auto-configuration pitfalls such as cache manager duplication.

AutoConfigurationBeanScanningJavaConfig
0 likes · 19 min read
Optimizing SpringBoot Startup Time: Reducing Bean Scanning Overhead and Monitoring Bean Initialization
Java Architect Essentials
Java Architect Essentials
Jan 19, 2025 · Backend Development

Proper Declaration, Monitoring, and Configuration of Java Thread Pools

This article explains how to correctly declare Java thread pools using ThreadPoolExecutor, monitor their runtime status, configure parameters for CPU‑bound and I/O‑bound workloads, assign meaningful names, avoid common pitfalls such as unbounded queues and thread‑local leakage, and leverage dynamic pool frameworks.

Best PracticesJavaPerformance
0 likes · 16 min read
Proper Declaration, Monitoring, and Configuration of Java Thread Pools
Architect
Architect
Jan 18, 2025 · Backend Development

Mastering High‑Concurrency Flash‑Sale: 7 Locking & Queue Strategies in SpringBoot

This article analyzes a high‑concurrency flash‑sale scenario using SpringBoot, MySQL, and JMeter, demonstrates seven implementations—from service‑level locks to AOP, pessimistic/optimistic locks, and queue‑based designs—examines their trade‑offs with concrete code, test results, and practical recommendations.

JMeterLockQueue
0 likes · 20 min read
Mastering High‑Concurrency Flash‑Sale: 7 Locking & Queue Strategies in SpringBoot
Top Architect
Top Architect
Jan 18, 2025 · Backend Development

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

This article explains how to replace Spring Boot's default embedded Tomcat container with Undertow, detailing Undertow's features, providing Maven dependency changes, and comparing performance and memory usage through test results, concluding that Undertow offers superior efficiency for high‑concurrency Java web applications.

JavaSpringBootUndertow
0 likes · 9 min read
Replacing Tomcat with Undertow in Spring Boot: Configuration, Features, and Performance Comparison
Top Architect
Top Architect
Jan 10, 2025 · Backend Development

Measuring Heap Memory Allocation per HTTP and RPC Request in SpringBoot

This article details a practical experiment using SpringBoot 2.5.4 and JMeter to measure the heap memory allocated by individual HTTP and RPC requests, analyzes GC logs, and demonstrates how request size and logging affect memory consumption, providing insights for backend performance optimization.

Backend DevelopmentGCJVM
0 likes · 11 min read
Measuring Heap Memory Allocation per HTTP and RPC Request in SpringBoot
Java Backend Technology
Java Backend Technology
Jan 9, 2025 · Backend Development

How DynamicTp Enables Real‑Time ThreadPool Tuning and Monitoring in Java

DynamicTp is a SpringBoot‑compatible framework that extends ThreadPoolExecutor to allow live adjustment of pool parameters, real‑time monitoring, multi‑platform alerts, and seamless integration with popular configuration centers, helping Java services achieve higher performance and reliability.

SpringBootThreadPooldynamic-configuration
0 likes · 11 min read
How DynamicTp Enables Real‑Time ThreadPool Tuning and Monitoring in Java
Lobster Programming
Lobster Programming
Jan 9, 2025 · Information Security

5 Effective Anti-Hotlinking Techniques: Nginx, SpringBoot, Tokens, Timestamps & Captchas

Hotlinking attacks steal popular media by fetching resources from major platforms, but developers can protect assets using anti-leech methods such as Nginx referer checks, SpringBoot filters, token validation, timestamp verification, and graphical captchas, each with strengths and limitations against forged requests.

NginxSpringBootToken
0 likes · 7 min read
5 Effective Anti-Hotlinking Techniques: Nginx, SpringBoot, Tokens, Timestamps & Captchas
Code Ape Tech Column
Code Ape Tech Column
Jan 8, 2025 · Backend Development

Implementing High‑Concurrency Flash‑Sale (Seckill) in SpringBoot: Locking Strategies, Queue Solutions, and Performance Testing

This article demonstrates how to simulate a high‑concurrency flash‑sale scenario using SpringBoot, MySQL, Mybatis‑Plus and JMeter, analyzes the overselling problem caused by premature lock release, and presents seven solutions—including lock‑first strategies, AOP, pessimistic and optimistic locks, and queue‑based approaches—along with code samples and test results.

AOPJMeterLocking
0 likes · 19 min read
Implementing High‑Concurrency Flash‑Sale (Seckill) in SpringBoot: Locking Strategies, Queue Solutions, and Performance Testing
Su San Talks Tech
Su San Talks Tech
Jan 8, 2025 · Backend Development

How DynamicTp Enables Real‑Time Thread Pool Monitoring and Auto‑Tuning in Java

DynamicTp extends Java's ThreadPoolExecutor with zero‑intrusion configuration, real‑time parameter adjustment, comprehensive monitoring, and multi‑channel alerting, allowing developers to dynamically tune thread pools across microservices using popular configuration centers and integrate with tools like Micrometer and Grafana.

DynamicTpJavaSpringBoot
0 likes · 11 min read
How DynamicTp Enables Real‑Time Thread Pool Monitoring and Auto‑Tuning in Java
Java Tech Enthusiast
Java Tech Enthusiast
Jan 2, 2025 · Backend Development

Essential Java Libraries and Tools for Backend Development

Beyond the JDK, modern Java backend development relies on a core toolkit—including SpringBoot, Netty, Guava or Hutool utilities, JUnit 5 with Mockito, JMH, OkHTTP, HikariCP or Druid pools, Caffeine cache, Hazelcast, SLF4J + Logback, Jackson, Jolokia, Hibernate‑Validator, and FreeMarker—to build robust, high‑performance enterprise services.

JavaPerformanceSpringBoot
0 likes · 10 min read
Essential Java Libraries and Tools for Backend Development
Top Architect
Top Architect
Dec 31, 2024 · Backend Development

Java Plugin Architecture and Spring Boot Implementation Guide

This article explains various plugin implementation approaches in Java, including SPI, ServiceLoader, custom configuration, and Spring Boot's spring.factories, providing detailed code examples and step‑by‑step guidance for building extensible backend systems that can be dynamically loaded and configured at runtime.

JavaPluginSPI
0 likes · 22 min read
Java Plugin Architecture and Spring Boot Implementation Guide
Architect's Guide
Architect's Guide
Dec 31, 2024 · Backend Development

Apollo Configuration Center: Concepts, Architecture, and Spring Boot Integration Guide

This article provides a comprehensive tutorial on Apollo, covering its basic concepts, architecture, four-dimensional configuration model, client design, high‑availability considerations, and step‑by‑step instructions for creating a Spring Boot project, integrating Apollo dependencies, configuring environments, testing dynamic updates, and deploying the application on Kubernetes.

ApolloJavaKubernetes
0 likes · 22 min read
Apollo Configuration Center: Concepts, Architecture, and Spring Boot Integration Guide
Top Architect
Top Architect
Dec 27, 2024 · Backend Development

Server‑Sent Events (SSE) vs WebSocket vs Polling: Detailed Comparison and SpringBoot Implementation

This article explains the lightweight Server‑Sent Events (SSE) approach for one‑way server push, compares its features, connection model, performance and use cases against WebSocket and traditional polling, and provides a SpringBoot example with code snippets for building an online‑user SSE endpoint.

Backend DevelopmentPollingReal‑time communication
0 likes · 11 min read
Server‑Sent Events (SSE) vs WebSocket vs Polling: Detailed Comparison and SpringBoot Implementation
Top Architect
Top Architect
Dec 26, 2024 · Backend Development

Implementing Login Attempt Limiting with Spring Boot, Redis, and Lua Scripts

This article explains how to prevent brute‑force password attempts by locking an IP after three failed logins using a Spring Boot backend, Redis for distributed counters, and a Lua script to ensure atomic increment and expiration, while also providing a simple HTML login page for the front end.

JavaLoginRateLimitingLua
0 likes · 19 min read
Implementing Login Attempt Limiting with Spring Boot, Redis, and Lua Scripts