Tagged articles
3873 articles
Page 29 of 39
Programmer DD
Programmer DD
Nov 18, 2021 · Information Security

Configure Spring Authorization Server with JDBC Persistence in Spring Boot

This tutorial walks through setting up a Spring Authorization Server in a Spring Boot servlet project, adding required dependencies, configuring filter chains, persisting OAuth2 clients, authorizations, and consents with JDBC, and defining JWK sources and provider settings for a complete OAuth2 authorization server.

JDBCJWKOAuth2
0 likes · 18 min read
Configure Spring Authorization Server with JDBC Persistence in Spring Boot
Java Architect Essentials
Java Architect Essentials
Nov 16, 2021 · Backend Development

Deep Dive into Spring Boot: IoC Container, SpringFactoriesLoader, Event Publishing, and Auto‑Configuration

This extensive tutorial explains Spring Boot’s core mechanisms—including the IoC container, class loading, SpringFactoriesLoader, event publishing, and automatic configuration—through detailed explanations and code examples, helping developers understand and extend Spring Boot’s startup process.

Event PublishingIoC ContainerSpring Boot
0 likes · 38 min read
Deep Dive into Spring Boot: IoC Container, SpringFactoriesLoader, Event Publishing, and Auto‑Configuration
Architect
Architect
Nov 16, 2021 · Backend Development

Implementing API Idempotency with Spring Boot, Redis, and Custom Annotations

This article explains how to achieve reliable API idempotency in Spring Boot applications by using Redis for token storage, defining a custom @AutoIdempotent annotation, configuring an interceptor to enforce token checks, and providing complete Java code examples and testing steps.

IdempotencyInterceptorJava
0 likes · 9 min read
Implementing API Idempotency with Spring Boot, Redis, and Custom Annotations
macrozheng
macrozheng
Nov 16, 2021 · Backend Development

Master Enterprise Data Management with MyBatis‑Mate: Sharding, Encryption & Auditing

This article introduces MyBatis‑Mate, an official MyBatis‑Plus extension that provides enterprise‑grade features such as sharding, data auditing, field encryption, sensitive data masking, dictionary binding, dynamic DDL maintenance, and flexible data‑source switching, complete with usage examples and code snippets.

Data AuditingDatabaseField Encryption
0 likes · 10 min read
Master Enterprise Data Management with MyBatis‑Mate: Sharding, Encryption & Auditing
Top Architect
Top Architect
Nov 15, 2021 · Cloud Native

Deploying Spring Boot Applications on Kubernetes with Spring Boot Operator

This article explains how to package a Spring Boot application into a Docker image using Jib, install the Spring Boot Operator, and manage the application lifecycle on Kubernetes—including deployment, scaling, graceful shutdown, node affinity, and custom operator configuration—through detailed code examples and YAML manifests.

CRDDockerJib
0 likes · 13 min read
Deploying Spring Boot Applications on Kubernetes with Spring Boot Operator
Architecture Digest
Architecture Digest
Nov 14, 2021 · Backend Development

Quick Guide to Integrating GraphQL with Spring Boot

This tutorial shows how to quickly add GraphQL support to a Spring Boot web project by creating a Maven project, adding custom dependencies, defining schema files, implementing resolvers and a controller, and testing query and mutation endpoints, all without using the official graphql‑java‑tools starter.

APIBackendGraphQL
0 likes · 10 min read
Quick Guide to Integrating GraphQL with Spring Boot
Programmer DD
Programmer DD
Nov 13, 2021 · Backend Development

Mastering Parameter Validation in Spring Boot: Hibernate Validator Best Practices

This article explains how to perform elegant parameter validation in Spring Boot by distinguishing controller‑level and service‑level checks, introduces Hibernate Validator annotations, demonstrates their usage with code examples, and shows additional utilities like commons‑lang3 and custom validation annotations for robust backend development.

Backend DevelopmentControllerHibernate Validator
0 likes · 6 min read
Mastering Parameter Validation in Spring Boot: Hibernate Validator Best Practices
Selected Java Interview Questions
Selected Java Interview Questions
Nov 12, 2021 · Backend Development

Implementing Rate Limiting in Java Spring Applications Using Guava, Redis, and Nginx

This article explains why rate limiting is needed for high‑traffic Java services, reviews common throttling techniques such as Hystrix, Sentinel, token‑bucket algorithms, and then provides multiple concrete implementations—including Guava RateLimiter, Redis counters, interceptor configuration, and Tomcat connector settings—complete with code samples.

GuavaJavaRedis
0 likes · 11 min read
Implementing Rate Limiting in Java Spring Applications Using Guava, Redis, and Nginx
Architect
Architect
Nov 11, 2021 · Backend Development

Implementing Delayed Message Delivery with RabbitMQ and Spring Boot

This article explains how to implement delayed message delivery in RabbitMQ using the official delayed‑queue plugin and Spring Boot, covering configuration of exchanges, queues, bindings, message publishing with delay headers, and consumer handling, along with code examples and test results.

Delayed MessagingJavaMessage queue
0 likes · 8 min read
Implementing Delayed Message Delivery with RabbitMQ and Spring Boot
macrozheng
macrozheng
Nov 11, 2021 · Backend Development

Mastering Spring Boot Read/Write Splitting with Custom Routing DataSource

This tutorial explains how to implement read/write splitting in Spring Boot by configuring multiple data sources, creating a custom AbstractRoutingDataSource, and using AOP to dynamically route queries to master or slave databases based on method patterns and annotations.

AOPMyBatisRouting DataSource
0 likes · 17 min read
Mastering Spring Boot Read/Write Splitting with Custom Routing DataSource
Programmer DD
Programmer DD
Nov 10, 2021 · Backend Development

Master Redis Rate Limiting: SetNX, ZSet Sliding Window, and Token Bucket

This article explains three practical Redis-based rate‑limiting techniques—using SETNX for simple counters, ZSET for a sliding‑window algorithm, and a token‑bucket implementation with List—complete with Java code examples and discussion of their advantages and drawbacks.

Backend DevelopmentJavaRate Limiting
0 likes · 7 min read
Master Redis Rate Limiting: SetNX, ZSet Sliding Window, and Token Bucket
Top Architect
Top Architect
Nov 7, 2021 · Backend Development

Extending MyBatis-Plus for ClickHouse: Custom SqlMethodDiv, UpdateByIdClickHouse, and Injector Implementation

This article demonstrates how to extend MyBatis-Plus to support ClickHouse-specific DML operations by defining custom SQL method enums, implementing UpdateByIdClickHouse and ClickHouseSqlInjector classes, creating a SuperMapper interface with new CRUD methods, and providing unit tests to verify the integration.

ClickHouseJavaMybatis-Plus
0 likes · 7 min read
Extending MyBatis-Plus for ClickHouse: Custom SqlMethodDiv, UpdateByIdClickHouse, and Injector Implementation
Programmer DD
Programmer DD
Nov 7, 2021 · Backend Development

How to Build a Distributed WebSocket Cluster with Spring Cloud and Consistent Hashing

This article walks through the challenges of multi‑user WebSocket communication in a clustered environment and presents two practical solutions—session broadcasting and a consistent‑hashing based routing—using Spring Boot, Spring Cloud Gateway, Redis, Netty, and Ribbon to achieve scalable, reliable real‑time messaging.

Consistent HashingRedisSpring Boot
0 likes · 19 min read
How to Build a Distributed WebSocket Cluster with Spring Cloud and Consistent Hashing
Programmer DD
Programmer DD
Nov 6, 2021 · Backend Development

Three Ways to Access Spring Beans from Static Methods

This article demonstrates three practical techniques for retrieving Spring-managed beans inside static methods—using @PostConstruct initialization, a static ApplicationContext from the main class, and a manual ApplicationContextAware component—complete with code examples and usage guidelines.

JavaPostConstructSpring Boot
0 likes · 6 min read
Three Ways to Access Spring Beans from Static Methods
Selected Java Interview Questions
Selected Java Interview Questions
Nov 5, 2021 · Backend Development

Implementing a Generic Appkey Whitelist Validation in Spring Boot: AOP, Interceptor, ArgumentResolver, and Filter Approaches

This article explains how to add a reusable appkey whitelist check to a Spring‑Boot web framework by comparing four implementation methods—traditional AOP, Spring Interceptor, custom ArgumentResolver, and Servlet Filter—detailing their code, configuration steps, extensions, and execution order.

AOPArgumentResolverInterceptor
0 likes · 10 min read
Implementing a Generic Appkey Whitelist Validation in Spring Boot: AOP, Interceptor, ArgumentResolver, and Filter Approaches
Code Ape Tech Column
Code Ape Tech Column
Nov 5, 2021 · Backend Development

Integrating JSR‑303 Bean Validation into Spring Boot: A Comprehensive Guide

This article explains how to seamlessly integrate JSR‑303 Bean Validation with Spring Boot, covering the underlying concepts, required dependencies, built‑in and Hibernate‑specific constraints, simple, group and nested validation techniques, result handling, the role of spring‑boot‑starter‑validation, and how to create custom validation annotations and validators.

BackendBean ValidationJSR-303
0 likes · 17 min read
Integrating JSR‑303 Bean Validation into Spring Boot: A Comprehensive Guide
Java Architect Essentials
Java Architect Essentials
Nov 3, 2021 · Backend Development

Three Ways to Access Spring Beans in Static Methods Using Spring Boot

This article explains three techniques for obtaining Spring beans inside static methods—using @PostConstruct initialization, a static ApplicationContext stored in the main class, and implementing ApplicationContextAware—complete with code examples and detailed guidelines for the @PostConstruct annotation.

JavaPostConstructSpring Boot
0 likes · 6 min read
Three Ways to Access Spring Beans in Static Methods Using Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 3, 2021 · Backend Development

Mastering Spring Web MVC Functional Routing with WebMvc.fn in Spring Boot

Explore Spring Web MVC's functional programming model (WebMvc.fn) in Spring Boot 2.4.12, covering immutable ServerRequest/ServerResponse, RouterFunction routing, handler functions, predicates, nested routes, filters, validation, and practical code examples for building clean, annotation‑free REST endpoints.

Backend DevelopmentFunctional RoutingJava
0 likes · 11 min read
Mastering Spring Web MVC Functional Routing with WebMvc.fn in Spring Boot
Programmer DD
Programmer DD
Nov 3, 2021 · Backend Development

Extending MyBatis‑Plus for ClickHouse: Custom Update, Delete, and Mapper Implementation

This article demonstrates how to extend MyBatis‑Plus to support ClickHouse-specific SQL operations by creating custom enum definitions, method classes, a SQL injector, a super mapper interface, and accompanying unit tests, enabling update, delete, and logical delete functionalities that differ from standard MySQL behavior.

ClickHouseJavaMybatis-Plus
0 likes · 9 min read
Extending MyBatis‑Plus for ClickHouse: Custom Update, Delete, and Mapper Implementation
Code Ape Tech Column
Code Ape Tech Column
Nov 2, 2021 · Backend Development

Using JRebel for Local and Remote Hot Deployment in Spring Boot

This article explains how to install and configure JRebel for both local and remote hot deployment in Spring Boot projects, compares it with Spring DevTools, and provides step‑by‑step instructions, code snippets, and troubleshooting tips for multi‑module applications.

Hot DeploymentIDEAJRebel
0 likes · 11 min read
Using JRebel for Local and Remote Hot Deployment in Spring Boot
Top Architect
Top Architect
Nov 1, 2021 · Backend Development

Design and Implementation of a Points-Based Lottery System Using Spring Boot

This article explains how to design and implement a points‑based lottery (luck draw) system in Java with Spring Boot, covering database schema for prizes, probability limits, prize pools, the random draw algorithm, prize restrictions, and asynchronous prize distribution using a factory pattern.

AsyncJavaLottery
0 likes · 10 min read
Design and Implementation of a Points-Based Lottery System Using Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 1, 2021 · Backend Development

Understanding Spring MVC Request Flow: Controllers, Handlers, and Adapters

This guide explains Spring MVC's request handling flow, detailing core components like DispatcherServlet, HandlerMapping, and HandlerAdapter, and demonstrates multiple controller definitions—including @RestController, HttpRequestHandler, Controller interface, and HttpServlet extensions—along with necessary configuration snippets.

Backend DevelopmentControllerSpring Boot
0 likes · 5 min read
Understanding Spring MVC Request Flow: Controllers, Handlers, and Adapters
21CTO
21CTO
Oct 31, 2021 · Backend Development

How to Build a Distributed WebSocket Cluster with Spring Cloud, Eureka, and Consistent Hashing

This article explores practical approaches for enabling multi‑user communication in a distributed WebSocket cluster, covering session handling challenges, architecture design, technology stack choices, Netty versus Spring WebSocket implementations, consistent‑hashing load balancing, and detailed code examples for Spring Cloud Gateway and Ribbon integration.

Consistent HashingDistributed SystemsJava
0 likes · 19 min read
How to Build a Distributed WebSocket Cluster with Spring Cloud, Eureka, and Consistent Hashing
Top Architect
Top Architect
Oct 31, 2021 · Backend Development

Quick Start Guide: Integrating GraphQL into a Spring Boot Application

This tutorial shows how to quickly set up GraphQL in a Spring Boot web project by creating the project, adding Maven dependencies, defining schema files, implementing providers and resolvers, exposing a GraphQL endpoint, and testing query and mutation operations.

APIBackend DevelopmentGraphQL
0 likes · 8 min read
Quick Start Guide: Integrating GraphQL into a Spring Boot Application
Top Architect
Top Architect
Oct 29, 2021 · Backend Development

Three Methods to Obtain Spring Beans in Static Context: @PostConstruct, ApplicationContext, and ApplicationContextAware

This article explains three practical ways to retrieve Spring beans from static methods—using @PostConstruct annotation, a static ApplicationContext defined in the main class, and a manually injected ApplicationContext via ApplicationContextAware—complete with code examples and usage notes.

Bean RetrievalJavaPostConstruct
0 likes · 5 min read
Three Methods to Obtain Spring Beans in Static Context: @PostConstruct, ApplicationContext, and ApplicationContextAware
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 29, 2021 · Backend Development

How Spring MVC Resolves Controller Parameters and Builds Custom Argument Resolvers

This article explains the internal workflow of Spring MVC’s HandlerMethodArgumentResolver for processing controller method parameters, walks through the core source code steps, and demonstrates how to implement and register a custom argument resolver using a bespoke annotation.

Custom Argument ResolverHandlerMethodArgumentResolverJava
0 likes · 7 min read
How Spring MVC Resolves Controller Parameters and Builds Custom Argument Resolvers
政采云技术
政采云技术
Oct 28, 2021 · Backend Development

HikariCP Overview (Part 1): Initialization, Core Components, Monitoring and Configuration

This article provides a detailed analysis of HikariCP’s initialization, core components, startup flow, connection acquisition logic, monitoring metrics, and key configuration parameters, illustrating how Spring Boot 2.x leverages this high‑performance JDBC connection pool and offering guidance for tuning and extending it.

Connection PoolHikariCPJava
0 likes · 14 min read
HikariCP Overview (Part 1): Initialization, Core Components, Monitoring and Configuration
Top Architect
Top Architect
Oct 28, 2021 · Backend Development

Using Hibernate Validator and Commons‑Lang3 for Parameter Validation in Spring Boot Controllers

This article explains how to place parameter validation in the appropriate layer, introduces Hibernate Validator with Maven dependencies and common annotations, provides a validated entity example, shows controller usage with @Valid/@Validated, and demonstrates useful Commons‑Lang3 utilities for string and collection checks.

Backend DevelopmentCommons Lang3Hibernate Validator
0 likes · 5 min read
Using Hibernate Validator and Commons‑Lang3 for Parameter Validation in Spring Boot Controllers
Architect's Guide
Architect's Guide
Oct 28, 2021 · Backend Development

Core Features, Advantages, and Common Annotations of Spring Boot

This article provides an English overview of Spring Boot’s core functionalities—including standalone JAR execution, embedded servlet containers, starter POM simplification, auto‑configuration, production‑ready monitoring, and code‑free XML—while also discussing its pros and cons, key features, CLI tool, Maven parent, and commonly used annotations.

JavaMavenSpring Boot
0 likes · 5 min read
Core Features, Advantages, and Common Annotations of Spring Boot
Top Architect
Top Architect
Oct 26, 2021 · Backend Development

Implementing QR‑Code Login with WebSocket in Spring Boot

This article explains how to design a QR‑code login flow using a MySQL table, defines the involved roles, outlines required REST and WebSocket interfaces, and provides complete Spring Boot backend and JavaScript frontend code examples for generating QR codes, validating tokens, and notifying the client in real time.

Backend DevelopmentJavaSpring Boot
0 likes · 12 min read
Implementing QR‑Code Login with WebSocket in Spring Boot
macrozheng
macrozheng
Oct 25, 2021 · Backend Development

Master Object Mapping in Java with MapStruct: From Basics to Advanced Techniques

This article introduces MapStruct, a powerful Java annotation‑based object‑mapping library, compares it with BeanUtils, shows how to integrate it into a Spring Boot project, and provides step‑by‑step examples for basic, collection, nested, composite, and advanced mappings including dependency injection, constants, custom processing, and exception handling.

DTOJavaObject Mapping
0 likes · 24 min read
Master Object Mapping in Java with MapStruct: From Basics to Advanced Techniques
Programmer DD
Programmer DD
Oct 25, 2021 · Information Security

How to Implement Single Sign‑On with Spring Security and JWT in 30 Minutes

This tutorial walks through the concepts of Single Sign‑On (SSO) and JSON Web Tokens (JWT), then provides a complete Spring Security integration with JWT—including project structure, RSA key handling, utility classes, custom authentication and verification filters, and step‑by‑step testing using Postman.

JWTJavaSSO
0 likes · 19 min read
How to Implement Single Sign‑On with Spring Security and JWT in 30 Minutes
Programmer DD
Programmer DD
Oct 24, 2021 · Backend Development

Build Alipay Payments with Spring Boot: A Complete Guide

This article introduces a Spring Boot‑based open‑source project that demonstrates how to integrate Alipay's various payment modes—including QR code, PC, WAP, and app payments—by detailing the required tech stack, configuration files, deployment steps, and key code snippets.

AlipayBackendJava
0 likes · 6 min read
Build Alipay Payments with Spring Boot: A Complete Guide
Java High-Performance Architecture
Java High-Performance Architecture
Oct 23, 2021 · Backend Development

Build a Full-Stack Logistics Management System with Spring Boot and Vue

This guide walks you through setting up a Spring Boot‑based logistics warehouse system, detailing required software versions, the project’s modular features, technology stack, database and backend configuration, frontend setup with Vue, and provides screenshots of key interfaces.

Backend DevelopmentFrontend DevelopmentLogistics Management
0 likes · 6 min read
Build a Full-Stack Logistics Management System with Spring Boot and Vue
Java Architecture Diary
Java Architecture Diary
Oct 23, 2021 · Backend Development

What’s New in Spring Boot 2.5.6? Key Bug Fixes and Dependency Updates

Spring Boot 2.5.6, released on October 21, introduces 43 bug fixes, documentation improvements, and numerous dependency upgrades—including Dropwizard Metrics, Ehcache3, HttpCore5, MySQL, and Spring Framework 5.3.12—addressing issues such as R2DBC‑JDBC conflicts, JMX endpoint availability, and memory pressure from caching.

Backend DevelopmentBug FixesJava
0 likes · 5 min read
What’s New in Spring Boot 2.5.6? Key Bug Fixes and Dependency Updates
macrozheng
macrozheng
Oct 22, 2021 · Backend Development

Mastering API Rate Limiting in Spring Boot: Algorithms, Guava & AOP

This tutorial explains why API rate limiting is essential for high‑traffic Spring Boot services, introduces counter, leaky‑bucket, and token‑bucket algorithms, shows how to use Guava's RateLimiter, and demonstrates a clean custom‑annotation AOP solution to decouple rate‑limiting logic from business code.

AOPGuavaJava
0 likes · 13 min read
Mastering API Rate Limiting in Spring Boot: Algorithms, Guava & AOP
Programmer DD
Programmer DD
Oct 22, 2021 · Backend Development

Implementing Automatic Idempotency in Spring Boot with Redis and Interceptors

This tutorial explains the concept of idempotency in web APIs and demonstrates a complete Spring Boot solution using Redis, custom annotations, token validation, and interceptor configuration to ensure that each request modifies the database only once, even under repeated calls.

IdempotencyInterceptorJava
0 likes · 12 min read
Implementing Automatic Idempotency in Spring Boot with Redis and Interceptors
Top Architect
Top Architect
Oct 21, 2021 · Backend Development

Implementing QR Code Login with WebSocket in Spring Boot

This article explains how to build a QR‑code based login system using Spring Boot, WebSocket, and JavaScript, covering database design, role analysis, API definitions, step‑by‑step implementation, and complete code examples for both backend and frontend components.

JavaQR loginSpring Boot
0 likes · 13 min read
Implementing QR Code Login with WebSocket in Spring Boot
Java Architect Essentials
Java Architect Essentials
Oct 19, 2021 · Backend Development

Encrypting Spring Boot Configuration Files with Jasypt

This article explains how to secure sensitive Spring Boot configuration properties such as database credentials by integrating the Jasypt library, configuring encryption keys, generating encrypted values through test code, and applying the encrypted strings in application.yml, including deployment‑time salt handling for enhanced security.

Backend SecurityConfiguration EncryptionDevOps
0 likes · 5 min read
Encrypting Spring Boot Configuration Files with Jasypt
Java Architect Essentials
Java Architect Essentials
Oct 19, 2021 · Backend Development

Enhancing Spring Boot with SOFABoot: Health Checks, Class Isolation, Log Isolation, Middleware Integration, and Modular Development

This article introduces SOFABoot, an Ant Financial open‑source framework built on Spring Boot that adds readiness health checks, class and log isolation, unified middleware integration, and modular development capabilities, and provides the project’s source repository for developers.

BackendClass IsolationSOFABoot
0 likes · 4 min read
Enhancing Spring Boot with SOFABoot: Health Checks, Class Isolation, Log Isolation, Middleware Integration, and Modular Development
Java Tech Enthusiast
Java Tech Enthusiast
Oct 19, 2021 · Backend Development

Distributed Transaction Solutions and Implementing Delayed Queues with RabbitMQ in Spring Boot

To handle distributed transactions in micro‑service systems, the article compares 2PC, TCC, maximum‑effort notification and reliable messaging, then shows how Spring Boot can use RabbitMQ delayed queues—leveraging dead‑letter exchanges, TTL and routing—to achieve eventual consistency for order‑payment workflows.

2PCRabbitMQSpring Boot
0 likes · 11 min read
Distributed Transaction Solutions and Implementing Delayed Queues with RabbitMQ in Spring Boot
Programmer DD
Programmer DD
Oct 19, 2021 · Backend Development

Mastering Read/Write Splitting in Spring Boot with Custom Routing DataSource

This article explains how to implement read/write separation in a Spring Boot application by configuring multiple data sources, creating a custom AbstractRoutingDataSource, using AOP to switch between master and slave databases, and demonstrates the setup with Maven, MyBatis, and JUnit tests.

AOPMulti-DataSourceMyBatis
0 likes · 16 min read
Mastering Read/Write Splitting in Spring Boot with Custom Routing DataSource
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 19, 2021 · Backend Development

How Spring Boot Handles Errors: From /error to Custom Responses

This article explains how Spring Boot 2.4.11 processes exceptions, routes them to the default /error endpoint, and uses BasicErrorController along with ContentNegotiatingViewResolver and StaticView to generate HTML or JSON error responses based on the Accept header, including code examples and configuration details.

BackendError HandlingException
0 likes · 10 min read
How Spring Boot Handles Errors: From /error to Custom Responses
macrozheng
macrozheng
Oct 19, 2021 · Backend Development

Simplify Excel Import/Export in Spring Boot with EasyPoi – A Complete Guide

This article introduces EasyPoi, a Spring Boot-friendly library that uses annotations to streamline Excel import and export, covering simple and complex export scenarios, import handling, custom data processing, and provides full code examples for quick integration.

EasyPOIExcelImport Export
0 likes · 14 min read
Simplify Excel Import/Export in Spring Boot with EasyPoi – A Complete Guide
Java Architect Essentials
Java Architect Essentials
Oct 18, 2021 · Backend Development

Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async

This article explains the difference between synchronous and asynchronous method calls in Java, demonstrates a simple Spring Boot Task class with three time‑consuming methods, shows how to convert them to asynchronous execution using @Async and @EnableAsync, and illustrates how to coordinate completion with Future objects.

AsyncAsynchronousBackend Development
0 likes · 7 min read
Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async
Programmer DD
Programmer DD
Oct 18, 2021 · Backend Development

Master Excel Processing in Java with Alibaba EasyExcel: Setup, Read, and Export

This guide walks through integrating Alibaba's EasyExcel library into a Java project, covering Maven dependencies, environment setup, reading Excel files with less or more than 1000 rows (including custom sheet and row offsets), and exporting data using simple lists, model mapping, and multiple sheets, all illustrated with complete code examples.

Data ExportExcelFile I/O
0 likes · 17 min read
Master Excel Processing in Java with Alibaba EasyExcel: Setup, Read, and Export
Java Architecture Diary
Java Architecture Diary
Oct 18, 2021 · Backend Development

Unlock Low-Latency MQTT with mica-mqtt: A High-Performance Java Component

This guide introduces mica-mqtt, a simple, low‑latency, high‑performance MQTT open‑source component built on t‑io, outlines its extensive feature set, provides Spring Boot and plain Java integration steps, showcases configuration examples, and explains monitoring and clustering capabilities for IoT back‑end development.

JavaLow latencySpring Boot
0 likes · 8 min read
Unlock Low-Latency MQTT with mica-mqtt: A High-Performance Java Component
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 18, 2021 · Backend Development

Why Spring WebFlux? A Deep Dive into Reactive, Non‑Blocking Backend Development

This article explains the motivations behind Spring WebFlux, introduces reactive programming concepts, compares annotated controllers with functional endpoints, discusses when to choose WebFlux over Spring MVC, and provides complete code examples for building a reactive CRUD service with Spring Boot.

Backend DevelopmentJavaNon-blocking I/O
0 likes · 17 min read
Why Spring WebFlux? A Deep Dive into Reactive, Non‑Blocking Backend Development
Programmer DD
Programmer DD
Oct 17, 2021 · Backend Development

Build a Mini Tmall E‑Commerce Site with Spring Boot – Quick Tutorial

This article introduces a lightweight Spring Boot‑based mini Tmall e‑commerce project, detailing its core features—from user registration and product browsing to cart, order processing, and admin management—along with the technology stack, UI screenshots, and a four‑step deployment guide for developers.

JavaMySQLSpring Boot
0 likes · 4 min read
Build a Mini Tmall E‑Commerce Site with Spring Boot – Quick Tutorial
Top Architect
Top Architect
Oct 16, 2021 · Backend Development

Integrating Dataway with Spring Boot for Zero‑Code API Configuration

This tutorial explains how to embed Dataway—a DataQL‑based API configuration UI—into a Spring Boot application, covering Maven dependencies, property settings, database schema creation, datasource integration, Hasor module registration, enabling annotations, and step‑by‑step usage to publish and test APIs without writing traditional controller code.

API ConfigurationDataQLDataway
0 likes · 14 min read
Integrating Dataway with Spring Boot for Zero‑Code API Configuration
Java Architect Essentials
Java Architect Essentials
Oct 15, 2021 · Backend Development

Master Spring MVC & Bean Annotations: A Complete Guide

This article provides a comprehensive overview of Spring MVC request‑mapping annotations, core Spring Bean annotations, dependency‑injection and scope configurations, container setup annotations, and essential Spring Boot annotations, each illustrated with clear code examples and usage tips.

Java backendSpring Bootannotations
0 likes · 16 min read
Master Spring MVC & Bean Annotations: A Complete Guide
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 15, 2021 · Backend Development

Comprehensive Guide to MyBatis Batch Insert: Three Methods, Performance Comparison, and Analysis

This article introduces three MyBatis batch insertion techniques—looped single inserts, MyBatis‑Plus batch inserts, and native SQL batch inserts—provides complete implementation code, performance test results for inserting 100,000 records, analyzes the causes of differences, and offers practical solutions to common pitfalls such as MySQL packet size limits.

Batch InsertJavaMyBatis
0 likes · 13 min read
Comprehensive Guide to MyBatis Batch Insert: Three Methods, Performance Comparison, and Analysis
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 14, 2021 · Backend Development

Mastering Spring Boot Request Mapping: Content Types, Params, Headers, and Dynamic Registration

This guide explains how to use Spring Boot's @GetMapping attributes to restrict requests by content type, parameters, and headers, compares PathPattern and AntPathMatcher URI patterns, and demonstrates dynamic registration of request handlers through programmatic mapping configuration.

Backend DevelopmentDynamic RegistrationJava
0 likes · 6 min read
Mastering Spring Boot Request Mapping: Content Types, Params, Headers, and Dynamic Registration
Top Architect
Top Architect
Oct 13, 2021 · Backend Development

Using ThreadPoolTaskExecutor for Asynchronous Operations in Spring Boot

This article explains how to configure and use Spring Boot's ThreadPoolTaskExecutor for asynchronous service methods, shows the required @Configuration and @EnableAsync annotations, demonstrates custom thread‑pool monitoring by extending ThreadPoolTaskExecutor, and provides complete code snippets and log examples.

AsyncJavaSpring Boot
0 likes · 12 min read
Using ThreadPoolTaskExecutor for Asynchronous Operations in Spring Boot
Programmer DD
Programmer DD
Oct 13, 2021 · Backend Development

How to Integrate Alipay’s New Transfer API with Spring Boot (v4.10.97)

This guide walks you through upgrading to Alipay’s new transfer interface alipay.fund.trans.uni.transfer, updating the SDK to version 4.10.97, configuring certificates, adding Maven dependencies, creating configuration beans, and implementing utility classes for secure fund transfers in a Spring Boot application.

AlipayBackend DevelopmentJava
0 likes · 11 min read
How to Integrate Alipay’s New Transfer API with Spring Boot (v4.10.97)
Top Architect
Top Architect
Oct 12, 2021 · Information Security

Implementing JWT Authentication with Spring Boot, Angular, and JJWT

This article explains what JSON Web Tokens are, their structure and security best practices, and demonstrates a complete JWT‑based authentication example using Spring Boot on the backend, the JJWT library, and an Angular front‑end, including Maven configuration, Java filter, controllers, and client‑side code.

AngularAuthenticationJWT
0 likes · 13 min read
Implementing JWT Authentication with Spring Boot, Angular, and JJWT
Programmer DD
Programmer DD
Oct 12, 2021 · Backend Development

Build a Full‑Stack Chatroom with Spring Boot, Vue and WebSocket

This guide walks through setting up a full‑stack web chatroom demo built with Spring Boot, Vue, WebSocket, MySQL, Redis, RabbitMQ and FastDFS, covering the technology stack, core features, database schema, configuration files, and step‑by‑step deployment instructions.

FastDFSMySQLSpring Boot
0 likes · 31 min read
Build a Full‑Stack Chatroom with Spring Boot, Vue and WebSocket
Programmer DD
Programmer DD
Oct 12, 2021 · Backend Development

How to Add Dynamic Scheduled Tasks in Spring Boot Without Quartz

This article explains how to implement dynamic creation, deletion, start, and stop of scheduled tasks in a Spring Boot application by customizing the ScheduledTaskRegistrar and using a lightweight thread‑pool scheduler, providing full code examples and a complete runnable solution.

Dynamic SchedulingJavaSpring Boot
0 likes · 12 min read
How to Add Dynamic Scheduled Tasks in Spring Boot Without Quartz
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 11, 2021 · Backend Development

How Spring Boot Registers Custom Error Pages with Tomcat

This article explains how Spring Boot registers custom error pages with its embedded Tomcat container, covering default HTML/JSON error responses, the underlying auto‑configuration classes, BeanPostProcessor registration, and the BasicErrorController that serves the default /error endpoint.

Backend DevelopmentError HandlingJava
0 likes · 11 min read
How Spring Boot Registers Custom Error Pages with Tomcat
Top Architect
Top Architect
Oct 10, 2021 · Backend Development

Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async and CompletableFuture

This article explains the difference between synchronous and asynchronous method calls in Spring Boot, demonstrates how to convert simple task methods to asynchronous ones using @Async, shows how to coordinate multiple async tasks with CompletableFuture, and provides complete code examples and test results.

AsyncBackend DevelopmentCompletableFuture
0 likes · 9 min read
Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async and CompletableFuture
Programmer DD
Programmer DD
Oct 10, 2021 · Backend Development

Why Scaffolding Frameworks Like Spring Boot Are Essential for Modern Backend Development

Microservice architecture introduces complexity, but using scaffolding tools such as Spring Boot and Spring Data lets developers focus on business logic by providing reusable components, reducing duplication, and simplifying data access, while avoiding the pitfalls of building custom persistence layers from scratch.

Backend DevelopmentSoftware ArchitectureSpring Boot
0 likes · 12 min read
Why Scaffolding Frameworks Like Spring Boot Are Essential for Modern Backend Development
Java Architect Essentials
Java Architect Essentials
Oct 9, 2021 · Backend Development

Integrating Dataway with Spring Boot: A Step‑by‑Step Tutorial

This article explains how to integrate the Dataway interface‑configuration tool into a Spring Boot project by adding Hasor dependencies, configuring Dataway properties, creating required database tables, setting up the data source, wiring Hasor modules, enabling Hasor in the application, and finally creating and testing a Dataway API without writing any business code.

API ConfigurationDataQLDataway
0 likes · 15 min read
Integrating Dataway with Spring Boot: A Step‑by‑Step Tutorial
Selected Java Interview Questions
Selected Java Interview Questions
Oct 5, 2021 · Backend Development

Overview of Spring Web MVC and Spring Bean Annotations

This article provides a comprehensive guide to Spring Web MVC and Spring Bean annotations, detailing usage, attributes, and examples of @RequestMapping, @GetMapping, @PostMapping, @ControllerAdvice, @Autowired, @Scope, and various Spring Boot conditional annotations, helping developers understand and apply them effectively.

Spring BootWeb MVCannotations
0 likes · 16 min read
Overview of Spring Web MVC and Spring Bean Annotations
Code Ape Tech Column
Code Ape Tech Column
Oct 4, 2021 · Backend Development

Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async

This article explains the difference between synchronous and asynchronous method calls in Java, demonstrates how to implement synchronous tasks, then shows how to convert them to asynchronous execution using Spring Boot's @Async annotation, @EnableAsync configuration, and Future-based callbacks to measure total execution time.

AsyncBackendConcurrency
0 likes · 8 min read
Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async
Top Architect
Top Architect
Oct 2, 2021 · Databases

ShardingSphere-JDBC Tutorial: MySQL Master‑Slave Replication, Redo/Binlog, and Sharding Configuration

This article provides a comprehensive guide on using ShardingSphere-JDBC for read‑write splitting, configuring MySQL master‑slave replication with Docker, explaining redo log and binlog mechanisms, demonstrating two‑phase commit, and showing how to implement database sharding and distributed primary keys in a Spring Boot application.

JDBCMySQLShardingSphere
0 likes · 22 min read
ShardingSphere-JDBC Tutorial: MySQL Master‑Slave Replication, Redo/Binlog, and Sharding Configuration
Top Architect
Top Architect
Sep 30, 2021 · Backend Development

Spring Boot Actuator: Quick Start, Endpoint Overview, and Security Integration

This article introduces Spring Boot Actuator, explains how to create a demo project with Maven or Gradle, details the most important built‑in endpoints such as /health, /metrics, /loggers, /info, /beans, /heapdump, /threaddump and /shutdown, and shows how to secure them with Spring Security, providing configuration snippets and code examples.

ActuatorEndpointsJava
0 likes · 14 min read
Spring Boot Actuator: Quick Start, Endpoint Overview, and Security Integration
Java Architect Essentials
Java Architect Essentials
Sep 29, 2021 · Databases

Differences Among Jedis, Redisson, Lettuce and Using RedisTemplate & RedissonClient in Spring Boot

This article compares the Java Redis clients Jedis, Redisson, and Lettuce, explains their distinct features and thread‑safety, and provides detailed Spring Boot configurations and code examples for RedisTemplate, RedissonClient, and cache annotations to implement caching, distributed locks, and atomic operations.

JavaJedisLettuce
0 likes · 13 min read
Differences Among Jedis, Redisson, Lettuce and Using RedisTemplate & RedissonClient in Spring Boot
Top Architect
Top Architect
Sep 29, 2021 · Backend Development

Implementing Distributed Locks with Redis and Redisson in Spring Boot

This article explains the challenges of high‑concurrency inventory deduction, demonstrates why simple synchronized locks fail in distributed environments, and walks through multiple solutions—from basic SETNX locks to Redisson’s advanced distributed lock implementation—highlighting pitfalls, expiration handling, and trade‑offs with alternatives like Zookeeper.

CAP theoremConcurrencyRedis
0 likes · 15 min read
Implementing Distributed Locks with Redis and Redisson in Spring Boot
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 27, 2021 · Backend Development

Implementing Batch Insert with MyBatis-Plus in Java

This article explains how to improve database insertion performance in Java by replacing per‑iteration inserts with MyBatis‑Plus’s saveBatch method, detailing dependency setup, schema creation, entity, controller, service, and mapper code for efficient bulk operations.

BackendBatch InsertJava
0 likes · 8 min read
Implementing Batch Insert with MyBatis-Plus in Java
Top Architect
Top Architect
Sep 27, 2021 · Backend Development

Best Practices for Designing, Securing and Scaling Java Backend APIs

This article explains how to design robust Java backend APIs, covering interface definition, request/response formats, error handling, token generation, digital signing, interceptor chains, rate limiting, HTTPS migration, and strategies for high concurrency and high availability such as load balancing, clustering and caching.

Backend DevelopmentJavaSpring Boot
0 likes · 16 min read
Best Practices for Designing, Securing and Scaling Java Backend APIs
Top Architect
Top Architect
Sep 26, 2021 · Information Security

Implementing JWT Authentication with Spring Boot and Angular

This article explains what JSON Web Tokens (JWT) are, describes their structure and security considerations, and provides a complete Spring Boot and Angular example—including Maven configuration, Java filter and controller code, Angular services and UI—to demonstrate how to generate, validate, and use JWTs for authentication and role‑based access control.

AngularAuthenticationJWT
0 likes · 14 min read
Implementing JWT Authentication with Spring Boot and Angular
Java Architect Essentials
Java Architect Essentials
Sep 25, 2021 · Backend Development

Implementing Read‑Write Splitting in Spring Boot with AbstractRoutingDataSource and AOP

This article explains how to achieve read‑write splitting in a Spring Boot application by configuring multiple data sources, creating a custom AbstractRoutingDataSource, managing routing keys with ThreadLocal, and using AOP to automatically switch between master and slave databases for different CRUD operations.

AOPDataSource RoutingJava
0 likes · 12 min read
Implementing Read‑Write Splitting in Spring Boot with AbstractRoutingDataSource and AOP
Java Backend Technology
Java Backend Technology
Sep 25, 2021 · Backend Development

Top Open‑Source E‑Commerce Projects for Full‑Stack Developers

This article curates a collection of popular open‑source e‑commerce projects on GitHub and Gitee, covering front‑end, back‑end, micro‑service, mobile, and cloud‑native architectures, with detailed technology stacks, core features, and direct repository links for developers to explore and adopt.

Spring Boote‑commerceopen-source
0 likes · 10 min read
Top Open‑Source E‑Commerce Projects for Full‑Stack Developers
Programmer DD
Programmer DD
Sep 24, 2021 · Backend Development

What Happens When a Spring Boot ThreadPool Overflows? Learn Rejection Strategies

This article demonstrates how a Spring Boot thread pool behaves when its core size, max size, and queue capacity are exceeded by multiple asynchronous tasks, explains the resulting TaskRejectedException, and shows how to configure built‑in or custom rejection policies to handle such scenarios.

AsyncConcurrencyJava
0 likes · 9 min read
What Happens When a Spring Boot ThreadPool Overflows? Learn Rejection Strategies
Java Architecture Diary
Java Architecture Diary
Sep 24, 2021 · Backend Development

What’s New in Spring Boot 2.5.5? Key Fixes, Docs Updates, and Dependency Upgrades

Spring Boot 2.5.5, released on September 23, introduces 41 bug fixes, numerous documentation improvements, and a comprehensive set of dependency upgrades—including updates to Ehcache3, Kotlin, Netty, and Spring Framework—providing developers with enhanced stability, performance, and compatibility across the ecosystem.

Backend DevelopmentBug FixesJava
0 likes · 5 min read
What’s New in Spring Boot 2.5.5? Key Fixes, Docs Updates, and Dependency Upgrades