Senior Xiao Ying
Author

Senior Xiao Ying

Dedicated to sharing Java backend technical experience and original tutorials, offering career transition advice and resume editing. Recognized as a rising star in CSDN's Java backend community and ranked Top 3 in the 2022 New Star Program for Java backend.

47
Articles
0
Likes
24
Views
0
Comments
Recent Articles

Latest from Senior Xiao Ying

47 recent articles
Senior Xiao Ying
Senior Xiao Ying
May 20, 2026 · Backend Development

Tired of N+1 Queries? Boost Your Spring Boot GraphQL Performance 40× with DataLoader

This article explains the N+1 query problem in a Spring Boot GraphQL service, demonstrates how DataLoader batches and caches requests to reduce database round‑trips, and provides step‑by‑step integration code, including dependency setup, schema definition, entity mapping, batch loader registration, and best‑practice recommendations.

Batch loadingDataLoaderGraphQL
0 likes · 8 min read
Tired of N+1 Queries? Boost Your Spring Boot GraphQL Performance 40× with DataLoader
Senior Xiao Ying
Senior Xiao Ying
May 8, 2026 · Backend Development

Spring Boot 4.0 with JDK 21 and Virtual Threads: Boosting Performance

Spring Boot 4.0 introduces a milestone upgrade that requires JDK 21, switches to jakarta.* packages, offers first‑class virtual‑thread support, a built‑in declarative HTTP client, native retry annotations, API versioning, and modular auto‑configuration, all aimed at higher cloud‑native performance.

Declarative HTTP ClientJDK 21Modular Auto-Configuration
0 likes · 11 min read
Spring Boot 4.0 with JDK 21 and Virtual Threads: Boosting Performance
Senior Xiao Ying
Senior Xiao Ying
Apr 30, 2026 · Backend Development

Stop Hardcoding Secrets: Secure Spring Boot Configurations with @SecretValue

This article explains why storing passwords and API keys in plain‑text configuration files is risky, outlines the three core principles of configuration security, and provides a step‑by‑step guide to using the @SecretValue annotation from the spring‑secret‑starter library to inject secrets safely from services such as AWS Secrets Manager.

@SecretValueAWS Secrets ManagerConfiguration Security
0 likes · 11 min read
Stop Hardcoding Secrets: Secure Spring Boot Configurations with @SecretValue
Senior Xiao Ying
Senior Xiao Ying
Apr 16, 2026 · Backend Development

Say Goodbye to Data Chaos: Using CloudEvents to Standardize Event Formats in Spring Boot

Spring Boot can adopt the CloudEvents specification to unify event payloads across microservices, eliminating format inconsistencies; the article explains the spec, shows structured and binary HTTP modes, provides Maven dependencies, configuration, and code examples for producers, consumers, and reactive handling with Spring Cloud Function.

CloudEventsEvent-Driven ArchitectureHTTP
0 likes · 12 min read
Say Goodbye to Data Chaos: Using CloudEvents to Standardize Event Formats in Spring Boot
Senior Xiao Ying
Senior Xiao Ying
Apr 7, 2026 · Backend Development

Dynamic JSON Filtering in Spring Boot using MappingJacksonValue

The article explains how Spring Boot’s MappingJacksonValue wrapper enables flexible JSON responses by allowing dynamic field selection, view‑based filtering with @JsonView, runtime filtering with @JsonFilter, and legacy JSONP support, while also noting its deprecation in newer Spring versions.

@JsonViewJSON filteringJSONP
0 likes · 11 min read
Dynamic JSON Filtering in Spring Boot using MappingJacksonValue
Senior Xiao Ying
Senior Xiao Ying
Apr 3, 2026 · Artificial Intelligence

Spring AI 1.1 GA: Quick Start Guide for Building Java AI Applications

This article introduces Spring AI, explains its purpose as a standardized Java framework for AI integration, highlights the new Model Context Protocol and expanded model support in version 1.1 GA, and provides a step‑by‑step tutorial—including dependencies, configuration, and code examples—to help developers quickly build AI‑powered applications.

AI integrationChatClientJava
0 likes · 7 min read
Spring AI 1.1 GA: Quick Start Guide for Building Java AI Applications
Senior Xiao Ying
Senior Xiao Ying
Apr 2, 2026 · Backend Development

Dynamic Spring Boot Controllers Without Restart: Register Endpoints at Runtime

This article explains why static controller definitions limit flexibility, then dives into Spring MVC’s RequestMappingHandlerMapping internals, showing how its public registerMapping method can be used to add or remove controller endpoints at runtime, with two concrete implementations—bean‑method registration and full ByteBuddy‑generated controllers—plus best‑practice notes.

ByteBuddyDynamic ControllerJava
0 likes · 13 min read
Dynamic Spring Boot Controllers Without Restart: Register Endpoints at Runtime
Senior Xiao Ying
Senior Xiao Ying
Apr 1, 2026 · Backend Development

Mastering the Chain of Responsibility in Spring Boot for Dynamic Workflow Orchestration

This article explains the Chain of Responsibility pattern, outlines its core components, demonstrates a complete Spring Boot order‑processing example with concrete handlers, and shares advanced techniques such as dynamic handler configuration and asynchronous processing, concluding with practical best‑practice tips.

Chain of ResponsibilityDynamic WorkflowJava
0 likes · 11 min read
Mastering the Chain of Responsibility in Spring Boot for Dynamic Workflow Orchestration
Senior Xiao Ying
Senior Xiao Ying
Mar 6, 2026 · Backend Development

5 Ways to Inject Spring Boot Implementations (Qualifier, Collections, Profile)

When a Spring Boot interface has several implementations, injecting the correct bean can cause NoUniqueBeanDefinitionException; this article explains five injection techniques—@Qualifier with constructor injection, @Primary, @Resource, collection or Map injection, and @Profile-based environment isolation—showing code examples, usage rules, and best‑practice recommendations.

@Primary@Profile@Qualifier
0 likes · 7 min read
5 Ways to Inject Spring Boot Implementations (Qualifier, Collections, Profile)