Tagged articles
3838 articles
Page 29 of 39
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.

Object Mappingdtojava
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.

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

AlipayBackendPayment Integration
0 likes · 6 min read
Build Alipay Payments with Spring Boot: A Complete Guide
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.

Bug Fixesbackend-developmentdependency updates
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.

GuavaToken Bucketaop
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.

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

QR loginjavaspring-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 IsolationMicroservices
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.

2PCRabbitMQdelayed queue
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.

Multi-DataSourceRouting DataSourceaop
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.

Low latencyjavaspring-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.

Non-blocking I/Obackend-developmentjava
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.

MySQLe‑commercejava
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 MVCannotations
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 InsertMySQLPerformance Test
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.

Dynamic RegistrationREST APIRequest Mapping
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.

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

AlipayPayment Integrationbackend-development
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.

FastDFSMySQLVue
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 SchedulingTaskSchedulercron
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.

Error HandlingSpring MVCTomcat
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.

AsyncCompletableFuturebackend-development
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.

MicroservicesSoftware Architecturebackend-development
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.

Web MVCannotationsdependency-injection
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.

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

JedisLettucejava
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 InsertPerformance
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.

api-designbackend-developmenthigh availability
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.

DataSource Routingaopjava
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.

e‑commerceopen-sourcespring-boot
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.

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

Bug FixesRelease Notesbackend-development
0 likes · 5 min read
What’s New in Spring Boot 2.5.5? Key Fixes, Docs Updates, and Dependency Upgrades
Top Architect
Top Architect
Sep 23, 2021 · Backend Development

Using Alibaba EasyExcel for Reading and Writing Excel Files in Java

This article provides a comprehensive guide on integrating Alibaba's EasyExcel library in Java projects, covering environment setup, reading Excel files with less or more than 1000 rows, exporting data with and without model mapping, handling multiple sheets, and includes full code examples for each operation.

ExcelFile I/Oeasyexcel
0 likes · 14 min read
Using Alibaba EasyExcel for Reading and Writing Excel Files in Java
Top Architect
Top Architect
Sep 22, 2021 · Backend Development

Using ThreadPoolTaskExecutor and @Async for Asynchronous Processing in Spring Boot

This article explains how to configure a Spring Boot ThreadPoolTaskExecutor, enable asynchronous execution with @Async, create a custom visible executor to log pool statistics, and demonstrates the complete workflow with code examples and runtime logs for improving database insert performance.

AsyncThreadPoolTaskExecutorconcurrency
0 likes · 12 min read
Using ThreadPoolTaskExecutor and @Async for Asynchronous Processing in Spring Boot
Tech Musings
Tech Musings
Sep 21, 2021 · Backend Development

Migrating a Java Spring Microservice to Kotlin: Practical Steps and Pitfalls

This article shares a developer’s experience converting a Java Spring Boot microservice to Kotlin, covering why Kotlin is attractive, required Maven plugins and dependencies, code‑migration quirks such as open classes and @Jvm annotations, testing hurdles, and the final decision to revert to Java.

Kotlincode migrationcoroutine
0 likes · 11 min read
Migrating a Java Spring Microservice to Kotlin: Practical Steps and Pitfalls
Code Ape Tech Column
Code Ape Tech Column
Sep 21, 2021 · Backend Development

Overview of Spring Web MVC, Bean, and Boot Annotations

This article provides a comprehensive guide to Spring MVC request‑mapping annotations, Spring Bean lifecycle and dependency‑injection annotations, as well as Spring Boot conditional and configuration annotations, illustrating each with code examples and usage notes for Java backend development.

Spring MVCannotationsjava
0 likes · 13 min read
Overview of Spring Web MVC, Bean, and Boot Annotations
The Dominant Programmer
The Dominant Programmer
Sep 20, 2021 · Backend Development

Convert DOC to HTML with Spring Boot and OpenOffice: A Step-by-Step Guide

This guide walks through installing OpenOffice on a Windows server, launching its headless service, adding jodconverter dependencies to a Spring Boot project, configuring conversion settings, writing a controller to transform DOC files into HTML, and invoking the endpoint from a Vue front‑end, with troubleshooting tips.

doc-to-htmlheadless-servicejava
0 likes · 7 min read
Convert DOC to HTML with Spring Boot and OpenOffice: A Step-by-Step Guide
Programmer DD
Programmer DD
Sep 18, 2021 · Backend Development

Isolating Spring @Async Thread Pools to Prevent Task Interference

This tutorial explains why the default shared thread pool for @Async tasks can cause unrelated services to block each other, and shows step‑by‑step how to configure separate thread pools for different async tasks in Spring Boot, complete with code examples and a unit test.

AsyncIsolationconcurrency
0 likes · 10 min read
Isolating Spring @Async Thread Pools to Prevent Task Interference
Programmer DD
Programmer DD
Sep 17, 2021 · Backend Development

Avoid Out‑of‑Memory Errors: Properly Configure Spring Boot Async Thread Pool

This article explains why using @Async in Spring Boot can cause memory overflow when many requests trigger parallel tasks, examines the default thread‑pool settings that lead to unbounded queues, and provides step‑by‑step configuration of a safe thread pool to prevent out‑of‑memory failures.

AsyncMemory ManagementPerformance
0 likes · 11 min read
Avoid Out‑of‑Memory Errors: Properly Configure Spring Boot Async Thread Pool
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 16, 2021 · Frontend Development

Boost Your Captcha Labeling Speed with a Vue‑Spring Annotation Tool

This article walks through building a web‑based, high‑efficiency image captcha labeling system using a Vue admin template for the frontend and Spring Boot for the backend, detailing functional modules, technology stack, deployment steps, and demo results to streamline data annotation before AI model training.

Vuedata labelingspring-boot
0 likes · 6 min read
Boost Your Captcha Labeling Speed with a Vue‑Spring Annotation Tool
Sohu Tech Products
Sohu Tech Products
Sep 15, 2021 · Backend Development

SpringOne Conference Summary: Spring Framework 6 and Spring Boot 3 Roadmap, JDK 17 Baseline, and Spring Native Updates

The SpringOne conference announced that Spring Framework 6 and Spring Boot 3 will reach production‑ready GA status in Q4 2022, outlined their milestone and release‑candidate schedule, required JDK 17 and Jakarta EE 9 compatibility, detailed Spring Native's native‑image support, and previewed upcoming Spring Boot 2.6 and 2.7 releases.

JDK 17Spring FrameworkSpring Native
0 likes · 4 min read
SpringOne Conference Summary: Spring Framework 6 and Spring Boot 3 Roadmap, JDK 17 Baseline, and Spring Native Updates
Top Architect
Top Architect
Sep 14, 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, compares traditional approaches such as Redis expiration and database polling, and provides complete configuration and code examples for producers and consumers.

Message QueueRabbitMQdelayed queue
0 likes · 8 min read
Implementing Delayed Message Delivery with RabbitMQ and Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Sep 14, 2021 · Backend Development

Large File Upload with Chunking, Resume, and RandomAccessFile in Java

This article explains how to handle multi‑gigabyte video uploads by splitting files into chunks, using MD5 for identification, implementing resumable and instant uploads with Spring Boot and Redis, and leveraging Java's RandomAccessFile and memory‑mapped I/O for efficient merging.

RandomAccessFilechunkingjava
0 likes · 15 min read
Large File Upload with Chunking, Resume, and RandomAccessFile in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 14, 2021 · Backend Development

How to Efficiently Batch Insert Data with Spring Boot and Elasticsearch

This guide demonstrates how to set up Spring Boot 2.3.12 with Elasticsearch 7.8, configure separate JPA and Elasticsearch repositories, and implement two batch insertion methods—using ElasticsearchRestTemplate and repository saveAll—while measuring performance, showing comparable execution times for inserting 10,000 records.

Batch InsertElasticsearchbackend-development
0 likes · 4 min read
How to Efficiently Batch Insert Data with Spring Boot and Elasticsearch
Programmer DD
Programmer DD
Sep 14, 2021 · Backend Development

Boost Spring Boot Performance: Mastering Synchronous vs Asynchronous Calls

This article explains the difference between synchronous and asynchronous method calls in Spring Boot, shows how to convert blocking tasks into @Async methods, demonstrates unit‑test setups with CompletableFuture for proper coordination, and provides complete code examples to reduce overall execution time.

Asyncconcurrencyjava
0 likes · 10 min read
Boost Spring Boot Performance: Mastering Synchronous vs Asynchronous Calls
Top Architect
Top Architect
Sep 13, 2021 · Backend Development

Encrypting Spring Boot Configuration Properties with Jasypt

This article demonstrates how to use the Jasypt library to encrypt sensitive Spring Boot configuration properties such as database credentials, showing Maven dependency setup, encryption password configuration, test code for generating encrypted values, and how to replace plaintext with ENC() placeholders in application.yml, including deployment salt handling.

Jasyptencryptionjava
0 likes · 5 min read
Encrypting Spring Boot Configuration Properties with Jasypt
Top Architect
Top Architect
Sep 12, 2021 · Backend Development

Implementing Distributed Transactions with RabbitMQ and Spring Boot

This article explains how to use RabbitMQ as a message middleware in a Spring Boot application to achieve distributed transactions between order and dispatch services, detailing environment setup, configuration, code implementation, testing, and verification of data consistency across systems.

Message QueueMySQLRabbitMQ
0 likes · 11 min read
Implementing Distributed Transactions with RabbitMQ and Spring Boot
macrozheng
macrozheng
Sep 11, 2021 · Backend Development

What’s Coming in Spring Framework 6.0? Roadmap, Features, and Release Timeline

The SpringOne conference highlighted the upcoming Spring Framework 6.0, detailing its Java 17 and Jakarta EE 9 foundation, roadmap milestones, key migration points, Spring Boot 3 integration, and the imminent Java 17 release, offering developers a clear view of the next decade of Spring development.

Cloud NativeSpring Frameworkbackend-development
0 likes · 5 min read
What’s Coming in Spring Framework 6.0? Roadmap, Features, and Release Timeline
Architect's Guide
Architect's Guide
Sep 10, 2021 · Backend Development

Implementing Database Read‑Write Separation with Spring Boot

This article explains how to achieve database read‑write separation in high‑concurrency scenarios using Spring Boot, covering the concepts of master‑slave architecture, configuration of multiple data sources, routing logic with AbstractRoutingDataSource, context management, custom annotations, AOP handling, and practical usage examples with code snippets.

DataSource Routingaopjava
0 likes · 11 min read
Implementing Database Read‑Write Separation with Spring Boot
Top Architect
Top Architect
Sep 10, 2021 · Backend Development

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

The article introduces retrofit-spring-boot-starter, a Spring Boot‑compatible lightweight HTTP client library that integrates Retrofit with extensive features such as custom OkHttpClient injection, annotation‑driven interceptors, logging, retry, error decoding, circuit‑breaker support, connection‑pool management, call adapters and data converters, providing a concise way to perform HTTP calls in Java backend projects.

HTTP clientInterceptorMicroservices
0 likes · 21 min read
retrofit-spring-boot-starter: A Lightweight HTTP Client Framework for Spring Boot
Top Architect
Top Architect
Sep 9, 2021 · Big Data

Building a Site Search Engine with Elasticsearch, Spring Boot, and IK Analyzer

This article demonstrates how to construct a full‑text site search solution by selecting Elasticsearch as the search engine, Spring Boot for the backend service, and the IK analyzer for Chinese tokenization, covering environment setup, project architecture, key code implementations, UI pages, and a concise conclusion on the effectiveness of the approach.

ElasticsearchFull‑Text SearchIK Analyzer
0 likes · 18 min read
Building a Site Search Engine with Elasticsearch, Spring Boot, and IK Analyzer
Code Ape Tech Column
Code Ape Tech Column
Sep 9, 2021 · Databases

Sharding-JDBC Introduction and Practical Guide to Database Sharding with ShardingSphere

This article introduces Sharding-JDBC (now ShardingSphere), explains core sharding concepts such as shards, data nodes, logical and physical tables, sharding keys, algorithms and strategies, shows how it extends JDBC, and provides a step‑by‑step Spring Boot + MyBatis‑Plus example for building a sharded database application.

Sharding-JDBCShardingSpheredatabase sharding
0 likes · 30 min read
Sharding-JDBC Introduction and Practical Guide to Database Sharding with ShardingSphere
IT Architects Alliance
IT Architects Alliance
Sep 8, 2021 · Backend Development

Why Scaffolding Frameworks Like Spring Boot Are Essential for Modern Microservices

The article explains the concept of software scaffolding, why it is needed for microservice development, outlines key design principles, shares a real‑world case of replacing a custom persistence layer with Spring Data, and reviews popular scaffolding tools such as Vue CLI, Maven, Netty, Java EE, Dropwizard and Spring Boot.

MicroservicesSoftware Architecturebackend-development
0 likes · 11 min read
Why Scaffolding Frameworks Like Spring Boot Are Essential for Modern Microservices
Programmer DD
Programmer DD
Sep 6, 2021 · Fundamentals

Master JUnit5: Why Upgrade from JUnit4 and How to Use Its Powerful Features

This article explains why developers should switch from JUnit4 to JUnit5, outlines the JUnit5 architecture, shows how to add the proper Maven dependency, and provides practical examples of common annotations, assertions, repeated, parameterized, and nested tests for Spring Boot projects.

JUnit5assertionsjava
0 likes · 7 min read
Master JUnit5: Why Upgrade from JUnit4 and How to Use Its Powerful Features
Top Architect
Top Architect
Sep 4, 2021 · Backend Development

Understanding Spring Boot Default Logging Configuration and Customization

This article explains Spring Boot's default logging setup using SLF4J and Logback, demonstrates how to view log levels in a test class, shows how to modify log levels via application properties, and details the underlying XML configuration files and how to customize them for different environments.

backend-developmentjavalogback
0 likes · 13 min read
Understanding Spring Boot Default Logging Configuration and Customization
Programmer DD
Programmer DD
Sep 4, 2021 · Backend Development

What’s Coming in Spring Framework 6.0? Roadmap, Features, and Release Timeline

The SpringOne conference went online and revealed the upcoming Spring Framework 6.0 built on Java 17 and Jakarta EE 9, outlining its development milestones, key changes from 5.3, cloud‑native enhancements, Spring Boot 3 integration, and the imminent release of Java 17 that will usher in a new era for Java developers.

Spring Frameworkbackend-developmentjakarta-ee
0 likes · 5 min read
What’s Coming in Spring Framework 6.0? Roadmap, Features, and Release Timeline
Code Ape Tech Column
Code Ape Tech Column
Sep 4, 2021 · Backend Development

Knife4j: A Lightweight Swagger UI Enhancement for Java MVC Frameworks

Knife4j is a lightweight, feature‑rich solution that enhances Swagger UI for Java MVC frameworks, offering customizable configurations, offline document export, and seamless integration with Spring Boot and Spring Cloud micro‑service architectures, while providing open‑source repositories and clear usage instructions.

API documentationKnife4jOpen-source
0 likes · 5 min read
Knife4j: A Lightweight Swagger UI Enhancement for Java MVC Frameworks
Architect's Guide
Architect's Guide
Sep 3, 2021 · Backend Development

Integrating Alipay’s New Transfer Interface (alipay.fund.trans.uni.transfer) with Spring Boot

This guide explains how to replace the deprecated Alipay transfer API with the new alipay.fund.trans.uni.transfer interface by upgrading the SDK, configuring certificates, adding Maven dependencies, and implementing Spring‑Boot beans, configuration classes, and utility methods for secure fund transfers.

AlipayPayment IntegrationSDK
0 likes · 11 min read
Integrating Alipay’s New Transfer Interface (alipay.fund.trans.uni.transfer) with Spring Boot