Tagged articles
1047 articles
Page 5 of 11
Architect
Architect
Jun 12, 2024 · Backend Development

Scaling a Consumer‑Goods Business Platform to 10M Daily Calls with SpringBoot, Kong, and K8s

The article details a real‑world case study of building and operating a high‑traffic business middle‑platform for a leading consumer‑goods company, covering business and technical architecture, API gateway selection, SpringBoot microservices, custom MyBatis, logging, SSL, Docker, MyCat sharding, K8s deployment, CI/CD pipeline, and monitoring solutions.

DevOpsDockerKong
0 likes · 19 min read
Scaling a Consumer‑Goods Business Platform to 10M Daily Calls with SpringBoot, Kong, and K8s
Architect
Architect
Jun 10, 2024 · Backend Development

How to Build a Scalable Front‑Back‑Separated Captcha Login with Spring Boot and Redis

This article walks through the problem of traditional session‑based captcha login, compares it with a modern front‑back‑separated architecture, and provides a step‑by‑step implementation using Spring Boot, Kaptcha, and Redis, including full code snippets, configuration classes, and flow diagrams.

CaptchaFrontBackSeparationKaptcha
0 likes · 12 min read
How to Build a Scalable Front‑Back‑Separated Captcha Login with Spring Boot and Redis
Architect's Guide
Architect's Guide
Jun 6, 2024 · Backend Development

Backend Implementation Method and Device Based on SpringBoot

The Chinese Patent CN112905176B granted to Industrial and Commercial Bank of China describes a SpringBoot‑based backend implementation method that extracts operation data, maps business IDs to configuration, builds conditional expressions, and processes data, aiming to reduce development changes, lower costs, and improve system stability.

Software ArchitectureSpringBootbackend-development
0 likes · 3 min read
Backend Implementation Method and Device Based on SpringBoot
Selected Java Interview Questions
Selected Java Interview Questions
May 31, 2024 · Backend Development

Flexible Switching Between Spring @Scheduled and XXL‑JOB for Scheduled Tasks

This article explains how to implement a configuration‑driven mechanism that dynamically switches between Spring's native @Scheduled tasks and XXL‑JOB execution, automatically registers jobs, disables Spring's scheduler when needed, and forwards logs to the XXL‑JOB console, providing a complete starter solution for backend developers.

BackendScheduledTasksSpringBoot
0 likes · 25 min read
Flexible Switching Between Spring @Scheduled and XXL‑JOB for Scheduled Tasks
macrozheng
macrozheng
May 28, 2024 · Backend Development

Build Real‑Time Chat with RabbitMQ MQTT and Zero Backend Code

This guide explains how to enable MQTT support in RabbitMQ, use MQTTBox and MQTT.js for instant messaging, and integrate MQTT into a SpringBoot application, providing step‑by‑step commands, code snippets, and configuration details for both front‑end and back‑end developers.

Instant MessagingMQTTRabbitMQ
0 likes · 15 min read
Build Real‑Time Chat with RabbitMQ MQTT and Zero Backend Code
JD Retail Technology
JD Retail Technology
May 23, 2024 · Backend Development

Designing a Message Processing Solution with MVEL Expressions and the Chain of Responsibility Pattern

This article explains how to combine MVEL expressions with the Chain of Responsibility design pattern to build a decoupled, extensible message‑processing framework, using an order‑splitting MQ example to illustrate the architecture, code implementation, and benefits for backend Java services.

Apache Commons ChainChain of ResponsibilityDesign Patterns
0 likes · 15 min read
Designing a Message Processing Solution with MVEL Expressions and the Chain of Responsibility Pattern
macrozheng
macrozheng
May 23, 2024 · Backend Development

How to Split and Optimize Large Database Transactions for Faster APIs

This article explains why large database transactions degrade backend API performance and presents practical techniques—such as avoiding RPC inside transactions, using programmatic transactions, batching data, splitting into smaller transactions, and applying asynchronous processing—to dramatically improve efficiency.

AsynchronousSpringBootjava
0 likes · 9 min read
How to Split and Optimize Large Database Transactions for Faster APIs
macrozheng
macrozheng
May 22, 2024 · Big Data

How to Install and Use DataEase: An Open‑Source Big Data Visualization Tool

This guide introduces DataEase, an open‑source BI platform built with SpringBoot, Apache Doris, and Kettle, walks through its architecture, provides step‑by‑step Docker‑based installation, and demonstrates how to create datasets, visualizations, and dashboards from Excel and MySQL sources.

Apache DorisBIData visualization
0 likes · 13 min read
How to Install and Use DataEase: An Open‑Source Big Data Visualization Tool
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 20, 2024 · Backend Development

How to Fix Resource Leaks When Streaming Files in SpringBoot 3.2

This article explains why using a wrong Content‑Type header and not closing the InputStream when returning a Resource in SpringBoot 3.2 causes file‑handle leaks, and demonstrates three solutions—including try‑with‑resources, direct HttpServletResponse streaming, and custom Resource implementations—to safely download files even under high concurrency.

File DownloadResponseEntitySpringBoot
0 likes · 7 min read
How to Fix Resource Leaks When Streaming Files in SpringBoot 3.2
Selected Java Interview Questions
Selected Java Interview Questions
May 15, 2024 · Backend Development

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

This article introduces retrofit-spring-boot-starter, a lightweight, type‑safe HTTP client starter that seamlessly integrates Retrofit into Spring Boot projects, outlines its key features, provides quick usage examples with Maven/Gradle dependencies, interface definitions, injection, configuration options, and advanced capabilities such as custom OkHttpClient injection, annotation‑based interceptors, connection‑pool management, logging, and retry mechanisms.

BackendConfigurationHTTP client
0 likes · 13 min read
retrofit-spring-boot-starter: A Lightweight HTTP Client Integration for Spring Boot
Architecture Digest
Architecture Digest
May 13, 2024 · Backend Development

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

The article introduces retrofit-spring-boot-starter, a lightweight HTTP client library for Spring Boot that simplifies HTTP calls, offers extensive features such as custom OkHttpClient injection, annotation‑based interceptors, retry, logging, circuit‑breaker, and provides detailed usage examples, configuration options, and advanced customization techniques.

ConfigurationHTTP clientMicroservices
0 likes · 22 min read
retrofit-spring-boot-starter: A Lightweight HTTP Client Framework for Spring Boot
Java High-Performance Architecture
Java High-Performance Architecture
May 10, 2024 · Backend Development

How to Slim Down SpringBoot JARs: Remove Unused Libraries for Faster Deployments

This guide explains why SpringBoot JARs become bulky when many dependencies are included, shows how to inspect the packaged libraries, and provides step‑by‑step Maven configurations and runtime commands to build a leaner JAR that loads external libs only when needed, dramatically speeding up deployment.

Jar OptimizationSpringBootjava
0 likes · 6 min read
How to Slim Down SpringBoot JARs: Remove Unused Libraries for Faster Deployments
macrozheng
macrozheng
Apr 30, 2024 · Operations

How to Automate Java SpringBoot Deployment with Jenkins and Docker Swarm

This guide walks you through setting up Jenkins to pull code from GitLab, build a SpringBoot 3 Java project with Maven, back up and copy JAR files to a remote server, and perform rolling updates of Docker Swarm services, all with step‑by‑step instructions and code snippets.

DeploymentDocker SwarmJenkins
0 likes · 10 min read
How to Automate Java SpringBoot Deployment with Jenkins and Docker Swarm
The Dominant Programmer
The Dominant Programmer
Apr 23, 2024 · Backend Development

Implementing Asynchronous Multithreaded Tasks in SpringBoot with Singleton and ScheduledExecutorService

This article walks through how to use the Singleton pattern together with SpringBoot's ScheduledExecutorService to build a reusable asynchronous task manager, recreate Ruoyi's login‑log recording logic, and verify the non‑blocking behavior with a concrete test case.

AsyncManagerAsyncTaskFactoryScheduledExecutorService
0 likes · 7 min read
Implementing Asynchronous Multithreaded Tasks in SpringBoot with Singleton and ScheduledExecutorService
Su San Talks Tech
Su San Talks Tech
Apr 20, 2024 · Backend Development

Mastering Redis Streams: From Basics to SpringBoot Integration

This article introduces Redis Streams, explains its core concepts and commands, compares it with Kafka, demonstrates practical SpringBoot integration with code examples, and discusses its suitability as a lightweight message queue, highlighting advantages, limitations, and best‑practice considerations.

Kafka ComparisonSpringBootStreams
0 likes · 13 min read
Mastering Redis Streams: From Basics to SpringBoot Integration
Java Architect Essentials
Java Architect Essentials
Apr 19, 2024 · Backend Development

Improving Million-Scale Data Insertion Efficiency with Spring Boot ThreadPoolTaskExecutor

This article demonstrates how to boost the performance of inserting over two million records by configuring a ThreadPoolTaskExecutor in a Spring Boot application, providing detailed implementation code, test results comparing multithreaded and single‑threaded approaches, and practical recommendations for optimal thread pool sizing.

BatchInsertPerformanceTestingSpringBoot
0 likes · 6 min read
Improving Million-Scale Data Insertion Efficiency with Spring Boot ThreadPoolTaskExecutor
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 19, 2024 · Backend Development

SpringBoot Extension Interfaces: BeanPostProcessor, BeanFactoryPostProcessor

This article introduces the key SpringBoot extension interfaces—including BeanPostProcessor, BeanFactoryPostProcessor, BeanDefinitionRegistryPostProcessor, SmartInstantiationAwareBeanPostProcessor, SmartInitializingSingleton, ApplicationContextInitializer, EnvironmentPostProcessor, and the *Runner interfaces—explaining their purposes, usage patterns, and providing concrete code examples to help developers customize and extend SpringBoot applications effectively.

BeanPostProcessorExtension InterfacesSpringBoot
0 likes · 10 min read
SpringBoot Extension Interfaces: BeanPostProcessor, BeanFactoryPostProcessor
Code Ape Tech Column
Code Ape Tech Column
Apr 17, 2024 · Backend Development

Spring Boot Startup Configuration Principles, Extension Points, and Performance Optimizations

This article explains the core principles of Spring Boot startup configuration, demonstrates how to intervene using ApplicationContextInitializer, SpringApplicationRunListener, ApplicationRunner, and CommandLineRunner, and provides practical optimization techniques to significantly reduce application launch time.

ApplicationContextInitializerApplicationRunnerBackend
0 likes · 32 min read
Spring Boot Startup Configuration Principles, Extension Points, and Performance Optimizations
macrozheng
macrozheng
Apr 16, 2024 · Backend Development

Boost Java Backend Development with DDD, CQRS, and Automated Maven Archetype Generation

This article explains how to lower the learning curve of DDD and CQRS by using structured, standardized, and templated approaches, introduces a Maven archetype for rapid project scaffolding, and demonstrates an IntelliJ IDEA plugin that auto‑generates boilerplate code for aggregate roots, commands, queries, and related components.

CQRSDDDSpringBoot
0 likes · 16 min read
Boost Java Backend Development with DDD, CQRS, and Automated Maven Archetype Generation
Architecture Digest
Architecture Digest
Apr 11, 2024 · Backend Development

Cool Request: A Free Open‑Source IDEA Plugin for Simplifying SpringBoot Backend API Testing

This article introduces Cool Request, a free open‑source IntelliJ IDEA plugin that automatically extracts SpringBoot controllers, simplifies HTTP request debugging, supports multiple request bodies, pre‑ and post‑scripts, reflection calls, cURL import, Apifox export, global API search, and even provides a static resource server.

API testingCool RequestHTTP request
0 likes · 7 min read
Cool Request: A Free Open‑Source IDEA Plugin for Simplifying SpringBoot Backend API Testing
Sohu Tech Products
Sohu Tech Products
Apr 10, 2024 · Databases

ShardingSphere-JDBC Database Sharding Tutorial Project

The tutorial project showcases how to implement database sharding with ShardingSphere-JDBC (versions 4 and 5) in a SpringBoot O2O order service, providing modules for sharding, a gRPC ID generator, detailed configuration of four data sources, sharding algorithms, and Swagger-based testing of order creation and queries.

ShardingSphere-JDBCSpringBootdatabase scaling
0 likes · 5 min read
ShardingSphere-JDBC Database Sharding Tutorial Project
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 22, 2024 · Backend Development

Master Spring Boot: Unified Paths, Static Resources, Validation, and More

Learn how to configure Spring Boot 2.7.16 for unified API prefixes, custom static resource locations, annotation‑based and custom parameter validation, global exception handling, request inspection via HttpEntity, CORS filtering, custom error pages, and reliable ServletContext access using ApplicationListener.

CORSConfigurationServletContext
0 likes · 7 min read
Master Spring Boot: Unified Paths, Static Resources, Validation, and More
Code Ape Tech Column
Code Ape Tech Column
Mar 19, 2024 · Backend Development

Comprehensive Guide to Alibaba Sentinel: Installation, Configuration, Flow Control, Degrade Rules, Hot Parameter Limiting, System Adaptive Limits, Persistence, Cluster Flow Control, and Integration

This article provides an in‑depth tutorial on Alibaba Sentinel, covering its core concepts, installation of the dashboard, integration with Spring Cloud microservices, detailed configuration of flow control, degrade rules, hot‑parameter limiting, system adaptive protection, custom block handlers, persistence with Nacos, and cluster flow control for high‑availability services.

CircuitBreakerFlowControlMicroservices
0 likes · 36 min read
Comprehensive Guide to Alibaba Sentinel: Installation, Configuration, Flow Control, Degrade Rules, Hot Parameter Limiting, System Adaptive Limits, Persistence, Cluster Flow Control, and Integration
Architect's Guide
Architect's Guide
Mar 15, 2024 · Backend Development

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

This tutorial demonstrates how to build a custom dynamic data source solution in Spring Boot by combining ThreadLocal and AbstractRoutingDataSource, covering the implementation of context holders, routing logic, configuration, testing, annotation‑driven switching, and runtime addition of new data sources.

DynamicDataSourceSpringBootThreadLocal
0 likes · 16 min read
Implementing Dynamic Data Source Switching in Spring Boot with ThreadLocal and AbstractRoutingDataSource
Selected Java Interview Questions
Selected Java Interview Questions
Mar 6, 2024 · Backend Development

Encapsulating EasyExcel for Simplified Import/Export in Spring Boot Applications

This article demonstrates how to wrap EasyExcel within a Spring Boot + MyBatis‑Plus project to provide clean, reusable import and export APIs, covering environment setup, annotation usage, controller implementation, core service design, common pitfalls, and solutions for date and template handling.

BackendCodeExampleExcelImportExport
0 likes · 19 min read
Encapsulating EasyExcel for Simplified Import/Export in Spring Boot Applications
Top Architect
Top Architect
Mar 5, 2024 · Backend Development

Patent for a SpringBoot‑Based Web System Backend Implementation Method

The article announces a Chinese patent (CN112905176B) for a SpringBoot‑based backend implementation method, outlines its technical steps and benefits, briefly introduces SpringBoot, and also includes promotional material for a ChatGPT‑focused community offering resources and exclusive offers.

SpringBootWeb Developmentjava
0 likes · 5 min read
Patent for a SpringBoot‑Based Web System Backend Implementation Method
Java Backend Technology
Java Backend Technology
Mar 4, 2024 · Backend Development

How to Achieve Seamless Data Isolation in SpringBoot with MyBatis Interceptors

This article walks through the challenges of sharing a single database across pre‑release, gray, and online environments, explains how to add an env field for isolation, and shows a custom MyBatis interceptor and annotation‑driven AOP solution that rewrites SQL to automatically handle environment filtering and insertion while keeping business code untouched.

Custom AnnotationData IsolationInterceptor
0 likes · 9 min read
How to Achieve Seamless Data Isolation in SpringBoot with MyBatis Interceptors
Java Architect Essentials
Java Architect Essentials
Feb 29, 2024 · Backend Development

Building a Real‑Time Chat System with Netty, SpringBoot, and JavaFX

This article walks through the design and implementation of a three‑tier instant‑messaging platform—including a Netty‑based chat server, a JavaFX client, and a SpringBoot web admin console—covering architecture, protocol design, database schema, key Netty handlers, threading, and authentication details.

Database designInstant MessagingJavaFX
0 likes · 30 min read
Building a Real‑Time Chat System with Netty, SpringBoot, and JavaFX
macrozheng
macrozheng
Feb 27, 2024 · Backend Development

How to Build a Full‑Stack Admin System with Erupt and Zero Front‑End Code

Discover how the low‑code Java framework Erupt enables rapid creation of full‑stack admin applications without writing front‑end code, by using annotations to generate CRUD pages, integrating with SpringBoot, configuring dependencies, and extending with modules for scheduling, code generation, monitoring, NoSQL, and magic‑API.

CRUDEruptSpringBoot
0 likes · 14 min read
How to Build a Full‑Stack Admin System with Erupt and Zero Front‑End Code
Architect's Guide
Architect's Guide
Feb 27, 2024 · Backend Development

Implementation Details of a Simple Seckill (Flash Sale) System Using SpringBoot

This article presents a step‑by‑step technical walkthrough of a SpringBoot‑based Seckill project, covering password MD5 hashing, distributed session management, unified exception handling, page and object caching, static page generation, memory flag with Redis pre‑decrement and RabbitMQ async processing, oversell prevention, and API rate limiting, followed by a visual demonstration of the system’s UI and source code download.

RabbitMQSeckillSpringBoot
0 likes · 9 min read
Implementation Details of a Simple Seckill (Flash Sale) System Using SpringBoot
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 26, 2024 · Backend Development

Understanding and Configuring Pagination Rationalization with MyBatis PageHelper in SpringBoot

This article explains pagination rationalization in SpringBoot using MyBatis PageHelper, illustrates common unreasonable pagination scenarios, demonstrates a bug caused by page deletion, and shows how a simple two‑line configuration or per‑query setting resolves the issue while detailing the underlying implementation.

BackendMyBatisSpringBoot
0 likes · 8 min read
Understanding and Configuring Pagination Rationalization with MyBatis PageHelper in SpringBoot
Java High-Performance Architecture
Java High-Performance Architecture
Feb 24, 2024 · Backend Development

Unlock MyBatis Performance: Master First‑Level and Second‑Level Caches in SpringBoot

This article explains how MyBatis implements first‑level (session) and second‑level (namespace) caches, details their activation conditions, common pitfalls—especially when integrated with SpringBoot—and provides step‑by‑step configuration, code examples, and best‑practice recommendations to ensure cache effectiveness while avoiding hidden hazards.

CacheMyBatisSpringBoot
0 likes · 11 min read
Unlock MyBatis Performance: Master First‑Level and Second‑Level Caches in SpringBoot
macrozheng
macrozheng
Feb 22, 2024 · Backend Development

How Many Requests Can a Default SpringBoot App Handle? Inside Tomcat & Undertow Thread Pools

This article walks through an interview question about the maximum concurrent requests a default SpringBoot application can process, builds a minimal demo, examines Tomcat and Undertow thread‑pool configurations, and shows how container defaults and parameters like core size, max size, and queue length determine the real limit.

SpringBootThreadPoolTomcat
0 likes · 19 min read
How Many Requests Can a Default SpringBoot App Handle? Inside Tomcat & Undertow Thread Pools
The Dominant Programmer
The Dominant Programmer
Feb 20, 2024 · Backend Development

Integrating XXL‑JOB Distributed Scheduler into SpringBoot with Minimal Intrusion

This guide walks through XXL‑JOB’s core features, shows how to download and set up the admin console, configure a SpringBoot executor, and implement various job types—including simple, sharding, command‑line, HTTP, and lifecycle tasks—complete with code samples and UI screenshots.

Backend IntegrationDistributed SchedulerSpringBoot
0 likes · 17 min read
Integrating XXL‑JOB Distributed Scheduler into SpringBoot with Minimal Intrusion
The Dominant Programmer
The Dominant Programmer
Feb 20, 2024 · Backend Development

How to Manually Switch Multiple Data Sources (MySQL, SQL Server) in Spring Boot with Dynamic‑Datasource

This guide shows how to configure Spring Boot, MyBatis‑Plus and the dynamic‑datasource starter to connect to MySQL, SQL Server and PostgreSQL, add and remove data sources at runtime, verify their availability, and perform manual switching using a utility class and functional interfaces.

HikariCPSpringBootdatasource-switching
0 likes · 14 min read
How to Manually Switch Multiple Data Sources (MySQL, SQL Server) in Spring Boot with Dynamic‑Datasource
The Dominant Programmer
The Dominant Programmer
Feb 19, 2024 · Backend Development

How to Use SpringBoot and Modbus4j for Modbus TCP Data Reading

This article walks through setting up a SpringBoot project with the Modbus4j library to communicate with Modbus TCP devices, covering repository configuration, Maven dependencies, utility class implementation, single and batch reads, scheduled tasks, and troubleshooting common function‑code errors.

Industrial IoTModbus TCPModbus4j
0 likes · 11 min read
How to Use SpringBoot and Modbus4j for Modbus TCP Data Reading
Programmer DD
Programmer DD
Feb 18, 2024 · Backend Development

How SpringBoot Enables a Dynamic Backend Implementation – A Patent Insight

Industrial and Commercial Bank of China received patent CN112905176B for a SpringBoot‑based web system backend method that extracts operation data, maps business IDs to configuration, builds conditional expressions, and processes data, thereby reducing development changes, cutting costs, and enhancing system stability.

SpringBootbusiness logicjava
0 likes · 3 min read
How SpringBoot Enables a Dynamic Backend Implementation – A Patent Insight
Top Architect
Top Architect
Feb 6, 2024 · Backend Development

Implementing an Audit Function with SpringBoot: Design Options, Database Schema, Backend Controllers, and Vue Frontend Integration

This article explains four audit implementation approaches, provides the SQL schema for the audit and file tables, shows complete SpringBoot controller code for handling audit operations and file uploads, and presents full Vue front‑end code for creating, editing, listing, and approving audit records, offering a comprehensive guide for backend developers.

FileUploadSpringBootVue
0 likes · 26 min read
Implementing an Audit Function with SpringBoot: Design Options, Database Schema, Backend Controllers, and Vue Frontend Integration
Java Captain
Java Captain
Feb 4, 2024 · Backend Development

Integrating XXL-JOB with SpringBoot for Distributed Task Scheduling

This article provides a step‑by‑step guide on integrating the lightweight distributed task scheduler XXL‑JOB into a SpringBoot application, covering prerequisite installations, Maven dependency configuration, property settings, JobHandler implementation, and registration to enable scalable and reliable job execution.

Distributed SchedulingSpringBootXXL-JOB
0 likes · 3 min read
Integrating XXL-JOB with SpringBoot for Distributed Task Scheduling
Java Tech Enthusiast
Java Tech Enthusiast
Feb 2, 2024 · Backend Development

Boost Your Elasticsearch Development with Easy-Es: A Complete Guide

This article introduces Easy-Es, an ORM framework built on Elasticsearch's RestHighLevelClient, explains its architecture and advantages, and provides step‑by‑step instructions—including Maven/Gradle setup, configuration, entity and mapper creation, and full CRUD test examples—so developers can quickly integrate powerful search capabilities into Spring Boot applications.

BackendEasy-EsElasticsearch
0 likes · 9 min read
Boost Your Elasticsearch Development with Easy-Es: A Complete Guide
Top Architect
Top Architect
Jan 31, 2024 · Backend Development

Implementing an Audit Functionality with SpringBoot and Vue Frontend

This article provides a step‑by‑step guide on designing and implementing an audit feature using SpringBoot for the backend, MySQL for data storage, and Vue.js for the front‑end, covering multiple implementation strategies, database schema creation, RESTful APIs, file upload handling, and UI interaction details.

FileUploadREST APISpringBoot
0 likes · 20 min read
Implementing an Audit Functionality with SpringBoot and Vue Frontend
Architecture Digest
Architecture Digest
Jan 30, 2024 · Backend Development

Implementing an Audit Functionality with SpringBoot, MySQL, and Vue.js

This article provides a step‑by‑step guide on designing and implementing an audit workflow in a SpringBoot application, covering database schema creation, multiple backend implementation strategies, RESTful controller code, Vue.js front‑end integration, and file upload handling with deduplication.

REST APISpringBootVue.js
0 likes · 20 min read
Implementing an Audit Functionality with SpringBoot, MySQL, and Vue.js
Top Architect
Top Architect
Jan 29, 2024 · Backend Development

Implementing Open API Signature Verification in Spring Boot

This article explains the concept of open APIs and signature verification, outlines the end‑to‑end signing and verification flow, and provides complete Spring Boot code—including configuration properties, a signature manager, custom annotation, AOP aspect, request‑caching filter, and utility class—to securely validate third‑party requests without exposing credentials.

BackendSecurityOpenAPIRequestCaching
0 likes · 20 min read
Implementing Open API Signature Verification in Spring Boot
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 27, 2024 · Backend Development

Analyzing the SpringBoot run Method: From Startup to Execution

This article provides a comprehensive analysis of SpringBoot's run method, explaining its overall flow, the creation of SpringApplication objects, argument parsing, environment preparation, context refresh, and key extension points, while offering code examples to help developers understand the startup process.

Spring FrameworkSpringBootbackend-development
0 likes · 9 min read
Analyzing the SpringBoot run Method: From Startup to Execution
Java Architect Essentials
Java Architect Essentials
Jan 23, 2024 · Backend Development

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

This article investigates why a SpringBoot service takes 6‑7 minutes to start, identifies the heavy cost of component scanning and bean post‑processing, demonstrates how to monitor each phase with custom SpringApplicationRunListener and BeanPostProcessor implementations, and presents practical JavaConfig and starter‑based solutions that cut startup time from minutes to seconds.

BeanScanningCacheJavaConfig
0 likes · 18 min read
Optimizing SpringBoot Startup Time: Analyzing and Reducing Bean Scanning and Initialization Overhead
JD Retail Technology
JD Retail Technology
Jan 19, 2024 · Backend Development

Comprehensive Guide to Upgrading from JDK8/11 to JDK17: Performance Gains, New Language Features, and Migration Steps

This article explains why upgrading from JDK8 or JDK11 to the long‑term support JDK17 brings significant garbage‑collector performance improvements, new language features, and better framework compatibility, and provides detailed migration steps, Maven and SpringBoot configuration changes, and troubleshooting tips.

GarbageCollectionJDKSpringBoot
0 likes · 16 min read
Comprehensive Guide to Upgrading from JDK8/11 to JDK17: Performance Gains, New Language Features, and Migration Steps
Java Architect Essentials
Java Architect Essentials
Jan 18, 2024 · Backend Development

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

This tutorial explains how to switch between multiple databases in a Spring Boot application by implementing ThreadLocal and AbstractRoutingDataSource, covering code implementation, configuration, testing, annotation-based switching, and dynamic addition of data sources with detailed examples and practical guidance.

DynamicDataSourceSpringBootThreadLocal
0 likes · 15 min read
Implement Dynamic Data Source Switching in Spring Boot with ThreadLocal and AbstractRoutingDataSource
Code Ape Tech Column
Code Ape Tech Column
Jan 18, 2024 · Backend Development

Integrating DDD Four‑Layer Architecture and Microservice SDK with the D3boot Framework

This article explains how to combine Domain‑Driven Design's four‑layer architecture with a microservice‑oriented application SDK, introduces the D3boot lightweight framework and its modular base components, and shows how the approach simplifies building SaaS and PaaS systems while keeping code reusable and maintainable.

DDDFrameworkMicroservices
0 likes · 10 min read
Integrating DDD Four‑Layer Architecture and Microservice SDK with the D3boot Framework
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 17, 2024 · Backend Development

Master Spring’s Extension Points: BeanPostProcessor, BeanFactoryPostProcessor, and More

This article explains Spring and SpringBoot’s key extension points—including BeanPostProcessor, BeanFactoryPostProcessor, ApplicationContextInitializer, EnvironmentPostProcessor, and PropertySourceLocator—provides detailed code examples, registration steps, and trigger timing to help developers customize and extend Spring applications effectively.

BeanPostProcessorEnvironmentPostProcessorExtensionPoints
0 likes · 13 min read
Master Spring’s Extension Points: BeanPostProcessor, BeanFactoryPostProcessor, and More
macrozheng
macrozheng
Jan 11, 2024 · Information Security

How to Secure Your SpringBoot Application from Decompilation with ClassFinal

This guide explains how to protect a SpringBoot-based e‑commerce project from source leakage by using code obfuscation or the ClassFinal Maven plugin, detailing configuration, startup options, decompilation results, and machine‑binding to ensure the packaged jar runs only on authorized servers.

ClassFinalJava SecuritySpringBoot
0 likes · 7 min read
How to Secure Your SpringBoot Application from Decompilation with ClassFinal
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 10, 2024 · Backend Development

Why Does Spring Data JPA Insert Duplicate Users? Transaction & Lock Solutions

This article explains why a SpringBoot 3.0.9 application creates duplicate user rows when sending confirmation emails, analyzes the transactional behavior causing the issue, and presents three solutions—including pessimistic locking, narrowing transaction scope, and an event‑driven approach—to ensure data consistency.

EventDrivenPessimisticLockSpringBoot
0 likes · 8 min read
Why Does Spring Data JPA Insert Duplicate Users? Transaction & Lock Solutions
Java Architect Essentials
Java Architect Essentials
Jan 9, 2024 · Backend Development

PowerJob: A Comprehensive Introduction and Practical Guide to the New Generation Java Distributed Task Scheduling Framework

This article introduces PowerJob, explains its key features such as lock‑free scheduling, multiple execution modes, and workflow support, and provides step‑by‑step instructions for installing via Docker or JAR, configuring databases, setting up server and client projects, and creating and managing scheduled tasks in Java.

BackendSpringBootjava
0 likes · 11 min read
PowerJob: A Comprehensive Introduction and Practical Guide to the New Generation Java Distributed Task Scheduling Framework
Code Ape Tech Column
Code Ape Tech Column
Jan 8, 2024 · Cloud Native

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

This article provides an in‑depth tutorial on Apollo, Ctrip's open‑source distributed configuration center, covering its concepts, architecture, four management dimensions, client design, deployment in Kubernetes, and step‑by‑step Spring Boot integration with code examples and configuration details.

ApolloConfiguration CenterDistributed Config
0 likes · 28 min read
Comprehensive Guide to Using Ctrip's Apollo Distributed Configuration Center with Spring Boot
macrozheng
macrozheng
Jan 5, 2024 · Backend Development

Build a Mini SMS Platform: Architecture, Code Walkthrough, and Deployment

This article introduces a lightweight, open‑source SMS platform built with SpringBoot and Vue, explains its server‑side architecture, provides step‑by‑step deployment instructions, and demonstrates how to send templated messages using a simple Java SDK.

MicroservicesSDKSMS
0 likes · 11 min read
Build a Mini SMS Platform: Architecture, Code Walkthrough, and Deployment
macrozheng
macrozheng
Dec 30, 2023 · Backend Development

Master Single Sign-On (SSO) with SpringBoot, Vue & Uni‑App: A Hands‑On Guide

This article explains the concept, advantages, and implementation methods of Single Sign‑On (SSO) and provides two complete hands‑on examples—including architecture diagrams, database schema, configuration, and Java code for token‑based, ticket‑based, and RSA/AES encrypted SSO flows—using SpringBoot, Vue and Uni‑App.

AuthenticationMicroservicesSSO
0 likes · 18 min read
Master Single Sign-On (SSO) with SpringBoot, Vue & Uni‑App: A Hands‑On Guide
macrozheng
macrozheng
Dec 27, 2023 · Backend Development

Automate CRUD Code Generation for SpringBoot Projects – Boost Development Speed

This article introduces a SpringBoot‑based code generation tool that automatically creates entity classes, DAO interfaces, service implementations, and controller code from database tables, explains its design principles, demonstrates usage with screenshots, and provides a comprehensive set of customizable templates and dynamic parameters for developers.

CRUD automationSpringBootTemplate Engine
0 likes · 21 min read
Automate CRUD Code Generation for SpringBoot Projects – Boost Development Speed
Java Architect Essentials
Java Architect Essentials
Dec 25, 2023 · Backend Development

Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Initialization Bottlenecks

This article explains how to diagnose and dramatically reduce SpringBoot service startup latency by examining SpringApplicationRunListener phases, Bean scanning overhead, BeanPostProcessor timing, and cache auto‑configuration, then applying JavaConfig and starter‑based solutions to cut startup from minutes to seconds.

BackendBeanScanningCache
0 likes · 17 min read
Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Initialization Bottlenecks
Top Architect
Top Architect
Dec 25, 2023 · Backend Development

Dynamic Modification of Cron Expressions in SpringBoot Scheduling

This article explains how to dynamically modify Cron expressions for scheduled tasks in SpringBoot applications, covering @EnableScheduling, @Scheduled, mutable and immutable task configurations, custom interfaces, and code examples for registering, refreshing, and managing tasks at runtime without external schedulers.

SchedulingSpringBootcron
0 likes · 13 min read
Dynamic Modification of Cron Expressions in SpringBoot Scheduling
Wukong Talks Architecture
Wukong Talks Architecture
Dec 23, 2023 · Backend Development

Spring Boot Email Integration: JavaMailSender, JavaMail API, and Apache Commons Email with Code Samples

This tutorial explains three approaches to sending email in Spring Boot—JavaMailSender, JavaMail API, and Apache Commons Email—compares their advantages and disadvantages, and provides complete Maven dependencies, configuration settings, and ready‑to‑run code examples for each method.

Apache Commons EmailEmailJavaMailSender
0 likes · 11 min read
Spring Boot Email Integration: JavaMailSender, JavaMail API, and Apache Commons Email with Code Samples
Selected Java Interview Questions
Selected Java Interview Questions
Dec 19, 2023 · Backend Development

Dynamic Change of Cron Expression in SpringBoot Scheduling

This article explains how to dynamically modify Cron expressions for scheduled tasks in a SpringBoot application by using @EnableScheduling, @Scheduled, custom interfaces, and a refresh mechanism that registers, updates, or disables tasks at runtime without additional middleware.

BackendSchedulingSpringBoot
0 likes · 11 min read
Dynamic Change of Cron Expression in SpringBoot Scheduling
macrozheng
macrozheng
Dec 19, 2023 · Backend Development

How to Design a Scalable Permission System for SpringBoot E‑Commerce

This article walks through the complete design and implementation of a permission module for the Mall e‑commerce project, covering functional design, database schema, API specifications, and key technical choices such as Spring Security, JWT, and Redis‑based AOP optimization.

Database designMicroservicesPermission System
0 likes · 7 min read
How to Design a Scalable Permission System for SpringBoot E‑Commerce
macrozheng
macrozheng
Dec 15, 2023 · Backend Development

How Xxl-Job Powers Lightweight Distributed Task Scheduling in Java

This article explains the core concepts, architecture, and implementation details of the lightweight distributed scheduling platform Xxl-Job, including its scheduler center, executor, job handlers, registration, task triggering, routing strategies, execution flow, and result callbacks, with a step‑by‑step demo and code examples.

BackendDistributed SchedulingSpringBoot
0 likes · 21 min read
How Xxl-Job Powers Lightweight Distributed Task Scheduling in Java
Java High-Performance Architecture
Java High-Performance Architecture
Dec 14, 2023 · Backend Development

Master Dynamic Data Source Switching with ThreadLocal in SpringBoot

This guide explains how to implement dynamic data source switching in SpringBoot by leveraging ThreadLocal and AbstractRoutingDataSource, covering basic concepts, code examples for context holder, routing datasource, configuration, annotation‑driven switching, and runtime addition of new data sources with practical testing steps.

Dynamic Data SourceSpringBootThreadLocal
0 likes · 18 min read
Master Dynamic Data Source Switching with ThreadLocal in SpringBoot