Tagged articles

Spring Boot

4358 articles · Page 33 of 44
macrozheng
macrozheng
Jan 14, 2022 · Backend Development

Mastering MDC in Spring Boot: Prevent TraceId Loss in Multithreaded Logging

This article explains what MDC is, its API, advantages, common issues like traceId loss in child threads and HTTP calls, and provides practical solutions using custom thread‑pool wrappers and HTTP interceptors to ensure reliable logging in Spring Boot applications.

HTTP InterceptorMDCSpring Boot
0 likes · 11 min read
Mastering MDC in Spring Boot: Prevent TraceId Loss in Multithreaded Logging
Java Interview Crash Guide
Java Interview Crash Guide
Jan 11, 2022 · Backend Development

How to Design and Implement a Custom RPC Framework from Scratch

This article explains the concepts, architecture, communication flow, and implementation details of a custom RPC framework built with Spring Boot, Netty, and Zookeeper, covering service registration, load balancing, custom message protocols, serialization, TCP handling, and deployment steps.

NettyRPCSpring Boot
0 likes · 16 min read
How to Design and Implement a Custom RPC Framework from Scratch
Java Architect Essentials
Java Architect Essentials
Jan 10, 2022 · Backend Development

Introducing magic-api: A Java Rapid API Development Framework

magic-api is a Java‑based rapid API development framework that lets developers create HTTP interfaces through a UI without writing Controllers, Services, DAOs, or XML, offering extensive database support, dynamic scripting, Swagger generation, and easy Spring Boot integration.

APISpring Bootbackend
0 likes · 5 min read
Introducing magic-api: A Java Rapid API Development Framework
Java Architecture Diary
Java Architecture Diary
Jan 10, 2022 · Backend Development

Unlock High‑Performance IoT Messaging with mica‑mqtt: A Low‑Latency MQTT Broker

mica‑mqtt, built on t‑io, offers a simple, low‑latency, high‑performance open‑source MQTT component that integrates easily into existing services, supports multiple protocols and deployment scenarios, and includes Spring Boot starter, GraalVM compilation, and Redis‑based clustering for robust IoT solutions.

BrokerGraalVMSpring Boot
0 likes · 6 min read
Unlock High‑Performance IoT Messaging with mica‑mqtt: A Low‑Latency MQTT Broker
Top Architect
Top Architect
Jan 8, 2022 · Backend Development

Comprehensive Guide to Spring MVC and Spring Boot Annotations

This article provides a detailed overview of Spring MVC request‑mapping annotations, Spring Bean and dependency‑injection annotations, and essential Spring Boot configuration annotations, illustrating their usage with code examples and explaining how they work together to build robust backend applications.

SpringSpring Bootannotations
0 likes · 13 min read
Comprehensive Guide to Spring MVC and Spring Boot Annotations
IT Xianyu
IT Xianyu
Jan 6, 2022 · Backend Development

Spring Boot Packaging with Maven Assembly Plugin and Shell Deployment Script

This article explains how to use Maven profiles and the maven‑assembly‑plugin to create environment‑specific zip packages for a Spring Boot application and provides a reusable shell script (shenniu_publish.sh) for extracting, starting, stopping, and managing the deployed JAR on Linux.

LinuxShell scriptSpring Boot
0 likes · 14 min read
Spring Boot Packaging with Maven Assembly Plugin and Shell Deployment Script
Java Interview Crash Guide
Java Interview Crash Guide
Jan 6, 2022 · Information Security

Mastering OAuth2 SSO: Real-World Scenarios and Spring Boot Guide

This article demystifies Single Sign-On using OAuth2.0 by illustrating the authentication and authorization flow through a real‑world analogy, explaining HTTP redirects, detailing the four grant types, and providing a complete Spring Boot implementation with role‑based access control for both client and server sides in microservice architectures.

OAuth2Single Sign-OnSpring Boot
0 likes · 11 min read
Mastering OAuth2 SSO: Real-World Scenarios and Spring Boot Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 4, 2022 · Backend Development

How to Implement Service Tasks in Activiti 7 with Spring Boot

This guide demonstrates how to configure and execute ServiceTask nodes in Activiti 7.1 within a Spring Boot 2.3.12 application, covering service class implementation, three configuration methods (direct class, delegate expression, Spring bean method), BPMN XML definition, and a REST endpoint to start the process.

JavaDelegateServiceTaskSpring Boot
0 likes · 5 min read
How to Implement Service Tasks in Activiti 7 with Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jan 4, 2022 · Backend Development

How to Enable Multithreaded Scheduled Tasks in Spring Boot

This article explains why Spring Boot's default scheduled tasks run on a single thread and demonstrates three practical ways to configure multithreaded scheduling using SchedulingConfigurer, application properties, and the @Async annotation with a custom thread pool.

ConfigurationScheduled TasksSpring Boot
0 likes · 4 min read
How to Enable Multithreaded Scheduled Tasks in Spring Boot
Alibaba Cloud Native
Alibaba Cloud Native
Dec 31, 2021 · Cloud Native

Deploy a Spring Boot Mall Application to Alibaba Cloud Serverless in 5 Steps

This step‑by‑step guide shows how to prepare a VM, clone the open‑source Mall project, build Docker images for its dependencies, push them to Alibaba Cloud Container Registry, configure Serverless Devs, and finally deploy both the backend and Vue‑based frontend to Alibaba Cloud Function Compute, including log inspection and verification.

Alibaba CloudCloud NativeDocker
0 likes · 13 min read
Deploy a Spring Boot Mall Application to Alibaba Cloud Serverless in 5 Steps
Programmer DD
Programmer DD
Dec 31, 2021 · Backend Development

Unlock Spring Boot Starters: How Auto‑Configuration Simplifies Your Projects

This article explains the concept of Spring Boot starters, how they replace cumbersome Spring MVC setup with automatic dependency import and configuration, details the inner workings of Spring Boot's auto‑configuration mechanism, and guides you through creating custom starters and publishing them as reusable modules.

Dependency ManagementSpring BootStarters
0 likes · 16 min read
Unlock Spring Boot Starters: How Auto‑Configuration Simplifies Your Projects
Programmer DD
Programmer DD
Dec 30, 2021 · Backend Development

Switch Spring Boot 2.x from Logback to Log4j2: Step‑by‑Step Guide

Learn how to replace Spring Boot 2.x's default Logback logging with the high‑performance Log4j2 by adding the starter dependency, configuring the logging file, and setting up a basic log4j2.xml, including code snippets and troubleshooting tips for a smooth migration.

Spring BootTutorialjava
0 likes · 6 min read
Switch Spring Boot 2.x from Logback to Log4j2: Step‑by‑Step Guide
DataFunSummit
DataFunSummit
Dec 29, 2021 · Operations

How to Build an Operations Monitoring Platform with Spring Boot Admin

This article explains what Spring Boot Admin is, walks through creating a server and client to monitor Spring Boot applications, shows how to configure ports, enable the admin UI, and set up email and custom alert notifications for operational health monitoring.

MonitoringOperationsSpring Boot
0 likes · 12 min read
How to Build an Operations Monitoring Platform with Spring Boot Admin
New Oriental Technology
New Oriental Technology
Dec 29, 2021 · Databases

Understanding HikariCP: Architecture, Core Components, and Usage

This article explains how HikariCP, the default Spring Boot 2.x connection pool, improves database performance through byte‑code optimization, custom containers, and streamlined code, and it details the internal classes, lifecycle methods, configuration, monitoring, and practical usage examples.

Connection PoolHikariCPSpring Boot
0 likes · 21 min read
Understanding HikariCP: Architecture, Core Components, and Usage
Java High-Performance Architecture
Java High-Performance Architecture
Dec 29, 2021 · Backend Development

Quickly Integrate Email Sending in Spring Boot with JavaMailSender

This tutorial walks you through setting up Spring Boot to send simple and complex emails, covering SMTP/IMAP/POP3 basics, JavaMailSender configuration, code examples for plain text and attachment emails, auto‑configuration details, a REST controller, Thymeleaf UI, testing steps, and common SMTP error codes.

Email IntegrationJavaMailSenderSMTP
0 likes · 19 min read
Quickly Integrate Email Sending in Spring Boot with JavaMailSender
Tencent Cloud Middleware
Tencent Cloud Middleware
Dec 27, 2021 · Cloud Native

Fast-Track Spring Boot Service Mesh: Integrating PolarisMesh with Feign

This article explains how PolarisMesh, Tencent's open‑source service discovery and governance platform, solves service address management and fault tolerance challenges in a Spring Boot microservice ecosystem, and provides step‑by‑step instructions—including Maven dependency, provider and consumer configuration, and sample code—to quickly integrate PolarisMesh via Feign.

Cloud NativeFeignMicroservices
0 likes · 10 min read
Fast-Track Spring Boot Service Mesh: Integrating PolarisMesh with Feign
Top Architect
Top Architect
Dec 27, 2021 · Backend Development

Caffeine Cache in Spring Boot: Algorithm Advantages, Configuration, and Usage

This article introduces Caffeine Cache as a high‑performance local cache for Java, explains its W‑TinyLFU algorithm advantages over Guava, details various eviction and loading strategies, and provides step‑by‑step Spring Boot integration with Maven dependencies, configuration properties, bean definitions, and annotation‑driven usage examples.

Cache ConfigurationCaffeine cacheSpring Boot
0 likes · 21 min read
Caffeine Cache in Spring Boot: Algorithm Advantages, Configuration, and Usage
Code Ape Tech Column
Code Ape Tech Column
Dec 25, 2021 · Backend Development

Key New Features in Spring Boot 2.6.0

Spring Boot 2.6.0 introduces several important changes such as default prohibition of circular dependencies, custom sanitizing functions, automatic Redis connection‑pool activation, moved reactive session properties, Maven build‑info exclusions, WebTestClient support for MVC testing, and Log4j2 composite configuration options.

ConfigurationRedisSpring Boot
0 likes · 5 min read
Key New Features in Spring Boot 2.6.0
Programmer DD
Programmer DD
Dec 24, 2021 · Information Security

Is Logback’s CVE‑2021‑42550 a Real Threat? How to Safely Upgrade

Logback’s CVE‑2021‑42550 affects versions below 1.2.9, allowing attackers with write access to the configuration file to execute arbitrary code via LDAP, but its severity is rated Medium; upgrading to 1.2.9 or newer, setting config files read‑only, and aligning Spring Boot versions can mitigate the risk.

CVE-2021-42550Spring BootVulnerability
0 likes · 4 min read
Is Logback’s CVE‑2021‑42550 a Real Threat? How to Safely Upgrade
macrozheng
macrozheng
Dec 24, 2021 · Backend Development

Mastering Delayed Tasks with RocketMQ and Spring Boot

This guide explains how to replace inefficient cron polling with RocketMQ's delayed message feature in Spring Boot, covering the core concept, configuration, producer and consumer implementation, testing, and how to customize delay levels for reliable time‑sensitive operations.

Delayed TasksRocketMQSpring Boot
0 likes · 8 min read
Mastering Delayed Tasks with RocketMQ and Spring Boot
IT Architects Alliance
IT Architects Alliance
Dec 23, 2021 · Backend Development

Implementing Delayed Queues with RabbitMQ in Spring Boot

This article explains how to implement scheduled tasks in a Spring Boot application using RabbitMQ delayed queues, detailing the use of dead‑letter exchanges, message TTL settings, queue configuration, and Java code examples for publishing and consuming delayed messages.

Delayed QueueSpring Bootdead-letter-exchange
0 likes · 9 min read
Implementing Delayed Queues with RabbitMQ in Spring Boot
Java Architecture Diary
Java Architecture Diary
Dec 22, 2021 · Backend Development

Spring Boot 2.6.2 Release: Key Bug Fixes, Docs Updates, and Dependency Upgrades

Spring Boot 2.6.2, released on December 21, introduces 55 bug fixes, documentation improvements, and a comprehensive set of dependency upgrades, providing developers with more stable configuration binding, corrected database initialization, enhanced security handling, and updated libraries across the ecosystem.

Bug FixesSpring Bootbackend development
0 likes · 6 min read
Spring Boot 2.6.2 Release: Key Bug Fixes, Docs Updates, and Dependency Upgrades
Architect
Architect
Dec 22, 2021 · Backend Development

Implementing Delayed Tasks with RabbitMQ Using Dead‑Letter Exchanges and TTL

This article explains how to replace database‑polling scheduled jobs in e‑commerce systems with RabbitMQ delayed queues by leveraging dead‑letter exchanges and message TTL, providing step‑by‑step configuration, code examples, and deployment details for Spring Boot applications.

Message QueueSpring BootTTL
0 likes · 12 min read
Implementing Delayed Tasks with RabbitMQ Using Dead‑Letter Exchanges and TTL
Top Architect
Top Architect
Dec 20, 2021 · Cloud Native

Step‑by‑Step Guide to Building Spring Cloud Microservices with Eureka, Ribbon, and Feign

This article provides a comprehensive tutorial on creating Spring Cloud microservices, covering the fundamentals of microservice architecture, project initialization with Maven and IntelliJ, configuring Eureka registration servers, implementing service providers and consumers, using Ribbon and Feign for load‑balanced calls, and setting up high‑availability Eureka clusters.

EurekaFeignMicroservices
0 likes · 19 min read
Step‑by‑Step Guide to Building Spring Cloud Microservices with Eureka, Ribbon, and Feign
Programmer DD
Programmer DD
Dec 17, 2021 · Backend Development

How to Quickly Upgrade Log4j2 to 2.16.0 in Spring Boot Projects

This guide explains step‑by‑step how to upgrade Log4j2 to the secure 2.16.0 version in Spring Boot applications by adjusting Maven configurations, understanding parent POM inheritance, and overriding properties, ensuring a fast and reliable fix for the critical vulnerability.

MavenSpring Bootsecurity patch
0 likes · 5 min read
How to Quickly Upgrade Log4j2 to 2.16.0 in Spring Boot Projects
Programmer DD
Programmer DD
Dec 17, 2021 · Cloud Native

What’s New in Spring Cloud 2020.0.5? Full Release Notes and Upgrade Guide

Spring Cloud 2020.0.5, a bug‑fix release compatible with Spring Boot 2.4.x and 2.5.x, is now available from the central repository, and includes updated dependencies, component version tables, and detailed changelogs for modules such as Netflix, Config, Gateway, Kubernetes, OpenFeign, Sleuth, and Vault.

Spring BootSpring Cloudjava
0 likes · 4 min read
What’s New in Spring Cloud 2020.0.5? Full Release Notes and Upgrade Guide
Code Ape Tech Column
Code Ape Tech Column
Dec 17, 2021 · Backend Development

REST API Versioning in Spring Boot: Four Implementation Methods

This article explains why RESTful API versioning is needed, presents four common versioning strategies (URI, request parameter, custom header, and media type), and provides complete Spring Boot code examples for each method along with factors to consider when choosing a strategy.

HTTPRESTSpring Boot
0 likes · 7 min read
REST API Versioning in Spring Boot: Four Implementation Methods
IT Architects Alliance
IT Architects Alliance
Dec 17, 2021 · Databases

Comparison of Jedis, Redisson, and Lettuce and Their Integration with Spring Boot

This article compares the three popular Java Redis clients—Jedis, Redisson, and Lettuce—detailing their differences in threading, I/O, and feature sets, and provides comprehensive Spring Boot configuration and code examples for using StringRedisTemplate, RedissonClient, and Spring Cache annotations to implement caching and distributed locks.

RedisRedissonSpring Boot
0 likes · 11 min read
Comparison of Jedis, Redisson, and Lettuce and Their Integration with Spring Boot
Java Architect Essentials
Java Architect Essentials
Dec 16, 2021 · Backend Development

How to Efficiently Export Millions of Records to Excel with Alibaba EasyExcel

This article explains why traditional Excel export methods cause memory overflow, introduces Alibaba's EasyExcel library that keeps memory usage in kilobytes, and provides step‑by‑step Maven setup, POJO definitions, and code examples for exporting small, medium, and massive data sets in a Spring Boot environment.

EasyExcelExcel exportLarge Data
0 likes · 21 min read
How to Efficiently Export Millions of Records to Excel with Alibaba EasyExcel
Selected Java Interview Questions
Selected Java Interview Questions
Dec 16, 2021 · Backend Development

Four Ways to Implement Event Listeners in Spring Boot

This article explains four approaches for implementing Spring Boot event listeners—including manual registration, component scanning, properties configuration, and @EventListener annotation—while also covering how to create custom events and listener classes with complete code examples.

Spring Bootapplicationlistenerbackend development
0 likes · 5 min read
Four Ways to Implement Event Listeners in Spring Boot
macrozheng
macrozheng
Dec 16, 2021 · Backend Development

How to Build Complex Search APIs with Bean Searcher in One Line of Code

Learn how Bean Searcher enables Java backend developers to replace dozens of lines of ORM code with a single, flexible query method, supporting multi-table joins, dynamic filters, pagination, sorting, and custom operators, dramatically boosting development efficiency for complex list retrieval scenarios.

Bean SearcherDynamic QueryORM
0 likes · 17 min read
How to Build Complex Search APIs with Bean Searcher in One Line of Code
Senior Brother's Insights
Senior Brother's Insights
Dec 14, 2021 · Backend Development

Beyond Redis: When to Choose EhCache for Java In‑Process Caching

With hardware costs dropping, many default to Redis for caching, but it isn’t always optimal; this article examines EhCache—a pure‑Java, in‑process cache—covering its architecture, eviction policies, API and XML configurations, and step‑by‑step Spring Boot integration, helping you decide when to prefer it.

Cache EvictionEhcacheRedis
0 likes · 15 min read
Beyond Redis: When to Choose EhCache for Java In‑Process Caching
FunTester
FunTester
Dec 14, 2021 · Fundamentals

Challenges and Solutions for Unit Test Coverage in Spring Boot: Mocking Static Methods with Spock, Mockito, and PowerMock

The author describes encountering quality‑assurance challenges in Spring Boot, revisiting unit‑testing frameworks like Spock, Mockito, and PowerMock, struggling with static‑method mocking, and ultimately adopting a "reset and rebuild" strategy to resolve dependency conflicts and improve test coverage.

MockingMockitoPowerMock
0 likes · 5 min read
Challenges and Solutions for Unit Test Coverage in Spring Boot: Mocking Static Methods with Spock, Mockito, and PowerMock
Selected Java Interview Questions
Selected Java Interview Questions
Dec 13, 2021 · Backend Development

Integrating Retrofit with Spring Boot Using retrofit‑spring‑boot‑starter

This article introduces the retrofit‑spring‑boot‑starter library, shows how to add the Maven dependency, configure @RetrofitScan, define HTTP interfaces, inject them into services, and demonstrates advanced features such as annotation‑based interceptors, custom interceptors, connection‑pool management, logging, exception formatting, call adapters, converters, and global interceptors for Spring Boot projects.

HTTP clientInterceptorRetrofit
0 likes · 14 min read
Integrating Retrofit with Spring Boot Using retrofit‑spring‑boot‑starter
macrozheng
macrozheng
Dec 13, 2021 · Backend Development

Master Spring Validation: From Simple Use to Advanced Techniques and Internals

This guide thoroughly explores Spring Validation, covering basic and advanced usage such as requestBody and requestParam checks, grouping, nested and collection validation, custom constraints, programmatic validation, fail-fast configuration, and the underlying implementation mechanisms within Spring MVC and Hibernate Validator.

Hibernate ValidatorSpringSpring Boot
0 likes · 17 min read
Master Spring Validation: From Simple Use to Advanced Techniques and Internals
Java Captain
Java Captain
Dec 11, 2021 · Backend Development

Overview of the eladmin Open‑Source Spring Boot + Vue Admin System

The article introduces eladmin, an open‑source, front‑back separated admin platform built with Spring Boot, JPA, Spring Security, Redis and Vue, detailing its features, modular architecture, key functionalities, highlights, and providing a link to its GitHub repository.

RBACSpring BootVue
0 likes · 5 min read
Overview of the eladmin Open‑Source Spring Boot + Vue Admin System
Selected Java Interview Questions
Selected Java Interview Questions
Dec 10, 2021 · Backend Development

A Comprehensive Guide to Spring Boot Actuator: Quick Start, Endpoints, and Monitoring

This article provides a step‑by‑step tutorial on using Spring Boot Actuator to monitor microservice applications, covering quick setup, essential endpoints such as health, metrics, loggers, info, beans, heapdump, threaddump and shutdown, endpoint exposure configuration, and securing them with Spring Security.

ActuatorEndpointsMonitoring
0 likes · 14 min read
A Comprehensive Guide to Spring Boot Actuator: Quick Start, Endpoints, and Monitoring
macrozheng
macrozheng
Dec 8, 2021 · Backend Development

How to Turn a Java Hello World into a Fast Native Binary with GraalVM

This article walks through writing a simple Java program, compiling it with javac, then using GraalVM's native-image tool to produce a JVM‑independent executable, compares file size and startup speed, discusses native-image limitations, and shows how Spring Boot can be built as a native image for dramatically faster startup.

AOT compilationGraalVMNative Image
0 likes · 12 min read
How to Turn a Java Hello World into a Fast Native Binary with GraalVM
Programmer DD
Programmer DD
Dec 7, 2021 · Backend Development

Build a Full‑Featured Java CMS with FlyCms: Step‑by‑Step Setup Guide

FlyCms is an open‑source, Java‑based, Q&A‑style CMS built on Spring Boot, MySQL, Redis, Elasticsearch and Vue, and this guide walks you through its architecture, key features, required environment setup, installation commands, configuration, building, and launching the application.

CMSOpen SourceSpring Boot
0 likes · 6 min read
Build a Full‑Featured Java CMS with FlyCms: Step‑by‑Step Setup Guide
Java Captain
Java Captain
Dec 4, 2021 · Artificial Intelligence

Java Spring Boot License Plate Recognition and Training System (Open‑Source)

This open‑source project implements a Spring Boot and Maven based license‑plate detection and training system in Java, leveraging OpenCV and JavaCPP, supporting multiple plate colors, SVM and ANN algorithms, and providing a B/S architecture with SQLite, Swagger documentation, and extensible image‑recognition features.

OpenCVSpring Bootcomputer vision
0 likes · 4 min read
Java Spring Boot License Plate Recognition and Training System (Open‑Source)
Architecture Digest
Architecture Digest
Dec 4, 2021 · Backend Development

Introduction to eladmin: An Open‑Source Spring Boot + Vue Admin System

The article presents a detailed overview of the open‑source eladmin project, describing its Spring Boot‑based backend, Vue front‑end, modular architecture, RBAC permission model, code generation, and various built‑in features such as logging, monitoring, and cloud storage integration.

Modular ArchitectureRBACSpring Boot
0 likes · 7 min read
Introduction to eladmin: An Open‑Source Spring Boot + Vue Admin System
DataFunSummit
DataFunSummit
Dec 2, 2021 · Backend Development

Integrating Elasticsearch with Spring Boot: A Step‑by‑Step Guide

This article explains how to integrate Elasticsearch into a Spring Boot project, covering version compatibility, supported access methods, dependency setup, configuration, entity mapping with annotations, repository creation, and unit testing to verify successful indexing and retrieval.

ElasticsearchSpring Bootbackend development
0 likes · 9 min read
Integrating Elasticsearch with Spring Boot: A Step‑by‑Step Guide
Java High-Performance Architecture
Java High-Performance Architecture
Dec 2, 2021 · Information Security

Mastering Spring Boot Security: A Minimalist Guide to Integrating Apache Shiro

This tutorial walks through building a Spring Boot application with Apache Shiro, covering core concepts, database schema design, Maven dependencies, configuration files, entity and DAO layers, service implementations, Shiro realm and security configuration, login handling, role and permission testing, and future extension ideas.

Apache ShiroJava SecuritySpring Boot
0 likes · 19 min read
Mastering Spring Boot Security: A Minimalist Guide to Integrating Apache Shiro
Code Ape Tech Column
Code Ape Tech Column
Dec 2, 2021 · Information Security

Comprehensive Guide to OAuth2.0: Principles, Four Grant Types, and Implementation with Spring Security

This article explains why OAuth2.0 is needed, clarifies the differences between tokens and passwords, describes the OAuth2.0 protocol and its four grant types, and provides a step‑by‑step Spring Boot + Spring Cloud Alibaba implementation of an authorization server and a resource server with full code examples.

Spring Bootauthenticationauthorization
0 likes · 22 min read
Comprehensive Guide to OAuth2.0: Principles, Four Grant Types, and Implementation with Spring Security
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 1, 2021 · Backend Development

Master Programmatic Transactions in Spring Boot 2.3.9 with Templates & Managers

This guide explains how to use Spring Boot's programmatic transaction APIs—including TransactionTemplate, TransactionManager, and transactional event listeners—through detailed code examples, configuration tips, rollback handling, and best‑practice recommendations for backend Java development.

Programmatic TransactionsSpring BootTransaction Management
0 likes · 9 min read
Master Programmatic Transactions in Spring Boot 2.3.9 with Templates & Managers
Programmer DD
Programmer DD
Nov 30, 2021 · Backend Development

Mastering Redis Distributed Locks with Jedis: A Hands‑On Guide

This tutorial demonstrates how to implement Redis distributed locks in Java using Jedis, covering lock creation with SETNX, expiration handling, safe unlocking via Lua scripts, and a high‑concurrency simulation of 100,000 users competing for limited stock.

RedisSpring Bootconcurrency
0 likes · 9 min read
Mastering Redis Distributed Locks with Jedis: A Hands‑On Guide
Java Architecture Diary
Java Architecture Diary
Nov 30, 2021 · Backend Development

What’s New in Spring Boot 2.6.1? Key Bug Fixes and Docs Updates

Spring Boot 2.6.1, released on November 29, brings 11 bug fixes and documentation improvements to support the upcoming Spring Cloud 2021, addressing issues from pattern parsing to security filters, Lettuce integration, MockMvc configuration, and Elasticsearch dependency handling.

DocumentationSpring Bootjava
0 likes · 3 min read
What’s New in Spring Boot 2.6.1? Key Bug Fixes and Docs Updates
Java Architecture Diary
Java Architecture Diary
Nov 29, 2021 · Backend Development

Unlock High‑Performance IoT Messaging with mica‑mqtt: Low‑Latency Java MQTT Framework

The mica‑mqtt library, built on t‑io, offers a simple, low‑latency, high‑performance open‑source MQTT solution for IoT, supporting MQTT v3.1/v3.1.1/v5, WebSocket sub‑protocol, HTTP API, clustering via Redis, Spring Boot starter integration, Prometheus/Grafana monitoring, and provides extensive client and server interfaces with code examples.

Open SourceSpring Bootjava
0 likes · 10 min read
Unlock High‑Performance IoT Messaging with mica‑mqtt: Low‑Latency Java MQTT Framework
macrozheng
macrozheng
Nov 27, 2021 · Backend Development

What’s New in Spring Boot 2.6.0? Key Features, Maven Dependencies, and Upgrade Guide

Spring Boot 2.6.0 arrives with a host of new features—including default circular‑reference protection, SameSite cookie support, reactive session enhancements, custom sanitizing rules, endpoint changes, Redis pool options, WebTestClient testing, Log4j2 composite configuration, numerous dependency upgrades, and several deprecations—plus updated Maven coordinates and version timelines for developers to consider before upgrading.

MavenSpring Bootbackend development
0 likes · 11 min read
What’s New in Spring Boot 2.6.0? Key Features, Maven Dependencies, and Upgrade Guide
Top Architect
Top Architect
Nov 26, 2021 · Backend Development

Implementing Automatic Idempotency in Spring Boot Using Redis and Interceptors

This article demonstrates how to achieve automatic request idempotency in Spring Boot applications by leveraging Redis for token storage, custom annotations, and interceptor configuration, providing step-by-step code examples for building a Redis service, token service, custom annotation, interceptor, and testing the solution.

IdempotencyInterceptorRedis
0 likes · 10 min read
Implementing Automatic Idempotency in Spring Boot Using Redis and Interceptors
Top Architect
Top Architect
Nov 25, 2021 · Backend Development

Implement QR Code Login with WebSocket Using Spring Boot

This article explains how to build a QR‑code based login system by designing a token table, defining roles, creating two REST APIs (generate QR code and confirm identity), and integrating front‑end JavaScript with a Spring Boot WebSocket server, complete with full code examples and step‑by‑step instructions.

JavaScriptQR Code LoginSpring Boot
0 likes · 13 min read
Implement QR Code Login with WebSocket Using Spring Boot
MaGe Linux Operations
MaGe Linux Operations
Nov 24, 2021 · Operations

Automate Spring Boot & Vue Deployments with GitLab, Jenkins, Docker, Kubernetes

This guide demonstrates how to integrate GitLab, Jenkins, Docker, Kubernetes, and Helm to achieve fully automated, environment‑specific deployments for Spring Boot backend services and Vue.js front‑end applications, covering configuration files, pipeline scripts, credential setup, and webhook integration for seamless CI/CD across development, testing, and production.

CI/CDDockerGitLab
0 likes · 15 min read
Automate Spring Boot & Vue Deployments with GitLab, Jenkins, Docker, Kubernetes
Java High-Performance Architecture
Java High-Performance Architecture
Nov 24, 2021 · Backend Development

Build a Full‑Featured Logistics Management System with Spring Boot and Jeecg‑boot

This guide walks you through setting up a comprehensive logistics and warehouse management system using Spring Boot and Jeecg‑boot, covering required environment versions, technology stack, database configuration, backend and frontend setup, and deployment steps with detailed screenshots and code snippets.

DatabaseJeecg-bootLogistics Management
0 likes · 7 min read
Build a Full‑Featured Logistics Management System with Spring Boot and Jeecg‑boot
Programmer DD
Programmer DD
Nov 22, 2021 · Backend Development

Master EasyExcel: Fast, Low‑Memory Excel Import/Export in Java

This guide explains how to use Alibaba's EasyExcel library for efficient, low‑memory Excel import and export in Java, covering its core features, common annotations, Maven dependencies, listener implementation, and practical code examples for both HTTP‑based and local file operations.

Data ProcessingEasyExcelExcel
0 likes · 7 min read
Master EasyExcel: Fast, Low‑Memory Excel Import/Export in Java
Programmer DD
Programmer DD
Nov 20, 2021 · Backend Development

What’s New in Spring Boot 2.6.0? Key Features and Migration Tips

Spring Boot 2.6.0 introduces major updates such as SameSite cookie support, health group configuration for main and management ports, enhanced /info endpoint with Java runtime details, WebTestClient testing, automatic spring‑rabbit‑stream setup, custom env/configprops sanitizing, new metrics, Docker build improvements, and default prohibition of circular bean references.

Spring Bootbackend developmentjava
0 likes · 10 min read
What’s New in Spring Boot 2.6.0? Key Features and Migration Tips
Java Architecture Diary
Java Architecture Diary
Nov 19, 2021 · Backend Development

What’s New in Spring Boot 2.6? Key Features and Configuration Changes

Spring Boot 2.6 introduces Cookie SameSite support, reactive session timeout, custom data‑masking rules, automatic Redis pool configuration, richer runtime Java metrics, build‑info personalization, new startup and disk metrics, enhanced Docker image building, and many deprecated properties removed or renamed, improving security and performance.

ConfigurationDockerRedis
0 likes · 7 min read
What’s New in Spring Boot 2.6? Key Features and Configuration Changes
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.

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

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

APIGraphQLSpring Boot
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.

ControllerHibernate ValidatorSpring Boot
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.

GuavaRedisSpring Boot
0 likes · 11 min read
Implementing Rate Limiting in Java Spring Applications Using Guava, Redis, and Nginx
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 12, 2021 · Backend Development

Understanding Spring Boot Application Events: A Complete Lifecycle Guide

This article outlines the full sequence of Spring Boot application events—from ApplicationStartingEvent at launch to ApplicationFailedEvent on errors—explaining when each event fires, its purpose, and providing code snippets that illustrate the event triggers within the SpringApplication lifecycle.

LifecycleSpring Bootapplication-events
0 likes · 6 min read
Understanding Spring Boot Application Events: A Complete Lifecycle Guide
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 MessagingMessage QueueSpring Boot
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.

RedisSliding WindowSpring Boot
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.

ClickHouseSpring Bootjava
0 likes · 7 min read
Extending MyBatis-Plus for ClickHouse: Custom SqlMethodDiv, UpdateByIdClickHouse, and Injector Implementation