Tagged articles

Spring Boot

4358 articles · Page 31 of 44
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.

SQL MappingSpring Bootjava
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.

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

CompletableFutureSpring Bootasync
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 ExceptionSpring Boot
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.

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

Spring Bootauto-configurationdependency injection
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.

MicroservicesSpring Bootconfiguration management
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.

MyBatisSQLSpring 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 RoutingMulti-DataSourceMyBatis
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.

MigrationOAuth2Spring Boot
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 SystemOpen SourceSpring 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.

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

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

Spring Bootjavaspring 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.

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

CASMavenSSO
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 MetadataSpring Bootauto generation
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.

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

Message FilteringRocketMQSQL 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.

OAuth2OpenID ConnectSpring 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.

ConfigurationMicroservicesSpring 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 ProcessorAutoConfigurationSpring 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 idempotencyDistributed Rate LimitingGuava RateLimiter
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.

Spring Bootauto-configurationconfiguration slicing
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.

Spring Bootbackend developmentbest practices
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.

Spring Bootbackend developmentjava
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.

Multi-DataSourceMyBatisSpring Boot
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 EncryptorDatabase SecuritySharding-JDBC
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.

ConfigurationMulti-EnvironmentSpring Boot
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.

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

RedisSensitive Word FilterSpring Boot
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.

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

Horizontal PartitioningSharding-JDBCSpring Boot
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.

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

DockerMicroservicesOpen-source
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.

CRUDFastMyBatisMyBatis
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 HandlingRetryable
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.

LoginOAuth2QR code
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 GeolocationSpring Bootip2region
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.

Real-time messagingSpring Bootbackend development
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.

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

Spring BootSpring CloudThread Pool
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.

Food DeliveryFull-StackMongoDB
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.

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

RedisSensitive Word FilterSpring Boot
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.

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

Design PatternsSpring BootStrategy Pattern
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
Java Captain
Java Captain
Apr 17, 2022 · Backend Development

Kindergarten Management System – Overview, Tech Stack, Deployment Guide, and Backend Controller Code

The article presents a kindergarten management system featuring three user roles, outlines its Spring Boot and Thymeleaf technology stack, details required runtime and database environments, provides step‑by‑step deployment instructions, and includes complete backend controller source code for user, teacher, student, and school management functionalities.

MySQLREST APISpring Boot
0 likes · 19 min read
Kindergarten Management System – Overview, Tech Stack, Deployment Guide, and Backend Controller Code
Selected Java Interview Questions
Selected Java Interview Questions
Apr 16, 2022 · Backend Development

Implementing a Global Unified Exception Handler in Spring Boot

This article demonstrates how to create a reusable global exception handling mechanism for Spring Boot applications by defining a unified response class, custom business exception, error enumeration, and a @RestControllerAdvice handler, complete with code examples and testing guidance.

Exception HandlingGlobal ExceptionREST
0 likes · 6 min read
Implementing a Global Unified Exception Handler in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Apr 16, 2022 · Backend Development

Design and Implementation of a Custom RPC Framework with Spring Boot and Netty

This article presents a comprehensive overview of designing and implementing a custom RPC framework using Spring Boot and Netty, covering concepts, architecture, service registration with Zookeeper, load balancing, custom message protocol, serialization, handling TCP fragmentation, and various client invocation modes.

Load BalancingNettyRPC
0 likes · 14 min read
Design and Implementation of a Custom RPC Framework with Spring Boot and Netty
Top Architect
Top Architect
Apr 15, 2022 · Backend Development

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

This article explains how to globally configure date and time handling in Spring Boot 2.x, covering custom Converter beans for LocalDate, LocalDateTime, and LocalTime, Jackson JSON serialization settings, @InitBinder usage, and common pitfalls such as lambda expressions and parameter binding.

Custom ConverterDate ConversionJackson
0 likes · 18 min read
Global Date and Time Conversion in Spring Boot: Custom Converters, Jackson Configuration, and Parameter Binding
Java High-Performance Architecture
Java High-Performance Architecture
Apr 15, 2022 · Backend Development

Mastering Global Exception Handling in Spring Boot

This guide explains why excessive try‑catch blocks hurt Spring Boot projects, introduces a unified response class, custom business exception, error enumeration, and a global @RestControllerAdvice handler, providing clean, reusable error handling with sample code and test usage.

Exception HandlingSpring Bootbackend development
0 likes · 7 min read
Mastering Global Exception Handling in Spring Boot
Java High-Performance Architecture
Java High-Performance Architecture
Apr 13, 2022 · Backend Development

Mastering Asynchronous Execution in Spring Boot: From @Async to CompletableFuture

This article explains multiple ways to implement asynchronous processing in Spring Boot, covering @Async annotation, CompletableFuture, supplyAsync, runAsync, WebAsyncTask, DeferredResult, custom interceptors, and server configuration tweaks such as Tomcat connection limits and switching to Undertow.

AsynchronousCompletableFutureSpring Boot
0 likes · 11 min read
Mastering Asynchronous Execution in Spring Boot: From @Async to CompletableFuture
macrozheng
macrozheng
Apr 12, 2022 · Backend Development

Mastering Spring Retry: How @Retryable Simplifies Robust Backend Calls

This article explains how Spring Boot's spring-retry module and the @Retryable annotation enable clean, annotation‑driven retry logic for common failure scenarios, covering configuration, code examples, recovery handling with @Recover, and important usage precautions.

RetryableSpring Bootannotations
0 likes · 7 min read
Mastering Spring Retry: How @Retryable Simplifies Robust Backend Calls
Code Ape Tech Column
Code Ape Tech Column
Apr 12, 2022 · Backend Development

Using Spring Retry @Retryable for Automatic Retry in Spring Boot Applications

This article introduces Spring Retry's @Retryable annotation, explains its purpose, shows how to add the Maven dependency, enable retry support, annotate methods with retry settings, handle failures with @Recover, and outlines important considerations for reliable retry mechanisms in Java backend development.

RetryableSpring Bootbackend
0 likes · 7 min read
Using Spring Retry @Retryable for Automatic Retry in Spring Boot Applications
Top Architect
Top Architect
Apr 10, 2022 · Backend Development

Spring Boot Best Practices: 16 Essential Tips for Building Robust Microservices

This article presents sixteen practical Spring Boot best‑practice recommendations—including custom BOM management, auto‑configuration, project initialization with Spring Initializr, clean controller design, service layering, database isolation, constructor injection, logging, testing, and configuration externalization—to help developers build maintainable, high‑quality microservices efficiently.

ConfigurationMicroservicesSpring Boot
0 likes · 13 min read
Spring Boot Best Practices: 16 Essential Tips for Building Robust Microservices
Java High-Performance Architecture
Java High-Performance Architecture
Apr 8, 2022 · Backend Development

Mastering Asynchronous Execution in Spring Boot: An In‑Depth Guide

This article explains how to implement asynchronous processing in Spring Boot using @Async annotations, JDK 8 CompletableFuture, Callable, WebAsyncTask, DeferredResult, and AsyncHandlerInterceptor, providing detailed code examples and configuration tips to improve performance and scalability of backend services.

AsynchronousCompletableFutureSpring Boot
0 likes · 10 min read
Mastering Asynchronous Execution in Spring Boot: An In‑Depth Guide
Java Captain
Java Captain
Apr 6, 2022 · Backend Development

Understanding Spring Boot Auto‑Configuration and Bean Definition Mechanisms

This article provides a comprehensive tutorial on Spring Boot's auto‑configuration process, covering bean injection styles, XML and JavaConfig configurations, BeanDefinition internals, autowire modes, constructor argument handling, custom BeanFactoryPostProcessor usage, @Import mechanisms, and the inner workings of Spring Boot's EnableAutoConfiguration and its loading of META‑INF/spring.factories.

Bean DefinitionSpring Bootauto-configuration
0 likes · 28 min read
Understanding Spring Boot Auto‑Configuration and Bean Definition Mechanisms
Java Backend Technology
Java Backend Technology
Apr 4, 2022 · Backend Development

Top 16 Spring Boot Best Practices for Robust Microservices

This article presents sixteen essential Spring Boot best practices—from managing dependencies with a custom BOM and leveraging auto‑configuration, to structuring packages, using constructor injection, handling concurrency, externalizing configuration, and comprehensive testing—helping developers build maintainable, high‑performance Java microservices.

MicroservicesSpring Bootbackend development
0 likes · 13 min read
Top 16 Spring Boot Best Practices for Robust Microservices
Programmer DD
Programmer DD
Apr 3, 2022 · Backend Development

What Java Developers Want in 2022: Migration to Java 17 and Emerging Trends

JRebel’s 2022 Java Developer Productivity Report, based on 876 global responses, reveals that 62% plan to upgrade to the latest LTS version within a year, highlights microservice dominance, preferred tools like Spring Boot and Docker, and shows how company size influences Java 17 adoption.

DockerLTSSpring Boot
0 likes · 6 min read
What Java Developers Want in 2022: Migration to Java 17 and Emerging Trends