Tagged articles
3874 articles
Page 26 of 39
Top Architect
Top Architect
Jul 2, 2022 · Backend Development

Unified Parameter Handling, Validation, and Response Wrapping in Spring Boot Controllers

This article explains how to structure Spring Boot controller methods to receive parameters, implement unified status codes, validation with @Validated, and automatic response wrapping using ResultVo and @RestControllerAdvice, while also providing custom exception handling and optional exclusion annotations for flexible API design.

ControllerException HandlingJava
0 likes · 19 min read
Unified Parameter Handling, Validation, and Response Wrapping in Spring Boot Controllers
macrozheng
macrozheng
Jul 1, 2022 · Backend Development

Mastering Spring Boot Controllers: Unified Validation, Response, and Exception Handling

This tutorial explains how to structure a Spring Boot controller layer, validate request parameters with @Validated, wrap responses in a standard ResultVo format, define unified status codes, and handle exceptions globally using @RestControllerAdvice and AOP, while also providing a way to skip wrapping for specific endpoints.

ControllerException HandlingJava
0 likes · 18 min read
Mastering Spring Boot Controllers: Unified Validation, Response, and Exception Handling
Top Architect
Top Architect
Jun 30, 2022 · Backend Development

Spring Boot Cache: JCache Specification, Cache Abstraction, Annotations, and Redis Integration

This article explains Spring Boot caching by introducing the JSR‑107 JCache specification, detailing core cache interfaces, showing the Spring Cache abstraction and its implementations, demonstrating cache annotations such as @Cacheable, @CachePut and @CacheEvict, and finally covering Redis setup and custom CacheManager usage.

CacheJCacheJava
0 likes · 19 min read
Spring Boot Cache: JCache Specification, Cache Abstraction, Annotations, and Redis Integration
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 29, 2022 · Backend Development

Mastering Spring @InitBinder: Custom Data Binding in Spring Boot 2.4

This article explains how @InitBinder methods in Spring MVC can initialize WebDataBinder, register custom PropertyEditors, Converters, and Formatters, and demonstrates a complete example with code snippets, while also detailing the internal request‑handling flow that performs parameter binding and type conversion.

Custom ConverterInitBinderSpring Boot
0 likes · 8 min read
Mastering Spring @InitBinder: Custom Data Binding in Spring Boot 2.4
Top Architect
Top Architect
Jun 28, 2022 · Backend Development

Implementing QR Code Login with WebSocket in Spring Boot

This article demonstrates how to build a QR‑code based login system using Spring Boot, MySQL, and WebSocket, covering database design, role definition, API creation, front‑end image handling, and real‑time authentication notification through server‑push messages.

JavaQR Code LoginReal-time authentication
0 likes · 13 min read
Implementing QR Code Login with WebSocket in Spring Boot
Architecture Talk
Architecture Talk
Jun 28, 2022 · Cloud Native

Build a High‑Availability Microservices System on Kubernetes: A Step‑by‑Step Guide

This comprehensive guide walks you through designing a simple front‑end/back‑end microservice architecture, implementing it with Spring Boot, adding service discovery, monitoring, logging, tracing, and flow control, and finally deploying the entire system on a Kubernetes cluster with high availability and verification steps.

DockerPrometheusSpring Boot
0 likes · 19 min read
Build a High‑Availability Microservices System on Kubernetes: A Step‑by‑Step Guide
Top Architect
Top Architect
Jun 27, 2022 · Backend Development

Microservices and Kubernetes: A Comprehensive Guide to Design, Implementation, and High‑Availability Deployment

This article presents a step‑by‑step tutorial on designing a simple front‑end/back‑end separated microservice system, implementing it with Spring Boot, deploying it on Kubernetes, and enhancing reliability with multi‑instance registration, monitoring, logging, tracing, and traffic control mechanisms.

Spring Bootmicroservicesmonitoring
0 likes · 18 min read
Microservices and Kubernetes: A Comprehensive Guide to Design, Implementation, and High‑Availability Deployment
Java Architect Essentials
Java Architect Essentials
Jun 26, 2022 · Backend Development

Unified Controller Layer Handling, Validation, and Exception Management in Spring Boot

This article explains how to structure a Spring Boot controller layer by separating URL, request method, request data, and response data, then introduces unified status‑code packaging with ResultVo, parameter validation using @Validated, and centralized exception handling with @RestControllerAdvice and AOP to produce consistent API responses.

ControllerException HandlingResultVo
0 likes · 18 min read
Unified Controller Layer Handling, Validation, and Exception Management in Spring Boot
IT Architects Alliance
IT Architects Alliance
Jun 26, 2022 · Cloud Native

How to Build a High‑Availability Microservices System on Kubernetes from Scratch

This guide walks through designing a simple Java Spring Boot microservice architecture, implementing the services, deploying them on a Kubernetes cluster with Eureka registration, adding Prometheus‑Grafana monitoring, configuring logging, tracing, and flow‑control, and validating high availability using real‑time dashboards and tools like Lens.

JavaSpring Bootcloud-native
0 likes · 19 min read
How to Build a High‑Availability Microservices System on Kubernetes from Scratch
IT Architects Alliance
IT Architects Alliance
Jun 26, 2022 · Backend Development

Handling Dead Letter Queues in RabbitMQ with Spring Boot

This article explains what dead letters are in RabbitMQ, outlines their common causes, and provides a complete Spring Boot configuration and code examples for setting up dead‑letter exchanges, queues, TTL handling, message rejection, and consumer processing to reliably manage undeliverable messages.

Message RejectionMessage TTLRabbitMQ
0 likes · 8 min read
Handling Dead Letter Queues in RabbitMQ with Spring Boot
Architect
Architect
Jun 25, 2022 · Cloud Native

Microservices + Kubernetes Beginner's Guide: Design, Implementation, and High‑Availability Deployment

This comprehensive guide walks readers through designing a simple front‑end/back‑end separated microservice system, implementing it with Java Spring Boot, deploying it on a Kubernetes cluster, and adding high‑availability, monitoring, logging, tracing, and traffic‑control mechanisms using tools such as Eureka, Prometheus, Grafana, Zipkin, Sentinel and Lens.

JavaSpring Bootkubernetes
0 likes · 18 min read
Microservices + Kubernetes Beginner's Guide: Design, Implementation, and High‑Availability Deployment
IT Architects Alliance
IT Architects Alliance
Jun 23, 2022 · Cloud Native

Building a Spring Boot Microservice Demo with gRPC and Istio on Kubernetes

This article provides a step‑by‑step guide to creating a simple Spring Boot microservice that uses gRPC for communication, integrates with Istio as a service mesh, containerizes the applications with Docker, and deploys both server and client to a Kubernetes cluster with full configuration files and code examples.

DockerIstioSpring Boot
0 likes · 16 min read
Building a Spring Boot Microservice Demo with gRPC and Istio on Kubernetes
Code Ape Tech Column
Code Ape Tech Column
Jun 23, 2022 · Backend Development

Encrypting Spring Boot Configuration Files with jasypt-spring-boot

This guide explains how to protect sensitive Spring Boot configuration data by integrating the open‑source jasypt‑spring‑boot plugin, covering dependency addition, secret key setup, encryption of plaintext values, and customizing encrypted property syntax for seamless decryption at runtime.

Backend SecurityConfiguration EncryptionJasypt
0 likes · 5 min read
Encrypting Spring Boot Configuration Files with jasypt-spring-boot
Architect
Architect
Jun 22, 2022 · Cloud Native

Building a Spring Boot gRPC Microservice Demo Deployed on Istio with Kubernetes

This article walks through creating a simple Spring Boot microservice using gRPC, packaging it with Maven, containerizing it with Docker, and deploying both the server and client to a Kubernetes cluster with Istio sidecar injection, demonstrating how Istio removes service‑mesh logic from business code and enables seamless multi‑language microservice communication.

IstioService MeshSpring Boot
0 likes · 21 min read
Building a Spring Boot gRPC Microservice Demo Deployed on Istio with Kubernetes
IT Architects Alliance
IT Architects Alliance
Jun 21, 2022 · Backend Development

Spring Boot Best Practices: A Comprehensive Guide for Backend Development

Since 2016, the author shares a collection of Spring Boot best practices—including using custom BOMs, leveraging auto‑configuration and starters, employing Spring Initializr, structuring code, designing services, managing databases, handling concurrency, externalizing configuration, global exception handling, logging, and thorough testing—to help developers build robust, maintainable microservices.

Backend DevelopmentBest PracticesJava
0 likes · 12 min read
Spring Boot Best Practices: A Comprehensive Guide for Backend Development
Top Architect
Top Architect
Jun 21, 2022 · Backend Development

Spring Boot Best Practices: A Comprehensive Guide for Modern Java Backend Development

This article presents a detailed collection of Spring Boot best practices—from custom BOM dependency management and automatic configuration to project initialization, code structure, logging, testing, and configuration externalization—providing actionable guidance for building robust, maintainable micro‑services in Java.

Backend DevelopmentBest PracticesJava
0 likes · 13 min read
Spring Boot Best Practices: A Comprehensive Guide for Modern Java Backend Development
Top Architect
Top Architect
Jun 20, 2022 · Backend Development

Understanding How MyBatis‑Plus Maps Mapper Methods to SQL Statements and Executes Database Operations

This article provides a detailed walkthrough of MyBatis‑Plus internals, covering the auto‑configuration of SqlSessionFactory, parsing of mapper XML and annotations, registration of mapper interfaces via @MapperScan, creation of dynamic proxies, and the final assembly of executable SQL scripts for database interactions.

JavaMyBatis-PlusSQL Mapping
0 likes · 15 min read
Understanding How MyBatis‑Plus Maps Mapper Methods to SQL Statements and Executes Database Operations
IT Architects Alliance
IT Architects Alliance
Jun 19, 2022 · Backend Development

Four Ways to Implement Generic Auth in Spring Boot: AOP, Interceptor, ArgumentResolver, and Filter

This article explains how to add a universal app‑key whitelist authentication feature to a Spring‑Boot web framework by using four different mechanisms—traditional AOP, HandlerInterceptor, custom HandlerMethodArgumentResolver, and a Servlet Filter—while comparing their execution order and extensibility.

AOPArgumentResolverAuthentication
0 likes · 10 min read
Four Ways to Implement Generic Auth in Spring Boot: AOP, Interceptor, ArgumentResolver, and Filter
ITPUB
ITPUB
Jun 17, 2022 · Backend Development

How to Design DDD Code Implementation Models: A Practical Guide with Real-World Example

This article explains how to translate complex Domain‑Driven Design concepts into concrete code structures, covering domain objects, application services, infrastructure, and context integration, and demonstrates the approach with a ticket‑service case study using Spring Boot and Spring Cloud Stream.

Backend ArchitectureDDDDomain-Driven Design
0 likes · 14 min read
How to Design DDD Code Implementation Models: A Practical Guide with Real-World Example
Top Architect
Top Architect
Jun 17, 2022 · Backend Development

Asynchronous Execution Techniques in Spring Boot: CompletableFuture, @Async, WebAsyncTask, DeferredResult and More

This article explains multiple ways to achieve asynchronous processing in Spring Boot, covering @Async annotation, CompletableFuture, WebAsyncTask, DeferredResult, Tomcat connection tuning, component scanning, Undertow migration, BufferedWriter usage, and AsyncHandlerInterceptor with detailed code examples.

AsyncCompletableFutureDeferredResult
0 likes · 11 min read
Asynchronous Execution Techniques in Spring Boot: CompletableFuture, @Async, WebAsyncTask, DeferredResult and More
Java High-Performance Architecture
Java High-Performance Architecture
Jun 16, 2022 · Backend Development

Mastering Custom Exception Handling in Spring Boot: A Complete Guide

This article walks through Spring Boot's default error mapping, shows how to return JSON for AJAX requests and HTML pages for browsers, and provides step‑by‑step code for creating custom exception classes, an error response entity, a Freemarker error template, and a global @ControllerAdvice handler with detailed configuration and testing examples.

Exception HandlingGlobal ExceptionJava
0 likes · 15 min read
Mastering Custom Exception Handling in Spring Boot: A Complete Guide
Selected Java Interview Questions
Selected Java Interview Questions
Jun 13, 2022 · Backend Development

Guide to Setting Up Spring Boot Admin for Monitoring Spring Boot Applications

This article provides a step‑by‑step tutorial on installing and configuring Spring Boot Admin, including Maven dependencies, server and client setup, YML properties, security, Nacos registration, email notifications, custom health indicators, and Micrometer metrics to monitor Spring Boot services.

Backend DevelopmentMetricsSpring Boot
0 likes · 14 min read
Guide to Setting Up Spring Boot Admin for Monitoring Spring Boot Applications
Java High-Performance Architecture
Java High-Performance Architecture
Jun 13, 2022 · Backend Development

Understanding Spring Boot Auto-Configuration: From Basics to Custom Starter

This article explains why Spring Boot was created, outlines its key features such as convention over configuration and automatic wiring, dives into the inner workings of annotations like @EnableAutoConfiguration, demonstrates how SpringFactoriesLoader implements SPI, and guides you through building a simple starter component step by step.

JavaSpring BootStarter
0 likes · 13 min read
Understanding Spring Boot Auto-Configuration: From Basics to Custom Starter
Code Ape Tech Column
Code Ape Tech Column
Jun 13, 2022 · Backend Development

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

This article provides a comprehensive, step‑by‑step tutorial on Apollo—Ctrip's open‑source distributed configuration center—including its core concepts, features, four‑dimensional model, client design, high‑availability considerations, and detailed instructions for creating a Spring Boot demo project, configuring Maven and YAML files, writing controller and startup classes, setting JVM parameters, testing dynamic updates, exploring clusters and namespaces, and finally containerizing and deploying the application on Kubernetes.

Configuration ManagementJavaSpring Boot
0 likes · 24 min read
Practical Guide to Using Ctrip's Apollo Distributed Configuration Center with Spring Boot
Java Backend Technology
Java Backend Technology
Jun 11, 2022 · Information Security

How to Mask Sensitive Data in MySQL and Java with MyBatis‑Mate

This article demonstrates practical techniques for data masking, covering MySQL string functions for phone and ID masking, a Java library for various sensitive fields, and a MyBatis‑Mate extension that applies custom and built‑in masking strategies through annotations and REST endpoints.

JavaMyBatisSpring Boot
0 likes · 8 min read
How to Mask Sensitive Data in MySQL and Java with MyBatis‑Mate
Programmer DD
Programmer DD
Jun 9, 2022 · Backend Development

Mastering Spring Boot Multi‑DataSource Integration with MyBatis

This tutorial explains how to configure Spring Boot with a single DataSource, integrate MyBatis, and extend the setup to a dynamic multi‑DataSource using AbstractRoutingDataSource, custom annotations, and AOP, covering connection pool setup, property mapping, and transaction management.

Dynamic RoutingJavaMulti-DataSource
0 likes · 19 min read
Mastering Spring Boot Multi‑DataSource Integration with MyBatis
21CTO
21CTO
Jun 6, 2022 · Backend Development

How Meituan’s Leaf Service Generates High‑Performance Distributed IDs

This guide explains how the Leaf distributed ID service, built with Spring Boot, supports segment and Snowflake modes, details its configuration, deployment steps, code examples, and operational considerations for high‑throughput backend systems.

LeafSpring Bootdistributed-id
0 likes · 6 min read
How Meituan’s Leaf Service Generates High‑Performance Distributed IDs
Programmer DD
Programmer DD
Jun 3, 2022 · Backend Development

Spring Security OAuth EOL: Migrate to Spring Security 5.7 & Authorization Server

Spring Security OAuth has reached end‑of‑life, with its documentation removed and code moved to a read‑only Spring attic repository; this guide explains how to detect deprecated dependencies, replace them with Spring Security 5.7’s OAuth2 Client, Resource Server, and the new Spring Authorization Server, ensuring a smooth migration to modern, supported authentication solutions.

BackendJavaMigration
0 likes · 7 min read
Spring Security OAuth EOL: Migrate to Spring Security 5.7 & Authorization Server
IT Architects Alliance
IT Architects Alliance
Jun 3, 2022 · Backend Development

Open‑Source Distributed File System Based on Spring Boot and Vue CLI – Features and Technical Overview

This article introduces an open‑source distributed file system built with Spring Boot and Vue CLI, detailing its MIT licensing, UI layout, file operations, multiple upload methods, online preview and editing capabilities, storage options, and the underlying backend and frontend technologies.

Distributed File SystemFile ManagementSpring Boot
0 likes · 9 min read
Open‑Source Distributed File System Based on Spring Boot and Vue CLI – Features and Technical Overview
macrozheng
macrozheng
May 31, 2022 · Backend Development

Build a Simple Leave Approval Workflow with Flowable and Spring Boot

This tutorial walks through creating a basic leave‑approval process using the Flowable BPMN engine in a Spring Boot project, covering project setup, BPMN diagram design, XML definition, and Java code for deploying, visualizing, and handling task approvals and rejections.

BPMNFlowableJava
0 likes · 15 min read
Build a Simple Leave Approval Workflow with Flowable and Spring Boot
Programmer DD
Programmer DD
May 30, 2022 · Backend Development

Master Spring Boot Startup: From static blocks to @PostConstruct and Runner Interfaces

This article explains the various ways to execute code during a Spring Boot application's startup, comparing Java static blocks, constructors, @PostConstruct methods, and Spring's ApplicationRunner and CommandLineRunner interfaces, including ordering with @Order and providing sample code and execution results.

ApplicationRunnerBackend DevelopmentJava
0 likes · 5 min read
Master Spring Boot Startup: From static blocks to @PostConstruct and Runner Interfaces
macrozheng
macrozheng
May 30, 2022 · Information Security

Master Spring Security 5.7: Configure Without WebSecurityConfigurerAdapter

This guide walks you through upgrading to Spring Boot 2.7.0 and Spring Security 5.7.1, showing the deprecated WebSecurityConfigurerAdapter removal, the new SecurityFilterChain approach, and advanced dynamic permission techniques with complete code examples.

JavaSpring BootSpring Security
0 likes · 13 min read
Master Spring Security 5.7: Configure Without WebSecurityConfigurerAdapter
Top Architect
Top Architect
May 29, 2022 · Backend Development

Integrating Spring Data Elasticsearch with Spring Boot: Configuration, Entity, Repository, and Query Examples

This tutorial demonstrates how to set up Elasticsearch 7.6 with the IK analyzer in a Spring Boot 2.3 project, import the appropriate Spring Data Elasticsearch dependency, configure the client, define indexed entity classes, create repository interfaces, and implement REST controllers for CRUD, pagination, and highlighted search queries, complete with code examples and test results.

ElasticsearchJavaREST
0 likes · 9 min read
Integrating Spring Data Elasticsearch with Spring Boot: Configuration, Entity, Repository, and Query Examples
Top Architect
Top Architect
May 29, 2022 · Information Security

Step‑by‑Step Guide to Building a CAS‑Based Single Sign‑On (SSO) System with Server and Client Configuration

This article provides a comprehensive tutorial on implementing Single Sign‑On using the open‑source CAS solution, covering the concepts of SSO and CAS, required development environment, server‑side deployment, client integration with Spring Boot, configuration details, and a complete end‑to‑end testing workflow.

AuthenticationCASJava
0 likes · 9 min read
Step‑by‑Step Guide to Building a CAS‑Based Single Sign‑On (SSO) System with Server and Client Configuration
Programmer DD
Programmer DD
May 28, 2022 · Backend Development

How to Auto-Generate spring-configuration-metadata.json for Spring Boot Starters

This article explains the role of the spring.factories file in Spring Boot starters, shows its typical content, and demonstrates how to automatically generate the spring-configuration-metadata.json file by adding the configuration processor dependency and properly annotating configuration property classes.

Configuration MetadataJavaSpring Boot
0 likes · 5 min read
How to Auto-Generate spring-configuration-metadata.json for Spring Boot Starters
Code Ape Tech Column
Code Ape Tech Column
May 28, 2022 · Backend Development

New Features in Spring Boot 2.7.0

Spring Boot 2.7.0 introduces major enhancements such as a new @AutoConfiguration annotation, upgraded Flyway modules, H2 2.1 support, GraphQL starter, Podman integration, Cache2k auto‑configuration, and several deprecations and test annotation improvements, providing a comprehensive update for Java backend developers.

BackendCache2kFlyway
0 likes · 6 min read
New Features in Spring Boot 2.7.0
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 27, 2022 · Backend Development

Filtering RocketMQ Messages in Spring Boot: Tag vs SQL‑92 Techniques

This guide demonstrates how to integrate RocketMQ with Spring Boot, covering dependency setup, configuration, and two message‑filtering techniques—tag‑based and SQL‑92 expression filtering—complete with consumer and producer code examples, testing endpoints, and visual diagrams illustrating each approach.

JavaMessage FilteringSQL filtering
0 likes · 6 min read
Filtering RocketMQ Messages in Spring Boot: Tag vs SQL‑92 Techniques
Programmer DD
Programmer DD
May 27, 2022 · Information Security

What’s New in Spring Authorization Server 0.3.0? Key Features and Changes

Spring Authorization Server 0.3.0 has been officially released, bringing updated documentation, major feature changes such as token customizer relocation, removal of deprecated APIs, dependency upgrades to Spring Boot 2.7.0 and Spring Security 5.7.1, and new contributors, with detailed module overviews and changelog links.

OAuth2Release NotesSpring Authorization Server
0 likes · 5 min read
What’s New in Spring Authorization Server 0.3.0? Key Features and Changes
Selected Java Interview Questions
Selected Java Interview Questions
May 26, 2022 · Backend Development

Implementing Asynchronous Processing in Spring Boot: ThreadPool, @Async, and Message Queue Approaches

The article explains how to handle multi‑table updates in a Spring Boot backend by replacing synchronous single‑threaded execution with three asynchronous strategies—using a ThreadPoolExecutor, Spring's @EnableAsync/@Async annotations, and a message‑queue decoupling—to improve response time and system stability.

Spring BootThreadPool
0 likes · 7 min read
Implementing Asynchronous Processing in Spring Boot: ThreadPool, @Async, and Message Queue Approaches
Selected Java Interview Questions
Selected Java Interview Questions
May 25, 2022 · Backend Development

Spring Boot Best Practices: 16 Essential Guidelines for Backend Development

This article presents sixteen practical best‑practice recommendations for developing Spring Boot microservices, covering dependency management, auto‑configuration, project initialization, code organization, service design, database isolation, concurrency, configuration externalization, exception handling, logging, testing, and more, to help Java backend engineers build robust, maintainable applications.

Backend DevelopmentBest PracticesSpring Boot
0 likes · 12 min read
Spring Boot Best Practices: 16 Essential Guidelines for Backend Development
Programmer DD
Programmer DD
May 25, 2022 · Backend Development

Effortlessly Manage Spring Boot Config Files with mica-auto

This article introduces the mica-auto open‑source tool that uses Java annotation processing to automatically generate Spring Boot configuration files like spring.factories and AutoConfiguration.imports, and provides step‑by‑step instructions for integrating it into a Maven project.

Annotation ProcessorJavaSpring Boot
0 likes · 4 min read
Effortlessly Manage Spring Boot Config Files with mica-auto
IT Architects Alliance
IT Architects Alliance
May 24, 2022 · Backend Development

How to Ensure API Idempotency and Implement Distributed Rate Limiting in Java

This guide explains the principles of API idempotency using unique business IDs or token mechanisms, explores distributed rate‑limiting dimensions, compares token‑bucket and leaky‑bucket algorithms, and provides concrete implementations with Guava RateLimiter, Nginx configuration, and a Redis‑Lua script integrated into Spring Boot, including annotation‑based AOP for easy usage.

API idempotencyGuava RateLimiterRedis Lua
0 likes · 19 min read
How to Ensure API Idempotency and Implement Distributed Rate Limiting in Java
Java Architecture Diary
Java Architecture Diary
May 23, 2022 · Backend Development

Spring Boot’s spring.factories Is Deprecated – Switch to AutoConfiguration.imports

Spring Boot 2.7 marks the spring.factories auto‑configuration loading method as deprecated, and Spring Boot 3 will remove it entirely, prompting developers to adopt the new AutoConfiguration.imports mechanism, which supports configuration slicing, custom SPI extensions, and more elegant handling via tools like mica‑auto.

JavaSpring BootSpring Factories
0 likes · 4 min read
Spring Boot’s spring.factories Is Deprecated – Switch to AutoConfiguration.imports
Programmer DD
Programmer DD
May 22, 2022 · Backend Development

Top 16 Spring Boot Best Practices for Robust Microservices

This article shares sixteen practical Spring Boot best practices—from managing dependencies with custom BOMs and leveraging auto‑configuration to structuring code, handling exceptions, externalizing configuration, and testing—helping developers build maintainable, scalable Java microservices efficiently.

Backend DevelopmentBest PracticesJava
0 likes · 14 min read
Top 16 Spring Boot Best Practices for Robust Microservices
Programmer DD
Programmer DD
May 20, 2022 · Backend Development

New Features in Spring Boot 3.0.0‑M3, 2.7.0 and Recent Updates

The recent Spring Boot announcements introduce version 3.0.0‑M3 with Micrometer Observation support, restore REST Assured and JMS, while 2.7.0 adds GraphQL metrics, new test annotations, Podman Buildpack integration, Cache2k, simplified Jackson Mixins, PEM‑based SSL, and updates to core Spring projects, and 2.5.14/2.6.8 provide final bug‑fix releases.

Backend DevelopmentJavaRelease Notes
0 likes · 4 min read
New Features in Spring Boot 3.0.0‑M3, 2.7.0 and Recent Updates
Sanyou's Java Diary
Sanyou's Java Diary
May 19, 2022 · Backend Development

Mastering Spring: Core Concepts, Modules, Annotations & Advanced Features

This comprehensive guide walks through Spring’s fundamentals—including IoC, DI, core modules, common annotations, AOP concepts, transaction management, MVC workflow, and Spring Boot auto‑configuration—while also covering advanced topics such as bean lifecycle, circular dependencies, proxy mechanisms, and an introduction to Spring Cloud.

AOPIoCMVC
0 likes · 54 min read
Mastering Spring: Core Concepts, Modules, Annotations & Advanced Features
Code Ape Tech Column
Code Ape Tech Column
May 18, 2022 · Backend Development

Integrating Spring Boot with MyBatis and Multi‑DataSource (Dynamic DataSource) – A Complete Guide

This article explains how to integrate Spring Boot with MyBatis, configure a single Druid data source, implement multi‑data‑source support using Spring's AbstractRoutingDataSource, create a dynamic data source with ThreadLocal, and wire everything together with custom annotations, aspects, and transaction management for backend Java applications.

BackendMulti-DataSourceMyBatis
0 likes · 18 min read
Integrating Spring Boot with MyBatis and Multi‑DataSource (Dynamic DataSource) – A Complete Guide
Code Ape Tech Column
Code Ape Tech Column
May 16, 2022 · Information Security

Data Masking with Sharding-JDBC: Concepts, Configuration, and Custom Encryptors

This article explains how Sharding-JDBC can perform data masking at the persistence layer, detailing key concepts, configuration of data sources, encryptors, and tables, demonstrating practical examples with built‑in MD5 and AES encryptors, and showing how to implement custom encryptors and query‑assisted encryption for enhanced security.

Custom EncryptorSharding-JDBCSpring Boot
0 likes · 20 min read
Data Masking with Sharding-JDBC: Concepts, Configuration, and Custom Encryptors
Java Backend Technology
Java Backend Technology
May 14, 2022 · Backend Development

Boosting Massive Data Updates in Spring Boot: Manual Transactions, Multithreading, and UNION Batch Tricks

An in‑depth guide shows how to accelerate updating tens of thousands of MySQL rows in a Spring Boot‑MyBatis project by switching from automatic per‑record commits to manual transactions, applying multithreaded execution with CountDownLatch coordination, and using UNION‑based batch updates when native batch support is unavailable.

MyBatisSpring Boottransaction
0 likes · 14 min read
Boosting Massive Data Updates in Spring Boot: Manual Transactions, Multithreading, and UNION Batch Tricks
DataFunSummit
DataFunSummit
May 13, 2022 · Backend Development

Configuring Multiple Environments in Spring Boot

This guide explains how to set up separate configuration files for development, testing, and production in Spring Boot, modify them for each environment, and switch between environments using configuration properties, IDE settings, or command‑line arguments.

BackendJavaMulti-Environment
0 likes · 6 min read
Configuring Multiple Environments in Spring Boot
JD Tech
JD Tech
May 12, 2022 · Backend Development

Design and Implementation of a JSF Local Debugging Tool Using Redis Middleware

This article explains the background, design principles, architecture, serialization handling, asynchronous‑to‑synchronous conversion, trigger timing, ease of use, implementation details, and usage documentation of a lightweight, non‑intrusive JSF local debugging tool that leverages Redis publish/subscribe to enable seamless local integration testing for developers.

JSFSpring Bootmiddleware
0 likes · 15 min read
Design and Implementation of a JSF Local Debugging Tool Using Redis Middleware
Programmer DD
Programmer DD
May 12, 2022 · Backend Development

Build a Simple Hot Search Feature with Java, Redis, and Sensitive Word Filtering

This guide demonstrates how to implement a simple hot‑search feature and personal search‑history management using Java and Redis, covering ZSet‑based ranking, timestamp handling, and a DFA‑based sensitive‑word filter with Spring‑Boot configuration and reusable service methods.

Backend DevelopmentHot SearchJava
0 likes · 16 min read
Build a Simple Hot Search Feature with Java, Redis, and Sensitive Word Filtering
Sohu Tech Products
Sohu Tech Products
May 11, 2022 · Backend Development

Optimizing Large-Scale Database Updates with Manual Transactions and Multithreading in Spring Boot MyBatis

This article demonstrates how to efficiently update up to 50,000 MySQL records in a Spring Boot‑MyBatis application by comparing simple loops, manual transaction control, multithreaded execution with CountDownLatch coordination, and union‑based batch updates, while analyzing performance and connection‑pool considerations.

DatabaseMyBatisPerformance Optimization
0 likes · 14 min read
Optimizing Large-Scale Database Updates with Manual Transactions and Multithreading in Spring Boot MyBatis
Code Ape Tech Column
Code Ape Tech Column
May 11, 2022 · Backend Development

Implementing Two-Level Cache with Caffeine and Redis in Spring Boot

This article explains the design and implementation of a two‑level caching architecture using local Caffeine cache as L1 and remote Redis as L2 in Spring Boot, covering manual cache handling, annotation‑based management with Spring Cache, and a custom annotation with AOP to minimize code intrusion.

AOPCache AnnotationCaffeine
0 likes · 17 min read
Implementing Two-Level Cache with Caffeine and Redis in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
May 9, 2022 · Databases

Sharding-JDBC Advanced Guide: Configuration and Practical Implementation

This article provides a comprehensive guide to Sharding-JDBC, covering the challenges of database sharding such as distributed transactions, cross‑node joins, pagination, global key collisions, and demonstrates practical configuration and code examples for vertical and horizontal partitioning using Spring Boot.

Sharding-JDBCSpring Bootdatabase sharding
0 likes · 18 min read
Sharding-JDBC Advanced Guide: Configuration and Practical Implementation
IT Services Circle
IT Services Circle
May 8, 2022 · Backend Development

Integrating AJ-Captcha Behavioral Verification in Spring Boot Applications

This article introduces the AJ-Captcha library, explains its sliding‑puzzle and click‑based behavior verification types, and provides a step‑by‑step guide with Maven configuration, front‑end integration code, and Spring Boot backend verification to replace traditional graphic captchas.

AJ-CaptchaBehavioral CaptchaFront‑End Integration
0 likes · 9 min read
Integrating AJ-Captcha Behavioral Verification in Spring Boot Applications
Cognitive Technology Team
Cognitive Technology Team
May 7, 2022 · Fundamentals

Understanding Java Context ClassLoader and How It Breaks the Parent Delegation Model

This article explains why Java introduced the Context ClassLoader to bypass the parent‑delegation model, demonstrates its role in SPI mechanisms such as JDBC driver loading, compares class loader behavior in Spring Boot development versus packaged execution, and highlights common pitfalls when using custom class loaders.

ContextClassLoaderJavaSPI
0 likes · 8 min read
Understanding Java Context ClassLoader and How It Breaks the Parent Delegation Model
Java Architect Essentials
Java Architect Essentials
May 5, 2022 · Backend Development

YouLai Mall: Open‑Source Full‑Stack E‑Commerce Platform with Spring Boot, Vue and uni‑app

YouLai Mall is an open‑source full‑stack e‑commerce solution built with Spring Boot 2.4, Spring Cloud, Vue, element‑ui and uni‑app, offering microservice back‑ends, a management portal, WeChat mini‑program and mobile app, with detailed deployment instructions and source code links for rapid development.

DockerOpen-sourceSpring Boot
0 likes · 8 min read
YouLai Mall: Open‑Source Full‑Stack E‑Commerce Platform with Spring Boot, Vue and uni‑app
Java High-Performance Architecture
Java High-Performance Architecture
May 5, 2022 · Backend Development

Master FastMybatis: Zero‑Config CRUD for Spring Boot

This article introduces FastMybatis, a lightweight Java MyBatis extension that enables zero‑configuration CRUD operations across multiple databases, shows how to quickly set up a Spring Boot project with the starter, provides full code examples for entities, mappers, services, a comprehensive mapper method list, and demonstrates Query object usage for flexible data retrieval.

Backend DevelopmentCRUDFastMyBatis
0 likes · 10 min read
Master FastMybatis: Zero‑Config CRUD for Spring Boot
Programmer DD
Programmer DD
May 5, 2022 · Backend Development

Master Spring Retry: Using @Retryable for Elegant Failure Handling

This guide explains how Spring Boot’s @Retryable annotation enables elegant, annotation‑driven retry logic, covering dependency setup, enabling retry, method annotation with configurable parameters, recovery handling via @Recover, and important AOP‑related considerations to avoid common pitfalls.

AOPException HandlingJava
0 likes · 7 min read
Master Spring Retry: Using @Retryable for Elegant Failure Handling
Java Architect Essentials
Java Architect Essentials
May 4, 2022 · Backend Development

Implementing WeChat QR Code Login with Spring Boot and OAuth2

This article explains how to integrate WeChat QR code login using OAuth2.0 in a Spring Boot backend, covering the authorization flow, required configuration, Java code examples for obtaining the code and access token, user login handling, and AOP-based login verification.

OAuth2QR codeSpring Boot
0 likes · 13 min read
Implementing WeChat QR Code Login with Spring Boot and OAuth2
Java Architecture Diary
Java Architecture Diary
May 2, 2022 · Backend Development

How to Use ip2region in Spring Boot for Java IP Geolocation

This guide introduces ip2region, an offline IP geolocation library, and shows how to integrate its Java wrapper mica‑ip2region into Spring Boot, covering dependency setup, bean injection, search methods, IpInfo fields, and provides demo screenshots and related open‑source links.

IP geolocationJavaSpring Boot
0 likes · 5 min read
How to Use ip2region in Spring Boot for Java IP Geolocation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 1, 2022 · Backend Development

Real-Time Messaging with RabbitMQ and Spring Boot

This article demonstrates how to build a real‑time messaging system for a space‑station scenario using RabbitMQ and Spring Boot, covering configuration of direct and fanout exchanges, scheduling updates, one‑to‑one chat, and broadcast messaging with complete Java code examples.

Backend DevelopmentJavaRabbitMQ
0 likes · 14 min read
Real-Time Messaging with RabbitMQ and Spring Boot
Java Backend Technology
Java Backend Technology
Apr 30, 2022 · Backend Development

Master Asynchronous Execution in Spring Boot: @Async, CompletableFuture, WebAsyncTask & More

This article explores multiple ways to implement asynchronous processing in Spring Boot, covering @Async with @EnableAsync, CompletableFuture, DeferredResult, WebAsyncTask, AsyncHandlerInterceptor, as well as related server tweaks like increasing Tomcat connections, switching to Undertow, and using @ComponentScan for faster scanning.

AsyncHandlerInterceptorCompletableFutureDeferredResult
0 likes · 11 min read
Master Asynchronous Execution in Spring Boot: @Async, CompletableFuture, WebAsyncTask & More
Cognitive Technology Team
Cognitive Technology Team
Apr 29, 2022 · Backend Development

Spring Cloud Managed Thread Pools Are Automatically Wrapped with Trace Information to Preserve Context

This article explains how Spring Cloud automatically wraps container‑managed thread pool beans with tracing proxies to preserve distributed‑trace information, details the ExecutorBeanPostProcessor implementation, shows the relevant code for detecting and instrumenting executors, and notes when manual wrapping is required.

JavaSpring BootTracing
0 likes · 6 min read
Spring Cloud Managed Thread Pools Are Automatically Wrapped with Trace Information to Preserve Context
Java Architect Essentials
Java Architect Essentials
Apr 27, 2022 · Backend Development

Flash‑Waimai: Complete Spring Boot + Vue Food Delivery System Tutorial

This article introduces a full‑stack food‑delivery project built with Spring Boot, Vue.js, MySQL and MongoDB, detailing its architecture, module breakdown, technology choices, database setup, and step‑by‑step instructions for launching the backend API, admin portal, and mobile client, along with download links for data and images.

MongoDBMySQLSpring Boot
0 likes · 5 min read
Flash‑Waimai: Complete Spring Boot + Vue Food Delivery System Tutorial
IT Services Circle
IT Services Circle
Apr 26, 2022 · Databases

How to Install, Integrate, and Use Redis with Spring Boot

This article introduces Redis, explains how to install it on various platforms, demonstrates integrating Redis with Spring Boot using Spring Cache annotations, configures connection pools for Lettuce and Jedis, and provides custom Redis service implementations for flexible cache operations.

CachingDatabaseJava
0 likes · 14 min read
How to Install, Integrate, and Use Redis with Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Apr 21, 2022 · Backend Development

Encrypting Spring Boot Configuration with Jasypt and a Custom EnvironmentPostProcessor

This guide demonstrates how to secure Spring Boot configuration values by using Jasypt encryption and a custom EnvironmentPostProcessor with RSA, covering Maven dependencies, property setup, encrypted YAML syntax, utility classes, processor implementation, and registration via spring.factories.

EnvironmentPostProcessorJasyptRSA
0 likes · 9 min read
Encrypting Spring Boot Configuration with Jasypt and a Custom EnvironmentPostProcessor
Top Architect
Top Architect
Apr 19, 2022 · Backend Development

Implementing a Simple Hot Search Feature with User Search History and Sensitive Word Filtering Using Java and Redis

This article demonstrates how to build a simple hot‑search functionality with user search history, hot‑keyword ranking, and profanity filtering in a Spring Boot application using Java, Redis ZSet operations, and a DFA‑based sensitive‑word filter, providing complete controller and service code examples.

Backend DevelopmentHot SearchJava
0 likes · 17 min read
Implementing a Simple Hot Search Feature with User Search History and Sensitive Word Filtering Using Java and Redis
IT Xianyu
IT Xianyu
Apr 18, 2022 · Backend Development

Global Date and Time Conversion in Spring Boot 2.x: Custom Converters, Jackson Configuration, and Parameter Binding

This article explains how to globally handle LocalDate, LocalDateTime, and LocalTime parameters in Spring Boot 2.x by creating custom Converter beans, configuring Jackson's ObjectMapper, using @DateTimeFormat, ControllerAdvice, and understanding the underlying parameter resolution mechanisms to avoid common pitfalls such as lambda‑based converter registration failures.

BackendConverterJackson
0 likes · 16 min read
Global Date and Time Conversion in Spring Boot 2.x: Custom Converters, Jackson Configuration, and Parameter Binding
Top Architect
Top Architect
Apr 17, 2022 · Backend Development

Using the Strategy Pattern to Simplify Complex if‑else Logic in Order Processing with Java Spring Boot

This article demonstrates how to replace verbose if‑else statements in an order‑processing system with a clean Strategy Pattern implementation, using custom annotations, a handler context, and Spring Boot components, providing complete code examples and a concise summary of the approach.

Backend DevelopmentDesign PatternsJava
0 likes · 10 min read
Using the Strategy Pattern to Simplify Complex if‑else Logic in Order Processing with Java Spring Boot
Programmer DD
Programmer DD
Apr 17, 2022 · Backend Development

How to Throw Exceptions Elegantly in Spring Boot Using IntelliJ IDEA

This article explains why and how to deliberately throw exceptions during Spring Boot development to test transaction rollbacks and global error handling, comparing a manual approach with IntelliJ IDEA's built‑in "Throw Exception" debugging feature.

DebuggingException HandlingIntelliJ IDEA
0 likes · 5 min read
How to Throw Exceptions Elegantly in Spring Boot Using IntelliJ IDEA