Tagged articles

Spring Boot

4358 articles · Page 24 of 44
Architect
Architect
Oct 24, 2023 · Information Security

How to Secure Spring Boot APIs with RSA Encryption: A Step‑by‑Step Guide

This article walks through the theory behind RSA, illustrates two battlefield‑style scenarios for encryption and signing, and then shows how to integrate RSA‑based request/response encryption into a Spring Boot application using Maven, annotations, configuration files, and a JavaScript front‑end, complete with code snippets and troubleshooting tips.

API EncryptionBackend SecurityRSA
0 likes · 12 min read
How to Secure Spring Boot APIs with RSA Encryption: A Step‑by‑Step Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 21, 2023 · Backend Development

Comprehensive Spring Boot Tutorial: Configuration, Logging, MVC, Data Access, Docker, and Custom Starters

This tutorial provides an in‑depth guide to Spring Boot covering core concepts such as project setup, configuration files, logging frameworks, MVC architecture, CRUD examples, error handling, embedded servlet containers, Docker integration, JDBC/MyBatis/JPA data access, startup process, and how to create custom starter modules.

ConfigurationDockerJPA
0 likes · 47 min read
Comprehensive Spring Boot Tutorial: Configuration, Logging, MVC, Data Access, Docker, and Custom Starters
Selected Java Interview Questions
Selected Java Interview Questions
Oct 20, 2023 · Backend Development

Using @ConfigurationProperties and @PropertySources in Spring Boot

This article explains the purpose and differences of Spring's @ConfigurationProperties and @PropertySources annotations, provides step‑by‑step guidance for creating POJOs, configuration classes, property files, and demonstrates how to bind and inject configuration values in a Spring Boot application with code examples.

ConfigurationPropertiesPropertySourcesSpring Boot
0 likes · 12 min read
Using @ConfigurationProperties and @PropertySources in Spring Boot
Java Architecture Diary
Java Architecture Diary
Oct 20, 2023 · Backend Development

Boost Spring Boot Development with mica-auto: Auto-Generate Starter Configurations

mica-auto is a Spring Boot starter tool that uses annotation processing to automatically generate configuration files such as spring.factories, AutoConfiguration.imports, and spring-devtools.properties, supporting Kotlin meta‑annotations and Java SPI, with Maven and Gradle integration instructions and version compatibility details.

Annotation ProcessorConfigurationGradle
0 likes · 3 min read
Boost Spring Boot Development with mica-auto: Auto-Generate Starter Configurations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 20, 2023 · Backend Development

Mastering Asynchronous APIs in Spring Boot 2.7: Boost Concurrency and Performance

This guide explains why asynchronous request interfaces are essential for high‑concurrency Spring Boot applications, outlines their advantages and typical use cases, and provides step‑by‑step code examples for DeferredResult, Callable, ResponseBodyEmitter, StreamingResponseBody, and reactive Mono implementations.

Asynchronous APIReactive MonoSpring Boot
0 likes · 13 min read
Mastering Asynchronous APIs in Spring Boot 2.7: Boost Concurrency and Performance
Selected Java Interview Questions
Selected Java Interview Questions
Oct 18, 2023 · Backend Development

Understanding Core Spring Boot Annotations: @SpringBootApplication, @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan

This article explains the core Spring Boot annotations—@SpringBootApplication, @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan—detailing their combined functionalities, usage patterns, and providing Java code examples to illustrate how they simplify application configuration and startup for developers.

ConfigurationSpring Bootannotations
0 likes · 7 min read
Understanding Core Spring Boot Annotations: @SpringBootApplication, @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan
Java High-Performance Architecture
Java High-Performance Architecture
Oct 17, 2023 · Information Security

Secure Your Spring Boot APIs with RSA: A Hands‑On Encryption & Decryption Guide

This article walks you through implementing RSA‑based encryption and digital signatures in a Spring Boot application, covering the theory of asymmetric cryptography, practical code snippets for Maven, configuration, controller annotations, and a JavaScript client that encrypts requests and verifies responses to protect API data from eavesdropping and tampering.

API EncryptionBackend SecurityRSA
0 likes · 11 min read
Secure Your Spring Boot APIs with RSA: A Hands‑On Encryption & Decryption Guide
Sanyou's Java Diary
Sanyou's Java Diary
Oct 16, 2023 · Backend Development

Unveiling the Core Mechanics of Spring Cloud Config Center

This article dissects how Spring Cloud Config Center integrates with Spring Boot, detailing the startup phases, the prepareEnvironment logic, the bootstrap container that fetches remote configurations, and the @RefreshScope mechanism that enables dynamic property refreshes.

BootstrapConfig CenterNacos
0 likes · 15 min read
Unveiling the Core Mechanics of Spring Cloud Config Center
Top Architect
Top Architect
Oct 16, 2023 · Information Security

RSA Encryption and Decryption in Spring Boot – A Practical Guide

This article explains the principles of RSA asymmetric encryption, illustrates two communication scenarios, and provides a step‑by‑step Spring Boot implementation with Maven dependencies, configuration, annotations, and front‑end JavaScript code to encrypt API requests and decrypt responses, helping developers secure their APIs.

API securityDecryptionRSA
0 likes · 12 min read
RSA Encryption and Decryption in Spring Boot – A Practical Guide
Shepherd Advanced Notes
Shepherd Advanced Notes
Oct 16, 2023 · Backend Development

How to Elegantly Implement Dynamic, Configurable, High‑Performance Data Desensitization in Spring Boot

The article explains why user privacy data must be masked, then walks through a Spring Boot solution that uses custom annotations, an aspect‑oriented filter, a contextual serializer and a flexible rule engine stored in Redis to achieve dynamic, high‑performance data desensitization without polluting business logic.

Custom AnnotationDynamic ConfigurationJackson
0 likes · 18 min read
How to Elegantly Implement Dynamic, Configurable, High‑Performance Data Desensitization in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Oct 14, 2023 · Backend Development

Implementing Sign‑In and Statistics with Redis BitMap in Spring Boot

This article explains how to use Redis BitMap to build a memory‑efficient sign‑in feature and continuous‑sign‑in statistics in a Spring Boot microservice, covering basic BitMap commands, key design, core Java code, testing steps, and a bitmap‑based solution for cache‑penetration protection.

BitmapSpring Bootbackend
0 likes · 10 min read
Implementing Sign‑In and Statistics with Redis BitMap in Spring Boot
Java High-Performance Architecture
Java High-Performance Architecture
Oct 14, 2023 · Backend Development

Spring Boot Startup Explained: From Main Method to Tomcat Launch

This article walks through the complete Spring Boot startup sequence, starting with the SpringApplication.run entry point, detailing the preparation, application context creation, and refresh phases, and shows how the embedded Tomcat server is instantiated and started, illustrated with code snippets and diagrams.

Embedded TomcatSpring BootStartup Process
0 likes · 11 min read
Spring Boot Startup Explained: From Main Method to Tomcat Launch
Architecture Digest
Architecture Digest
Oct 13, 2023 · Backend Development

Graceful Shutdown of Spring Boot Applications: Avoiding kill -9 and Using Actuator, Custom Configurations, and PreDestroy

This article explains why using kill -9 to terminate Linux processes can cause data loss, demonstrates how to gracefully stop Spring Boot services with kill -15, the Actuator shutdown endpoint, and custom shutdown configurations, and shows how to add pre‑destroy hooks for backup tasks.

ActuatorLinuxPreDestroy
0 likes · 19 min read
Graceful Shutdown of Spring Boot Applications: Avoiding kill -9 and Using Actuator, Custom Configurations, and PreDestroy
Architecture Digest
Architecture Digest
Oct 12, 2023 · Backend Development

Why You Should Stop Using Field Injection in Spring Boot

The article explains the drawbacks of field injection in Spring Boot—such as poor testability, loss of immutability, tighter framework coupling, risk of NullPointerExceptions, and hidden circular dependencies—and demonstrates how constructor injection provides a cleaner, more maintainable alternative with clear code examples.

Constructor InjectionField InjectionSpring Boot
0 likes · 7 min read
Why You Should Stop Using Field Injection in Spring Boot
Shepherd Advanced Notes
Shepherd Advanced Notes
Oct 12, 2023 · Backend Development

Using Zookeeper for Middleware: Implementing Distributed Locks and Service Registry in Spring Boot

This article explains Zookeeper's role as an open‑source distributed coordination service, covering its observer‑pattern design, data model, installation (single‑node and cluster), leader election, watcher mechanism, and demonstrates how to integrate Zookeeper as a service registry and distributed lock in Spring Boot using Curator, complete with code examples.

Leader ElectionSpring BootWatcher
0 likes · 25 min read
Using Zookeeper for Middleware: Implementing Distributed Locks and Service Registry in Spring Boot
Top Architect
Top Architect
Oct 11, 2023 · Backend Development

Netty TCP Client Demo with Spring Boot: Architecture, Implementation, and Testing

This article presents a complete Netty TCP client demo built with Spring Boot, detailing the project architecture, module layout, business flow, key code implementations—including a local BlockingQueue, message processing with Redis locks, client initialization, handler logic, and testing endpoints—providing a practical reference for backend developers.

Message QueueNettySpring Boot
0 likes · 21 min read
Netty TCP Client Demo with Spring Boot: Architecture, Implementation, and Testing
Programmer DD
Programmer DD
Oct 11, 2023 · Backend Development

How to Set a Custom Sender Alias in Spring Boot Email

This guide explains why Spring Boot emails may show the default no‑reply address instead of a custom product name and demonstrates how to configure the sender alias using SimpleMailMessage or MimeMessage with code examples.

Email AliasJava MailMailSender
0 likes · 4 min read
How to Set a Custom Sender Alias in Spring Boot Email
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 11, 2023 · Backend Development

Does Spring Boot’s connectionTimeout Affect Request Time? The Surprising Truth

This article demonstrates how Spring Boot’s connectionTimeout setting influences server‑client connections, using three experiments—controller sleep, HttpURLConnection requests, and raw socket communication—to reveal that the timeout only terminates idle client connections, not the duration of request processing.

HTTPSocketSpring Boot
0 likes · 4 min read
Does Spring Boot’s connectionTimeout Affect Request Time? The Surprising Truth
macrozheng
macrozheng
Oct 10, 2023 · Backend Development

Master Spring Boot Startup Parameters: Tips, Options, and Best Practices

Learn how to launch Spring Boot applications with custom JVM and Spring options, understand common parameters like server port, profiles, and property overrides, explore code examples for retrieving values, and grasp the loading order and priority of configuration sources.

ConfigurationSpring BootStartup Parameters
0 likes · 8 min read
Master Spring Boot Startup Parameters: Tips, Options, and Best Practices
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 10, 2023 · Backend Development

Master Elasticsearch with Spring Boot: 14 Essential Java API Operations

Learn how to integrate Elasticsearch 7.8 with Spring Boot 2.4, covering essential dependencies, index management, document CRUD, bulk operations, and advanced queries such as pagination, sorting, filtering, highlighting, aggregations, and grouping, all demonstrated with concise Java High-Level REST client code examples.

ElasticsearchREST APISpring Boot
0 likes · 14 min read
Master Elasticsearch with Spring Boot: 14 Essential Java API Operations
Architect
Architect
Oct 9, 2023 · Backend Development

Netty TCP Long‑Connection Demo with Spring Boot, Redis, and Message‑Queue Simulation

This article presents a complete Netty TCP long‑connection demo built with Spring Boot 2.2.0 and Redis, explains the project architecture, module layout, business flow using a local BlockingQueue instead of RocketMQ, and provides detailed source code for the queue holder, processing logic, client implementation, handler, and test controllers.

NettySpring BootTCP
0 likes · 17 min read
Netty TCP Long‑Connection Demo with Spring Boot, Redis, and Message‑Queue Simulation
Top Architect
Top Architect
Oct 9, 2023 · Backend Development

Key Features of Spring Boot: Auto-Configuration, Starters, Embedded Server, Externalized Config, Actuator, DevTools, Testing, Ecosystem, Performance Optimization, and Continuous Learning

This article introduces Spring Boot’s core “magic” features—including auto‑configuration, starter dependencies, embedded servers, externalized configuration, Actuator, DevTools, testing support, ecosystem components, performance tips, and continuous learning—providing a comprehensive guide for building efficient Java backend applications.

Spring BootStarter Dependenciesauto-configuration
0 likes · 10 min read
Key Features of Spring Boot: Auto-Configuration, Starters, Embedded Server, Externalized Config, Actuator, DevTools, Testing, Ecosystem, Performance Optimization, and Continuous Learning
Java Backend Technology
Java Backend Technology
Oct 9, 2023 · Backend Development

How to Merge Requests in Spring Boot to Reduce DB Load and Boost Performance

This article explains how to combine multiple user queries into a single database request using a queue, ScheduledThreadPoolExecutor, and CompletableFuture in Spring Boot, demonstrating code implementations, handling Java 8 CompletableFuture timeout limitations, and showing performance gains through request merging under high concurrency.

Batch ProcessingSpring Bootconcurrency
0 likes · 15 min read
How to Merge Requests in Spring Boot to Reduce DB Load and Boost Performance
Su San Talks Tech
Su San Talks Tech
Oct 9, 2023 · Backend Development

Why Did My Spring Cloud Gateway Crash? Uncovering Inode Exhaustion and the Fix

After a sudden 500 error crippled an online service, the author traced the issue to Spring Cloud Gateway’s HttpMessageReader creating temporary directories for every request, eventually exhausting inode space; the article explains the root cause, inode basics, and how upgrading to version 5.2.16 resolves the problem.

HttpMessageReaderSpring BootSpring Cloud Gateway
0 likes · 8 min read
Why Did My Spring Cloud Gateway Crash? Uncovering Inode Exhaustion and the Fix
Top Architect
Top Architect
Oct 7, 2023 · Backend Development

Why Field Injection Should Be Avoided in Spring Boot: Benefits of Constructor Injection

This article explains why field injection in Spring Boot should be avoided, highlighting its drawbacks such as poor testability, mutability, tight coupling, risk of null‑pointer exceptions, and circular dependencies, and demonstrates how constructor injection offers a cleaner, more maintainable alternative with code examples.

Constructor InjectionField InjectionSpring Boot
0 likes · 9 min read
Why Field Injection Should Be Avoided in Spring Boot: Benefits of Constructor Injection
macrozheng
macrozheng
Oct 7, 2023 · Databases

Deploy Apache Ignite and Compare Its Performance with MySQL

This guide walks through installing Apache Ignite via Docker, configuring it alongside MySQL in a Spring Boot project, setting up data sources and MyBatis, and performing benchmark tests to illustrate Ignite’s superior in‑memory SQL performance compared to traditional MySQL setups.

Apache IgniteDockerIn-Memory Database
0 likes · 11 min read
Deploy Apache Ignite and Compare Its Performance with MySQL
Architect's Guide
Architect's Guide
Oct 7, 2023 · Backend Development

Implementing Fuzzy Search on Encrypted Sensitive Fields in a Spring Boot Backend

This article explains how to enable fuzzy searches on encrypted sensitive fields such as names, phone numbers, and ID numbers in a Spring Boot backend by using a tokenized ciphertext mapping table, outlining four possible solutions, recommending the tokenized approach, and providing complete configuration and code examples.

Fuzzy SearchMySQLSpring Boot
0 likes · 11 min read
Implementing Fuzzy Search on Encrypted Sensitive Fields in a Spring Boot Backend
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 7, 2023 · Information Security

Secure API Responses with Data Masking, Encryption, and Jackson Annotations

This article explains practical methods to protect sensitive API data in Spring Boot applications, covering encryption, masking, access control, logging, HTTPS, and database security, and demonstrates three implementation approaches: SQL‑level masking, field‑level encryption, and custom Jackson serialization using annotations and a contextual serializer.

API securityJacksonSpring Boot
0 likes · 8 min read
Secure API Responses with Data Masking, Encryption, and Jackson Annotations
Selected Java Interview Questions
Selected Java Interview Questions
Oct 6, 2023 · Backend Development

Building Microservices with Spring Cloud: Concepts, Core Components, and a Step‑by‑Step Implementation Guide

This article explains the fundamentals of microservice architecture, introduces Spring Cloud and its core components, and provides a step‑by‑step tutorial for building a distributed e‑commerce system using Spring Boot, Eureka, Ribbon, Feign, and related Spring Cloud features.

EurekaMicroservicesSpring Boot
0 likes · 11 min read
Building Microservices with Spring Cloud: Concepts, Core Components, and a Step‑by‑Step Implementation Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 6, 2023 · Backend Development

Secure Your Spring Boot Data with MyBatis Custom TypeHandler Encryption

This tutorial demonstrates how to integrate a custom MyBatis TypeHandler in a Spring Boot 2.6.12 application to automatically encrypt sensitive fields before persisting them to MySQL and decrypt them on retrieval, covering dependencies, configuration, entity definition, encryption utilities, mapper XML, and test cases.

Custom TypeHandlerJPAMyBatis
0 likes · 10 min read
Secure Your Spring Boot Data with MyBatis Custom TypeHandler Encryption
Java Architect Essentials
Java Architect Essentials
Oct 5, 2023 · Backend Development

Understanding and Implementing AOP in Spring Boot: Concepts, Annotations, and Practical Examples

This article explains the fundamentals of Aspect‑Oriented Programming (AOP) in Spring, describes key concepts such as pointcuts, advice, aspects, and weaving, and provides step‑by‑step code examples—including simple and advanced use cases and detailed annotation usage—to help developers integrate AOP effectively into their Spring Boot applications.

AOPSpring AOPSpring Boot
0 likes · 17 min read
Understanding and Implementing AOP in Spring Boot: Concepts, Annotations, and Practical Examples
Selected Java Interview Questions
Selected Java Interview Questions
Oct 4, 2023 · Backend Development

Implementing Captcha‑Based Login in a Frontend‑Backend Separated Spring Boot Application

This article demonstrates how to implement a captcha‑based login mechanism in a Spring Boot application with a front‑end/back‑end separation, detailing the traditional session‑based approach, the new Redis‑backed token solution, and providing complete code examples for configuration, service, controller, and data objects.

RedisSpring Bootbackend
0 likes · 12 min read
Implementing Captcha‑Based Login in a Frontend‑Backend Separated Spring Boot Application
Su San Talks Tech
Su San Talks Tech
Oct 4, 2023 · Backend Development

Master Swagger: Build, Customize, and Secure Your Spring Boot API Docs

This guide explains what Swagger is, why it’s useful for RESTful APIs, and provides step‑by‑step instructions for integrating Swagger 3.0 with Spring Boot 2.7, handling version conflicts, customizing documentation, adding security, and using annotations to enrich API metadata.

API documentationSpring BootSwagger
0 likes · 22 min read
Master Swagger: Build, Customize, and Secure Your Spring Boot API Docs
Selected Java Interview Questions
Selected Java Interview Questions
Oct 3, 2023 · Backend Development

Spring Boot Best Practices for Developers

This article presents a comprehensive set of Spring Boot best practices for developers, covering proper package structuring, design patterns, starter dependencies, production-ready versions, Lombok usage, constructor injection, slf4j logging, controller responsibilities, service layer logic, null‑pointer avoidance, collection handling, pagination, caching, custom exception and response handling, code cleanup, meaningful naming, case conventions, simplicity, formatting standards, and tooling such as SonarLint.

LombokSpring Bootbackend development
0 likes · 17 min read
Spring Boot Best Practices for Developers
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 2, 2023 · Backend Development

Mastering Rate Limiting in Spring Boot: Token Bucket, Leaky Bucket, and Counter Techniques

An in‑depth guide explains three rate‑limiting algorithms—counter, leaky bucket, and token bucket—demonstrates their implementation in Spring Boot using Guava’s RateLimiter and Baidu’s ratelimiter‑spring‑boot‑starter, provides full Maven dependencies, configuration snippets, and Java code examples, and shows testing results.

GuavaSpring Bootbackend development
0 likes · 8 min read
Mastering Rate Limiting in Spring Boot: Token Bucket, Leaky Bucket, and Counter Techniques
Java Architect Essentials
Java Architect Essentials
Oct 2, 2023 · Backend Development

Standardizing the Controller Layer: Parameter Validation, Unified Response, and Exception Handling in Spring Boot

This article explains how to structure a Spring Boot controller by describing the four parts of a request, demonstrating elegant parameter validation, implementing a unified response wrapper with status codes, and handling both validation and business exceptions through centralized advice and custom exception classes.

ControllerException HandlingSpring Boot
0 likes · 22 min read
Standardizing the Controller Layer: Parameter Validation, Unified Response, and Exception Handling in Spring Boot
Architect
Architect
Oct 1, 2023 · Backend Development

Batch Request Merging in Spring Boot to Reduce Database Connections

This article demonstrates how to merge multiple user‑info requests on the server side using a blocking queue, ScheduledThreadPoolExecutor, and CompletableFuture in Spring Boot, thereby consolidating SQL queries into a single batch call to save database connection resources while handling high concurrency.

Batch ProcessingCompletableFutureJava concurrency
0 likes · 13 min read
Batch Request Merging in Spring Boot to Reduce Database Connections
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 30, 2023 · Backend Development

Mastering RabbitMQ Delayed and Priority Queues with Spring Boot

This guide explains how to implement delayed and priority queues in RabbitMQ 3.8 using Spring Boot 2.6, covering dead‑letter exchange configuration, message expiration, priority settings, code examples for sending and consuming messages, and practical considerations such as priority limits and ordering behavior.

Delayed QueueMessage QueueSpring Boot
0 likes · 8 min read
Mastering RabbitMQ Delayed and Priority Queues with Spring Boot
Su San Talks Tech
Su San Talks Tech
Sep 29, 2023 · Backend Development

Unify Spring Boot API Responses and Streamline Exception Handling

This article explains how to standardize API return formats with a generic Result object, define error codes and custom exceptions, implement a global exception handler, use ResponseBodyAdvice for automatic response wrapping, and package these utilities into a reusable Spring Boot starter for cleaner backend code.

Global ExceptionResponseBodyAdviceResult Wrapper
0 likes · 14 min read
Unify Spring Boot API Responses and Streamline Exception Handling
Top Architect
Top Architect
Sep 28, 2023 · Backend Development

Key Changes in Spring Boot 3.0.0 M1: Java 17 Baseline, Jakarta EE Migration, and Dependency Updates

Spring Boot 3.0.0 M1 introduces a Java 17 baseline, requires migration of all Java EE APIs to Jakarta EE, removes support for several third‑party libraries, updates numerous Spring project dependencies, and outlines the upcoming release cadence, while also highlighting community resources and promotional offers.

Jakarta EEJava 17Spring Boot
0 likes · 7 min read
Key Changes in Spring Boot 3.0.0 M1: Java 17 Baseline, Jakarta EE Migration, and Dependency Updates
Java High-Performance Architecture
Java High-Performance Architecture
Sep 28, 2023 · Databases

How to Use Debezium for MySQL CDC in Spring Boot Without Adding Extra Middleware

Learn how to capture MySQL data changes using Debezium's CDC capabilities within a Spring Boot application, avoiding heavyweight message brokers by leveraging binlog monitoring, configuring connectors, handling snapshots, and processing change events for use cases like cache invalidation, data integration, and simplifying monolithic architectures.

CDCData IntegrationDebezium
0 likes · 24 min read
How to Use Debezium for MySQL CDC in Spring Boot Without Adding Extra Middleware
Top Architect
Top Architect
Sep 27, 2023 · Backend Development

Unified Exception Handling in Spring Boot: Principles, Implementation, and Best Practices

This article provides a detailed guide on implementing unified exception handling in Spring Boot applications, covering background concepts, the use of @ControllerAdvice and @ExceptionHandler, custom assertion utilities, error response structures, and practical examples for handling various controller and service layer exceptions efficiently.

Exception HandlingSpring BootUnified Error Handling
0 likes · 23 min read
Unified Exception Handling in Spring Boot: Principles, Implementation, and Best Practices
Architect
Architect
Sep 26, 2023 · Backend Development

Comprehensive Guide to Spring MVC Annotations and Related Spring Annotations

This article provides a detailed overview of Spring MVC and Spring Boot annotations such as @RequestMapping, @GetMapping, @PostMapping, @RequestBody, @ControllerAdvice, @Component, @Bean, @Scope, @Autowired, and others, explaining their purposes, attributes, usage patterns, and offering practical code examples for each.

SpringSpring Bootannotations
0 likes · 15 min read
Comprehensive Guide to Spring MVC Annotations and Related Spring Annotations
Architect
Architect
Sep 24, 2023 · Backend Development

Mastering Unified Exception Handling in Spring Boot: Clean Code with Assertions

This article explains how to replace repetitive try‑catch blocks with a unified exception handling framework in Spring Boot, using @ControllerAdvice, custom Assert utilities, and enum‑based error codes, while showing concrete code examples, configuration steps, and runtime results.

EnumException HandlingSpring Boot
0 likes · 24 min read
Mastering Unified Exception Handling in Spring Boot: Clean Code with Assertions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 24, 2023 · Backend Development

Create a Custom HttpMessageConverter in Spring Boot 2.6

This article demonstrates how to create a custom HttpMessageConverter in Spring Boot 2.6.12 to parse a simple “name:张三,age:20” string into a Users object, configure it in WebMvc, and explains the underlying Spring MVC request‑handling flow that invokes the converter.

Custom ConverterHttpMessageConverterRequestBody
0 likes · 8 min read
Create a Custom HttpMessageConverter in Spring Boot 2.6
21CTO
21CTO
Sep 24, 2023 · Backend Development

Why Java 21 Is Driving the Surge in Spring Cloud Adoption

Oracle's Java 21 release introduces virtual threads, record patterns, ordered collections and a preview FFM API, while Eclipse survey data shows rising Spring and Spring Boot usage and accelerating cloud‑native adoption among Java developers.

Cloud NativeJava 21Spring Boot
0 likes · 5 min read
Why Java 21 Is Driving the Surge in Spring Cloud Adoption
macrozheng
macrozheng
Sep 22, 2023 · Backend Development

Build a Zero‑Code Backend Admin System in Minutes with Erupt

This article introduces the Erupt framework—a pure‑Java, annotation‑driven backend admin solution that requires no front‑end code, generates CRUD interfaces automatically, and can spin up a complete management system in just a few minutes, with step‑by‑step setup, configuration, and customization examples.

EruptLow-codeSpring Boot
0 likes · 12 min read
Build a Zero‑Code Backend Admin System in Minutes with Erupt
Code Ape Tech Column
Code Ape Tech Column
Sep 22, 2023 · Backend Development

Elegant Ways to Transfer Data Between Parent and Child Threads in Spring Boot

This article introduces four methods—manual setting, TaskDecorator, InheritableThreadLocal, and TransmittableThreadLocal—to propagate contextual data such as user information from a parent thread to child threads in Spring Boot asynchronous execution, providing code examples and practical recommendations.

Asynchronous ProgrammingSpring BootTaskDecorator
0 likes · 13 min read
Elegant Ways to Transfer Data Between Parent and Child Threads in Spring Boot
Java Architecture Diary
Java Architecture Diary
Sep 21, 2023 · Backend Development

Unlock Java 21: New Features, Virtual Threads, and Migration Tips

Java 21, the latest LTS release, introduces virtual threads, sequenced collections, record patterns, and other enhancements; the article explains these new features, guides developers on configuring IDEs and runtimes with Azul Zulu and IntelliJ IDEA, and resolves Lombok incompatibility by updating to version 1.18.30.

Java 21LombokSpring Boot
0 likes · 4 min read
Unlock Java 21: New Features, Virtual Threads, and Migration Tips
Top Architect
Top Architect
Sep 19, 2023 · Operations

Building a Real‑Time ELK Log Analysis Platform and Integrating It with Spring Boot and Nginx

This tutorial explains why centralized log collection is essential for micro‑service systems, introduces the ELK stack (Elasticsearch, Logstash, Kibana), provides step‑by‑step installation on Ubuntu, shows how to configure Logstash shipper and indexer pipelines, and demonstrates integration with Spring Boot and Nginx logs for real‑time monitoring.

ELKElasticsearchKibana
0 likes · 20 min read
Building a Real‑Time ELK Log Analysis Platform and Integrating It with Spring Boot and Nginx
Programmer DD
Programmer DD
Sep 19, 2023 · Backend Development

Spring Boot Virtual Threads vs WebFlux: Which Delivers Better Performance?

This article summarizes a performance comparison between Spring Boot applications using virtual threads and those built with Spring WebFlux, detailing the test scenario of JWT verification and MySQL queries, the environment, code implementations, benchmark results across various concurrency levels, and concluding that WebFlux outperforms virtual‑threaded Spring Boot.

JWTMySQLSpring Boot
0 likes · 9 min read
Spring Boot Virtual Threads vs WebFlux: Which Delivers Better Performance?
Shepherd Advanced Notes
Shepherd Advanced Notes
Sep 19, 2023 · Backend Development

How Douyin Implements IP Geolocation: A Java Backend Tutorial

This article explains how to retrieve a client’s real IP behind proxies, choose the appropriate forwarding header, and use the open‑source ip2region library to map the IP to a geographic location, with complete Java and Spring Boot code examples.

HttpServletRequestIP GeolocationSpring Boot
0 likes · 17 min read
How Douyin Implements IP Geolocation: A Java Backend Tutorial
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 18, 2023 · Backend Development

Why MyBatis SqlSession Crashes with Multiple Threads and How Spring Fixes It

This article examines the ClassCastException that occurs when 100 threads concurrently query MyBatis using a shared SqlSession, analyzes the root cause in DefaultSqlSession and BaseExecutor, and explains how Spring Boot’s MyBatis integration employs SqlSessionTemplate, ThreadLocal binding, and transaction management to guarantee thread‑safe SqlSession usage.

MyBatisSpring BootSqlSession
0 likes · 21 min read
Why MyBatis SqlSession Crashes with Multiple Threads and How Spring Fixes It
Code Ape Tech Column
Code Ape Tech Column
Sep 16, 2023 · Backend Development

Batch Request Merging in Java to Reduce Database Connections

This article explains how to merge multiple user‑detail requests on the server side using a blocking queue, scheduled thread pool and CompletableFuture in Spring Boot, thereby converting many individual SQL calls into a single batch query, saving database connections and improving high‑concurrency performance.

Batch ProcessingCompletableFutureSpring Boot
0 likes · 13 min read
Batch Request Merging in Java to Reduce Database Connections
Java Captain
Java Captain
Sep 15, 2023 · Backend Development

A Comprehensive Guide to the 50 Most Common Spring Boot Annotations

This article provides an in‑depth overview of the most frequently used Spring Boot annotations, categorizing them into Spring MVC, Spring Data JPA, Spring Security, and other essential annotations, and demonstrates their practical usage with concise examples.

Spring Bootannotationsbackend
0 likes · 5 min read
A Comprehensive Guide to the 50 Most Common Spring Boot Annotations
Java High-Performance Architecture
Java High-Performance Architecture
Sep 15, 2023 · Backend Development

Build API Interfaces Instantly with Dataway in Spring Boot

This tutorial walks through integrating Dataway—a UI‑driven, code‑free API configuration tool based on DataQL—into a Spring Boot project, covering Maven dependencies, property settings, datasource setup, Hasor module integration, enabling annotations, and publishing a test endpoint.

API ConfigurationDataQLDataway
0 likes · 14 min read
Build API Interfaces Instantly with Dataway in Spring Boot
Architecture Digest
Architecture Digest
Sep 14, 2023 · Backend Development

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

This guide explains how to embed Dataway—a DataQL‑based API configuration tool—into a Spring Boot application, covering dependency setup, property configuration, datasource integration, Hasor module wiring, enabling Hasor, launching the app, accessing the UI, creating and publishing APIs using SQL or DataQL, and verifying the results.

API ConfigurationDataQLDataway
0 likes · 12 min read
Integrating Dataway with Spring Boot: A Step‑by‑Step Guide
Java Architect Essentials
Java Architect Essentials
Sep 13, 2023 · Backend Development

Key Changes in Spring Boot 3.0.0 M1 Release

The Spring Boot 3.0.0 M1 milestone upgrades the Java baseline to Java 17, migrates all Java EE APIs to Jakarta EE, removes support for several third‑party libraries, updates a long list of Spring and external dependencies, and outlines the upcoming release cadence.

Jakarta EEJava 17Spring Boot
0 likes · 5 min read
Key Changes in Spring Boot 3.0.0 M1 Release
Architect's Guide
Architect's Guide
Sep 11, 2023 · Backend Development

Java Plugin Development: SPI, ServiceLoader, Custom Configurations, and Spring Boot Factories

This article explains the concept and benefits of plugin-based development, outlines common Java implementation approaches such as SPI, configuration‑driven reflection, runtime JAR loading, and Spring Boot's spring.factories, and provides detailed code examples and a complete case study demonstrating flexible, hot‑pluggable SMS services.

Plugin architectureSPIServiceLoader
0 likes · 19 min read
Java Plugin Development: SPI, ServiceLoader, Custom Configurations, and Spring Boot Factories
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 11, 2023 · Backend Development

Secure Spring Boot Configs: Encrypt Sensitive Properties with EnvironmentPostProcessor

This guide explains how to protect plaintext Spring Boot configuration values by encrypting them using Spring Cloud Context's DecryptEnvironmentPostProcessor, covering dependency setup, key generation, JCE policy installation, code examples, and runtime decryption for secure property access.

ConfigurationEnvironmentPostProcessorJCE
0 likes · 9 min read
Secure Spring Boot Configs: Encrypt Sensitive Properties with EnvironmentPostProcessor
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 7, 2023 · Backend Development

How to Configure Master‑Slave Data Sources in Spring Boot with JPA & MyBatis

This guide walks through setting up a Spring Boot 2.4.12 project with JDK 1.8, Oracle, and two data sources—master and slave—covering Maven dependencies, application.yml settings, custom property classes, HikariDataSource beans, JPA EntityManagerFactory, MyBatis SqlSessionFactory, mapper scanning, and testing entity creation to verify successful configuration.

HikariCPJPAMultiple Data Sources
0 likes · 21 min read
How to Configure Master‑Slave Data Sources in Spring Boot with JPA & MyBatis
MaGe Linux Operations
MaGe Linux Operations
Sep 6, 2023 · Backend Development

Mastering JetCache: Multi‑Level Caching with Spring Boot and Redis

This guide explains how to combine local and remote caches using Alibaba's JetCache in a Spring Boot project, covering dependency setup, configuration files, annotation‑based usage, advanced API methods, testing procedures, and common troubleshooting tips for a robust multi‑level caching solution.

JetCacheRedisSpring Boot
0 likes · 11 min read
Mastering JetCache: Multi‑Level Caching with Spring Boot and Redis
Java Architect Essentials
Java Architect Essentials
Sep 6, 2023 · Backend Development

Understanding Spring Boot 2.7.10’s Embedded Tomcat: Defaults, Thread Pools, and Connection Limits

This article examines Spring Boot 2.7.10’s embedded Tomcat configuration, detailing default connection queue sizes, thread pool parameters, key Tomcat settings such as AcceptCount and MaxConnections, internal thread components, and practical testing results that reveal how connection limits affect client‑server handshakes.

Connection ManagementEmbedded ServerSpring Boot
0 likes · 15 min read
Understanding Spring Boot 2.7.10’s Embedded Tomcat: Defaults, Thread Pools, and Connection Limits
Top Architect
Top Architect
Sep 5, 2023 · Backend Development

Service Gateway Explained: Routing, Filters, Benefits, and Java‑Based Technical Stack

This article explains what a service gateway is—combining routing and filters—covers why it is needed for centralized cross‑cutting concerns such as authentication, rate limiting and monitoring, describes the architecture and request flow with gateway, open‑service and microservices, and recommends a Java‑based stack including Spring Boot, Netflix Zuul, Consul, JWT, Prometheus, Grafana, ELK and JMeter.

API GatewayFiltersSpring Boot
0 likes · 9 min read
Service Gateway Explained: Routing, Filters, Benefits, and Java‑Based Technical Stack
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 4, 2023 · Backend Development

Mastering RocketMQ with Spring Boot: From Simple to Transactional Messaging

This guide demonstrates how to integrate RocketMQ 4.8.0 into a Spring Boot 2.4.12 application, covering dependency setup, configuration, sending and receiving normal, ordered, cluster/broadcast, and transactional messages, complete with code snippets and execution results to help developers implement reliable messaging patterns.

BroadcastClusterRocketMQ
0 likes · 9 min read
Mastering RocketMQ with Spring Boot: From Simple to Transactional Messaging
IT Services Circle
IT Services Circle
Sep 2, 2023 · Backend Development

Using Swagger for API Documentation in Spring Boot: Setup, Configuration, and Customization

This article explains what Swagger is, why it is useful for RESTful API documentation, and provides a step‑by‑step guide for integrating Swagger 3.0 with Spring Boot 2.7.6, handling version conflicts, customizing Docket settings, securing the UI, and applying advanced annotations to enrich the generated documentation.

API documentationSpring BootSwagger
0 likes · 20 min read
Using Swagger for API Documentation in Spring Boot: Setup, Configuration, and Customization
Java Architect Essentials
Java Architect Essentials
Sep 1, 2023 · Backend Development

Spring Boot Built‑in Utility Classes Overview

This article introduces the most commonly used Spring Boot utility classes—including assertions, object and collection helpers, file/IO utilities, reflection, and AOP support—providing code examples and usage guidelines to help Java backend developers write cleaner, more efficient code.

IOSpring BootUtility Classes
0 likes · 19 min read
Spring Boot Built‑in Utility Classes Overview
Top Architect
Top Architect
Sep 1, 2023 · Backend Development

Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR

This article explains the differences between JAR and WAR files, why Spring Boot runs with an embedded Tomcat when packaged as a JAR, how deployment changes when using an external Tomcat, and provides step‑by‑step instructions with Maven configurations to build Spring Boot applications as either JAR or WAR packages.

MavenPackagingSpring Boot
0 likes · 14 min read
Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR
Code Ape Tech Column
Code Ape Tech Column
Aug 31, 2023 · Backend Development

Implementing Sign‑in and Statistics with Redis BitMap in Spring Boot

This article explains how to implement a user sign‑in feature and its statistical analysis using Redis BitMap within a Spring Boot backend, covering basic BitMap commands, integration steps, core source code, continuous sign‑in calculation, and a bitmap‑based solution for cache penetration.

BitmapCache PenetrationSpring Boot
0 likes · 11 min read
Implementing Sign‑in and Statistics with Redis BitMap in Spring Boot