Tagged articles
3874 articles
Page 23 of 39
Code Ape Tech Column
Code Ape Tech Column
Mar 8, 2023 · Cloud Native

Comprehensive Guide to Spring Cloud Gateway: Architecture, Configuration, and Custom Extensions

This article explains why an API gateway is essential in micro‑service architectures, introduces Spring Cloud Gateway’s core features, walks through project setup, routing predicates, filters, integration with Nacos for service discovery and dynamic routing, and demonstrates custom global error handling.

Custom FiltersNacosSpring Boot
0 likes · 25 min read
Comprehensive Guide to Spring Cloud Gateway: Architecture, Configuration, and Custom Extensions
Programmer DD
Programmer DD
Mar 5, 2023 · Backend Development

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

Spring Boot 3.0.4 arrives early, addressing a PathMatchingResourcePatternResolver issue that broke bean and controller scanning, and brings 19 bug fixes, documentation enhancements for Gradle 8 and other topics, plus numerous dependency upgrades across Couchbase, Jetty, Reactor, Spring Framework, and more.

Backend DevelopmentBug FixesDocumentation
0 likes · 4 min read
Spring Boot 3.0.4 Release: Key Bug Fixes, Docs Updates, and Dependency Upgrades
Java Architect Essentials
Java Architect Essentials
Mar 3, 2023 · Backend Development

Master FastMyBatis: Quick Spring Boot Integration and CRUD Guide

This article introduces FastMyBatis—a lightweight, zero‑configuration MyBatis extension for Spring Boot—covering its core principles, Maven setup, sample CRUD controller, service and mapper implementations, a comprehensive list of mapper methods, Query object usage examples, and links to the open‑source repository.

Backend DevelopmentCRUDFastMyBatis
0 likes · 10 min read
Master FastMyBatis: Quick Spring Boot Integration and CRUD Guide
Top Architect
Top Architect
Mar 1, 2023 · Backend Development

Microservice Service Splitting Principles and Remote Call Implementation with Spring Boot

This article explains microservice service‑splitting principles, demonstrates a small demo with separate order‑service and user‑service modules, shows how to define independent databases, and provides step‑by‑step code for registering a RestTemplate bean and performing remote calls between services using Spring Boot.

Remote CallService SplittingSpring Boot
0 likes · 9 min read
Microservice Service Splitting Principles and Remote Call Implementation with Spring Boot
MaGe Linux Operations
MaGe Linux Operations
Feb 26, 2023 · Information Security

Mastering JWT: Secure Token Authentication with Spring Boot and Angular

This article explains what JSON Web Tokens are, their structure and security considerations, introduces the JJWT Java library, and provides a complete Spring Boot and Angular example—including Maven setup, Java filters, controllers, and front‑end code—to demonstrate secure token‑based authentication.

AngularAuthenticationJWT
0 likes · 19 min read
Mastering JWT: Secure Token Authentication with Spring Boot and Angular
Java Architecture Diary
Java Architecture Diary
Feb 24, 2023 · Backend Development

What’s New in Spring Boot 3.2.0? Bug Fixes, Docs, and Dependency Upgrades Explained

Spring Boot 3.2.0 introduces a series of bug fixes—including Logback AOT handling, native image configuration, and LDAP dependencies—updates documentation for configuration properties and Redis, and upgrades core libraries such as Byte Buddy, Caffeine, and Hibernate, providing a more stable and up‑to‑date platform for Java developers.

DocumentationJavaSpring Boot
0 likes · 4 min read
What’s New in Spring Boot 3.2.0? Bug Fixes, Docs, and Dependency Upgrades Explained
Sanyou's Java Diary
Sanyou's Java Diary
Feb 23, 2023 · Backend Development

Unlocking Java’s SPI: How Service Provider Interface Powers Spring Boot Auto‑Configuration

This article explains Java's Service Provider Interface (SPI) mechanism, demonstrates how to define, implement, and discover services with code examples—including a smart‑home air‑conditioner scenario—and shows its practical use in Spring Boot auto‑configuration and logging frameworks like SLF4J.

SPIServiceLoaderSpring Boot
0 likes · 14 min read
Unlocking Java’s SPI: How Service Provider Interface Powers Spring Boot Auto‑Configuration
Top Architect
Top Architect
Feb 23, 2023 · Backend Development

Comprehensive Guide to Using MyBatis‑Plus with Spring Boot

This tutorial walks through integrating MyBatis‑Plus into a Spring Boot project, covering dependency setup, configuration of data sources, entity annotations, service and mapper layers, pagination, logical deletion, enum handling, automatic field filling, multi‑datasource support, and testing with full code examples.

CRUDEnumLogical Delete
0 likes · 18 min read
Comprehensive Guide to Using MyBatis‑Plus with Spring Boot
Programmer DD
Programmer DD
Feb 18, 2023 · Backend Development

Master Spring 6 HTTP Interface: Build a Reactive API Client in Minutes

This guide walks you through creating a Spring Boot 3 project, defining a Java interface annotated with Spring 6's new HTTP Interface, and using WebClient and HttpServiceProxyFactory to call a REST endpoint, while covering required dependencies, annotations, and proxy creation details.

HTTP InterfaceJavaSpring Boot
0 likes · 8 min read
Master Spring 6 HTTP Interface: Build a Reactive API Client in Minutes
Java Backend Technology
Java Backend Technology
Feb 17, 2023 · Backend Development

Master Global Exception Handling in Spring Boot: A Complete Guide

This article explains how to create a unified response class, define custom exception and error‑enum types, and implement a global exception handler in Spring Boot, enabling clean error handling, reduced boilerplate, and flexible business‑specific extensions.

AjaxResultBackend DevelopmentError Enum
0 likes · 6 min read
Master Global Exception Handling in Spring Boot: A Complete Guide
Top Architect
Top Architect
Feb 16, 2023 · Backend Development

14 Practical Spring Boot Code Optimization Tips from a Senior Architect

The article presents fourteen actionable Spring Boot optimization techniques—ranging from using @ConfigurationProperties and @RequiredArgsConstructor to modularizing code, handling exceptions, minimizing database calls, leveraging IDE hints, and applying design patterns—aimed at improving code quality, maintainability, and performance for backend developers.

Code OptimizationJavaSpring Boot
0 likes · 8 min read
14 Practical Spring Boot Code Optimization Tips from a Senior Architect
Programmer DD
Programmer DD
Feb 16, 2023 · Information Security

How to Install Keycloak and Seamlessly Integrate It with Spring Boot and Spring Cloud

This guide walks through downloading, installing, and initializing Keycloak, creating realms, clients, users and roles, then shows step‑by‑step integration with Spring Boot microservices, token propagation via Feign and Zuul, logout handling, email setup, third‑party login, and essential Keycloak terminology.

AuthorizationKeycloakOAuth2
0 likes · 17 min read
How to Install Keycloak and Seamlessly Integrate It with Spring Boot and Spring Cloud
政采云技术
政采云技术
Feb 16, 2023 · Backend Development

Graceful Shutdown Support in Spring Boot 2.3+ for Embedded Web Servers

Spring Boot 2.3.0.RELEASE adds graceful shutdown for all embedded web servers, explaining the underlying SmartLifecycle mechanism, configuration steps, shutdown hook registration, and how timeout handling ensures existing requests finish while new requests are rejected.

Embedded Web ServerGraceful ShutdownJava
0 likes · 11 min read
Graceful Shutdown Support in Spring Boot 2.3+ for Embedded Web Servers
IT Services Circle
IT Services Circle
Feb 13, 2023 · Backend Development

Fundamental Java Backend Development Practices and Tips

This article presents a collection of basic Java programming methods and best‑practice recommendations—ranging from using @ConfigurationProperties and @RequiredArgsConstructor to modularizing code, handling exceptions, reducing unnecessary database queries, avoiding null returns, and applying design patterns—to help developers write cleaner, more maintainable backend code.

Backend DevelopmentJavaSpring Boot
0 likes · 8 min read
Fundamental Java Backend Development Practices and Tips
ITPUB
ITPUB
Feb 10, 2023 · Backend Development

Mastering Spring Boot 3’s @HttpExchange for Declarative HTTP Calls

This tutorial walks through Spring Boot 3’s built‑in @HttpExchange annotation, showing how to replace OpenFeign with a lightweight, declarative HTTP client using WebClient, complete with server and client code, configuration steps, and a runnable test example.

Declarative HTTPHttpExchangeJava
0 likes · 6 min read
Mastering Spring Boot 3’s @HttpExchange for Declarative HTTP Calls
Selected Java Interview Questions
Selected Java Interview Questions
Feb 5, 2023 · Backend Development

Comprehensive Overview of Spring Boot: Features, Core Annotations, Configuration, and Best Practices

This article provides a detailed introduction to Spring Boot, covering its purpose, advantages, core @SpringBootApplication annotation, supported logging frameworks, starter mechanism, new features in version 2.x, configuration methods, security, CORS handling, actuator monitoring, hot deployment, multi‑datasource setup, session sharing, and packaging differences, all aimed at helping developers quickly adopt and master the framework.

Backend DevelopmentJavaSpring Boot
0 likes · 24 min read
Comprehensive Overview of Spring Boot: Features, Core Annotations, Configuration, and Best Practices
macrozheng
macrozheng
Feb 1, 2023 · Information Security

Secure Your Spring Boot APIs with JWT: A Step‑by‑Step Guide Using Spring Security

This article explains how to replace Shiro with Spring Security, integrate JWT for stateless authentication, configure the filter chain, set up the necessary Maven dependencies, write the security configuration, custom authentication and verification filters, and manage user details in a Spring Boot backend.

AuthenticationAuthorizationSpring Boot
0 likes · 16 min read
Secure Your Spring Boot APIs with JWT: A Step‑by‑Step Guide Using Spring Security
Java High-Performance Architecture
Java High-Performance Architecture
Jan 29, 2023 · Information Security

Master Spring Security: From Quick Start to Advanced JWT Authentication and RBAC

This comprehensive guide walks you through Spring Security fundamentals, setting up a Spring Boot project, configuring authentication with JWT and Redis, implementing RBAC permission management, customizing error handling, enabling CORS, and addressing CSRF, providing complete code examples and detailed explanations for secure backend development.

AuthenticationAuthorizationJWT
0 likes · 45 min read
Master Spring Security: From Quick Start to Advanced JWT Authentication and RBAC
Selected Java Interview Questions
Selected Java Interview Questions
Jan 28, 2023 · Backend Development

Standardizing Controller Parameter Handling, Response Wrapping, Validation, and Exception Management in Spring Boot

This article explains how to structure Spring Boot controller layers by receiving request parameters, unifying status codes and response formats, applying @Validated for automatic input validation, using @RestControllerAdvice for centralized exception handling, and optionally disabling wrapping with a custom annotation, providing complete code examples for each step.

ControllerJavaResponse wrapper
0 likes · 21 min read
Standardizing Controller Parameter Handling, Response Wrapping, Validation, and Exception Management in Spring Boot
Programmer DD
Programmer DD
Jan 28, 2023 · Backend Development

What’s New in Spring Cloud 2022? Major Bug Fixes and Key Changes

Spring Cloud 2022, built on Spring Framework 6.x and Spring Boot 3.x, requires Java 17 and introduces crucial bug fixes across modules like Gateway, Commons, and Kubernetes, along with new features such as a secure flag for service instances and optimized load‑balancing.

Backend DevelopmentBug FixesJava
0 likes · 3 min read
What’s New in Spring Cloud 2022? Major Bug Fixes and Key Changes
Su San Talks Tech
Su San Talks Tech
Jan 27, 2023 · Backend Development

Mastering Unified Responses and Exception Handling in Spring Boot Controllers

This article walks through building a robust Spring Boot controller layer by standardizing parameter binding, status codes, response wrapping, validation, and exception handling using annotations, enums, ResultVo, ResponseBodyAdvice, and custom exception advice to deliver consistent API responses.

BackendControllerException Handling
0 likes · 20 min read
Mastering Unified Responses and Exception Handling in Spring Boot Controllers
ITPUB
ITPUB
Jan 25, 2023 · Backend Development

Mastering Distributed Caching with Redis and Memcached in Spring Boot

This article explains the fundamentals, characteristics, and use‑cases of distributed caching, compares Memcached and Redis, and provides a step‑by‑step Spring Boot implementation with code samples, testing guidance, and solutions to common cache pitfalls such as hot keys, penetration, and avalanche.

Cache DesignDistributed CacheRedis
0 likes · 20 min read
Mastering Distributed Caching with Redis and Memcached in Spring Boot
Java Backend Technology
Java Backend Technology
Jan 18, 2023 · Backend Development

Boost Java API Development with magic‑api: No Controllers Needed

magic‑api is a Java‑based rapid API development framework that lets you create HTTP endpoints through a UI without writing Controllers, Services, DAOs, XML or VO files, supporting multiple databases, clustering, pagination, custom scripts, and Swagger documentation.

API developmentJavaSpring Boot
0 likes · 5 min read
Boost Java API Development with magic‑api: No Controllers Needed
macrozheng
macrozheng
Jan 17, 2023 · Cloud Native

Deploy the Mall E‑commerce Project on Rainbond: A Step‑by‑Step Guide

This guide walks you through deploying the Mall e‑commerce application on Rainbond, covering both quick deployment via the open‑source app store and a full manual setup of all required services, middleware, backend and frontend components, with configuration examples and troubleshooting tips.

RainbondSpring Boot
0 likes · 12 min read
Deploy the Mall E‑commerce Project on Rainbond: A Step‑by‑Step Guide
DeWu Technology
DeWu Technology
Jan 16, 2023 · Cloud Native

Nacos Service Registration and Discovery: Principles and Implementation

The article explains Nacos’s open‑source service registry and discovery mechanisms, detailing client auto‑configuration, registration and health‑check workflows, server‑side instance handling, asynchronous copy‑on‑write processing, heartbeat cleanup, and cluster synchronization, while comparing its AP/CP capabilities to Zookeeper and Eureka.

Distributed SystemsJavaNacos
0 likes · 55 min read
Nacos Service Registration and Discovery: Principles and Implementation
Architecture Digest
Architecture Digest
Jan 14, 2023 · Backend Development

Design and Implementation of a Follow/Unfollow Microservice Using MySQL and Redis

This article details the requirements analysis, design approach, database schema, and step‑by‑step implementation of a follow/unfollow microservice using MySQL for persistence and Redis Sets for efficient set operations, including Maven dependencies, Spring Boot configuration, RedisTemplate setup, service, controller, and testing of common‑follow queries.

Follow ServiceJavaMicroservice
0 likes · 17 min read
Design and Implementation of a Follow/Unfollow Microservice Using MySQL and Redis
Java Architect Essentials
Java Architect Essentials
Jan 13, 2023 · Backend Development

How to Build a Scalable Follow Service with MySQL, Redis, and Spring Cloud

This article walks through the complete design and implementation of a friend‑follow microservice, covering requirement analysis, MySQL table schema, Redis set operations, Spring Boot dependencies, configuration, service and controller code, gateway routing, and end‑to‑end testing with concrete examples and performance insights.

Backend DevelopmentFollow ServiceJava
0 likes · 12 min read
How to Build a Scalable Follow Service with MySQL, Redis, and Spring Cloud
Java Architect Essentials
Java Architect Essentials
Jan 10, 2023 · Backend Development

MyBatis and MyBatis-Plus Batch Insert Techniques with Performance Comparison

This article presents five common batch‑insert approaches for MyBatis and MyBatis‑Plus—including a for‑loop, manual batch commit, collection‑based batch, saveBatch, and InsertBatchSomeColumn—provides complete code examples, configuration steps, and measured execution times to help Java backend developers choose the most efficient method.

Batch InsertMyBatisMyBatis-Plus
0 likes · 11 min read
MyBatis and MyBatis-Plus Batch Insert Techniques with Performance Comparison
macrozheng
macrozheng
Jan 7, 2023 · Backend Development

How to Set Up AJ-Report: A Spring Boot & Vue Visual Dashboard Tool

This guide introduces the open‑source AJ‑Report project, explains its Spring Boot and Vue technology stack, and provides step‑by‑step instructions for cloning the repository, configuring the backend and frontend environments, and creating interactive visual dashboards using drag‑and‑drop components.

AJ-ReportSpring BootVue
0 likes · 7 min read
How to Set Up AJ-Report: A Spring Boot & Vue Visual Dashboard Tool
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 6, 2023 · Backend Development

Master Spring Boot Task Execution: Configure Executors, Schedulers, and Async

Learn how Spring Boot automatically configures ThreadPoolTaskExecutor and ThreadPoolTaskScheduler, customize them via spring.task.execution and spring.task.scheduling properties, and use @EnableAsync, @Scheduled, and @Async annotations—including advanced options like cron expressions, time units, executor qualifiers, and exception handling—to efficiently manage asynchronous and scheduled tasks.

AsyncJavaScheduling
0 likes · 8 min read
Master Spring Boot Task Execution: Configure Executors, Schedulers, and Async
Code Ape Tech Column
Code Ape Tech Column
Jan 6, 2023 · Backend Development

Custom Spring Boot Packaging: Using spring-boot-maven-plugin and maven-assembly-plugin to Separate Dependencies

This article explains how to create a Spring Boot package that keeps dependencies external by configuring the spring-boot-maven-plugin and maven-assembly-plugin, using a ZIP layout and PropertiesLauncher, so the application can be started with a custom loader.path that points to a libs directory.

Backend DevelopmentFat JarJava
0 likes · 6 min read
Custom Spring Boot Packaging: Using spring-boot-maven-plugin and maven-assembly-plugin to Separate Dependencies
Code Ape Tech Column
Code Ape Tech Column
Jan 4, 2023 · Backend Development

Elegant Methods for Passing Data Between Parent and Child Threads in Spring Boot

This article explains four techniques—including manual setting, TaskDecorator, InheritableThreadLocal, and TransmittableThreadLocal—to reliably transfer user context and other thread‑local data from parent to child threads in Spring Boot asynchronous execution, with complete code samples and best‑practice recommendations.

AsynchronousBackendJava
0 likes · 13 min read
Elegant Methods for Passing Data Between Parent and Child Threads in Spring Boot
Top Architect
Top Architect
Jan 2, 2023 · Backend Development

Implementing Large File Upload and Download with Chunking, Resume, and Multi‑Threaded Support Using WebUploader and Spring Boot

This article demonstrates how to build a robust large‑file upload and download solution in Java by integrating Baidu's WebUploader on the front end with Spring Boot back‑end APIs that handle chunked uploads, breakpoint resume, file merging, and multi‑threaded range‑based downloads.

JavaRange DownloadSpring Boot
0 likes · 17 min read
Implementing Large File Upload and Download with Chunking, Resume, and Multi‑Threaded Support Using WebUploader and Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Jan 1, 2023 · Backend Development

Using Spring Boot 3 Declarative HTTP Client with HttpServiceProxyFactory

This article explains how Spring Boot 3 introduces a native declarative HTTP client via HttpServiceProxyFactory, showing required dependencies, supported annotations, interface definition, and complete code examples for building, configuring, and invoking remote HTTP services without third‑party libraries.

Backend DevelopmentDeclarative HTTP clientHttpServiceProxyFactory
0 likes · 7 min read
Using Spring Boot 3 Declarative HTTP Client with HttpServiceProxyFactory
Top Architect
Top Architect
Dec 31, 2022 · Cloud Native

Comprehensive Guide to Spring Cloud Sleuth and Zipkin for Distributed Tracing

This article provides a detailed tutorial on using Spring Cloud Sleuth with Zipkin to monitor and troubleshoot distributed micro‑service calls, covering concepts, configuration, Maven dependencies, YAML settings, controller examples, RabbitMQ integration, logback adjustments, and alternative tracing solutions.

LoggingRabbitMQSpring Boot
0 likes · 19 min read
Comprehensive Guide to Spring Cloud Sleuth and Zipkin for Distributed Tracing
Top Architect
Top Architect
Dec 30, 2022 · Backend Development

Implementing a High‑Concurrency Flash Sale System Using Redis List Queues in Spring Boot

This article explains why common Redis‑based flash‑sale demos that rely on WATCH transactions, distributed locks, or Lua scripts are unreliable, and presents a simple, lock‑free solution using Redis list operations (LPUSH/RPOP) with Spring Boot's StringRedisTemplate, including full Java code and usage examples.

ConcurrencyJavaSpring Boot
0 likes · 9 min read
Implementing a High‑Concurrency Flash Sale System Using Redis List Queues in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Dec 30, 2022 · Backend Development

Implementing a Dynamic Thread Pool with Nacos in Spring Boot

This article demonstrates how to create a dynamically configurable thread pool in a Spring Boot backend by leveraging Nacos as a configuration center, covering dependency setup, YAML configuration, Java implementation with @RefreshScope, runtime parameter updates, and a simple controller for testing.

Backend DevelopmentDynamic ConfigurationNacos
0 likes · 9 min read
Implementing a Dynamic Thread Pool with Nacos in Spring Boot
Java Architect Essentials
Java Architect Essentials
Dec 28, 2022 · Backend Development

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

This article provides a comprehensive guide to implementing asynchronous processing in Spring Boot, covering annotation‑based @Async, CompletableFuture patterns, WebAsyncTask, DeferredResult, custom thread pools, Tomcat tuning, component scanning, and switching to Undertow, with complete code examples and configuration details.

AsynchronousCompletableFutureDeferredResult
0 likes · 12 min read
Mastering Asynchronous Execution in Spring Boot: An In‑Depth Guide
Java Architect Essentials
Java Architect Essentials
Dec 27, 2022 · Backend Development

Building a Scalable Follow Service with MySQL, Redis Sets, and Spring Boot

This article walks through the design and implementation of a friend‑follow microservice using MySQL for persistence, Redis Sets for fast set operations, and Spring Boot, covering requirement analysis, data modeling, dependency setup, configuration, service logic, and testing with concrete code examples and performance insights.

BackendFollow ServiceJava
0 likes · 19 min read
Building a Scalable Follow Service with MySQL, Redis Sets, and Spring Boot
Java Architecture Diary
Java Architecture Diary
Dec 27, 2022 · Backend Development

How to Build a Custom Oracle Plugin for Nacos 2.2 Using SPI

This guide explains how to create a custom Oracle datasource plugin for Nacos 2.2 by adding Maven dependencies, importing the Oracle SQL script, configuring connection properties, and setting the datasource platform, enabling Nacos to use Oracle instead of the default MySQL or Derby.

Backend DevelopmentDatasource PluginNacos
0 likes · 3 min read
How to Build a Custom Oracle Plugin for Nacos 2.2 Using SPI
Java High-Performance Architecture
Java High-Performance Architecture
Dec 26, 2022 · Backend Development

Mastering the Decorator Pattern in Spring Boot: A Multi‑Layered Example

This article explains the Decorator (Wrapper) pattern, shows how to apply it in a Spring Boot project with concrete surfing‑service examples, demonstrates single‑ and multi‑layer decorators, and provides complete Java code and controller snippets to illustrate dynamic behavior extension without modifying existing classes.

Backend DevelopmentDecorator PatternDesign Patterns
0 likes · 7 min read
Mastering the Decorator Pattern in Spring Boot: A Multi‑Layered Example
Huolala Tech
Huolala Tech
Dec 22, 2022 · Mobile Development

How Huolala Built a Scalable Cloud Real‑Device Testing Platform for Mobile Apps

Huolala's data team created a cloud‑based real‑device platform that centralizes phone resources, enables remote screen casting and control via adb, minicap, and minitouch, and uses Spring Boot and Netty‑WebSocket to deliver scalable, cost‑effective mobile testing across multiple scenarios.

ADBNettySpring Boot
0 likes · 13 min read
How Huolala Built a Scalable Cloud Real‑Device Testing Platform for Mobile Apps
Top Architect
Top Architect
Dec 21, 2022 · Backend Development

Integrating Micrometer, Prometheus, and Grafana into a Spring Boot Application

This tutorial demonstrates how to add Micrometer to a Spring Boot project, configure JVM and custom metrics, expose them via Actuator, and then integrate Prometheus and Grafana to collect and visualize the monitoring data, providing a complete end‑to‑end observability solution.

GrafanaMicrometerPrometheus
0 likes · 10 min read
Integrating Micrometer, Prometheus, and Grafana into a Spring Boot Application
Top Architect
Top Architect
Dec 21, 2022 · Backend Development

Refactoring the Spring Boot Controller Layer for Clean Architecture and Unified Responses

This article explains why the Controller layer should stay thin, identifies common pitfalls such as tangled validation and inconsistent responses, and demonstrates how to introduce a unified result wrapper, global response advice, robust parameter validation, custom validators, and centralized exception handling to produce concise, maintainable backend code.

ControllerException HandlingJava
0 likes · 17 min read
Refactoring the Spring Boot Controller Layer for Clean Architecture and Unified Responses
Top Architect
Top Architect
Dec 20, 2022 · Backend Development

Applying the Decorator Pattern in a Spring Boot Project: A Practical Guide

This article demonstrates how to use the Decorator (Wrapper) pattern in a Spring Boot application to extend existing services with additional responsibilities, showing both single‑layer and multi‑layer decorations through concrete code examples and controller endpoints.

Backend DevelopmentDecorator PatternDesign Patterns
0 likes · 8 min read
Applying the Decorator Pattern in a Spring Boot Project: A Practical Guide
Top Architect
Top Architect
Dec 18, 2022 · Backend Development

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

This article explains why using the forceful kill -9 command can cause data loss, demonstrates how to gracefully stop Spring Boot services with kill -15, the Actuator shutdown endpoint, and custom Tomcat shutdown configurations, and shows how to run cleanup tasks such as data backup during shutdown.

ActuatorGraceful ShutdownJava
0 likes · 20 min read
Graceful Shutdown of Spring Boot Applications: Avoiding kill -9 and Using kill -15, Actuator, and Custom Shutdown Configurations
Java High-Performance Architecture
Java High-Performance Architecture
Dec 17, 2022 · Cloud Native

How to Build Lightning‑Fast Spring Boot Apps with Spring Native and GraalVM

This tutorial walks through installing GraalVM, configuring Spring Native, building a native Spring Boot application using Buildpacks or the native‑image plugin, creating Docker containers, and comparing startup speed and memory usage against traditional Java execution, providing full pom.xml examples and official documentation links.

DockerJavaSpring Boot
0 likes · 12 min read
How to Build Lightning‑Fast Spring Boot Apps with Spring Native and GraalVM
Java Architect Essentials
Java Architect Essentials
Dec 16, 2022 · Backend Development

How to Package a Spring Boot Application into an Executable (EXE) Using exe4j and Inno Setup

This guide walks through converting a functional Spring Boot jar into a Windows executable using exe4j, then bundling the exe with a local JRE into a single installer with Inno Setup, providing step‑by‑step instructions, required tools, configuration details, and a code snippet for the installer script.

Exe4JInno SetupSpring Boot
0 likes · 5 min read
How to Package a Spring Boot Application into an Executable (EXE) Using exe4j and Inno Setup
Java High-Performance Architecture
Java High-Performance Architecture
Dec 16, 2022 · Backend Development

Simplify Spring Boot Permission Management with jCasbin

This guide shows how to replace Shiro with jCasbin in a Spring Boot microservice, covering Maven dependencies, configuration files, Enforcer initialization, policy handling, and a custom filter for runtime permission checks, enabling dynamic role‑based access control without server restarts.

JavaPermission managementSpring Boot
0 likes · 10 min read
Simplify Spring Boot Permission Management with jCasbin
Sanyou's Java Diary
Sanyou's Java Diary
Dec 15, 2022 · Backend Development

How TLog Enables Zero‑Intrusion Log Tracing for Microservices

This article introduces TLog, a lightweight, near‑zero‑intrusion log tracing framework for microservices that automatically tags logs with traceId and other context, explains its core principles, integration steps, supported adapters for various frameworks, and best‑practice usage scenarios.

Spring BootTLogdistributed tracing
0 likes · 14 min read
How TLog Enables Zero‑Intrusion Log Tracing for Microservices
Java High-Performance Architecture
Java High-Performance Architecture
Dec 15, 2022 · Backend Development

How to Build a High‑Performance Follow Service with MySQL, Redis, and Spring Boot

This article explains how to design and implement a friend/follow microservice using MySQL for persistence and Redis sets for efficient set operations, covering database schema, Spring Boot configuration, Redis template setup, service and controller logic, and testing of follow, unfollow, and mutual‑follow features.

Follow ServiceJavaMicroservice
0 likes · 19 min read
How to Build a High‑Performance Follow Service with MySQL, Redis, and Spring Boot
Top Architect
Top Architect
Dec 15, 2022 · Backend Development

Graceful Shutdown of Spring Boot Applications: Avoiding kill -9 Pitfalls

This article explains why using the Linux kill -9 command to stop Java services can cause data loss, demonstrates the differences between forceful and graceful termination, and provides multiple Spring Boot shutdown solutions—including kill -15, actuator endpoints, custom Tomcat connectors, and @PreDestroy hooks—complete with code examples.

Graceful ShutdownJavaKill Command
0 likes · 21 min read
Graceful Shutdown of Spring Boot Applications: Avoiding kill -9 Pitfalls
Top Architect
Top Architect
Dec 13, 2022 · Backend Development

Implementing Request/Response Encryption and Decryption with a Spring Boot Starter

This article explains how to create a reusable Spring Boot starter that automatically encrypts outgoing responses and decrypts incoming requests using AES, provides a request‑wrapper to allow multiple reads of the input stream, and integrates Spring Validation to simplify parameter checking, all illustrated with complete Java code examples.

JavaSpring BootStarter
0 likes · 25 min read
Implementing Request/Response Encryption and Decryption with a Spring Boot Starter
Top Architect
Top Architect
Dec 8, 2022 · Backend Development

Spring Retry and Guava Retry: A Comprehensive Guide with Code Examples

This article introduces the Spring‑Retry and Guava‑Retry frameworks for Java, explains their dependencies, configuration, policies, and back‑off strategies, demonstrates both XML/annotation and programmatic usage with detailed code samples, and compares their flexibility and suitability for backend applications.

Guava RetryJavaSpring Boot
0 likes · 15 min read
Spring Retry and Guava Retry: A Comprehensive Guide with Code Examples
Top Architect
Top Architect
Dec 8, 2022 · Backend Development

Common MyBatis Batch Insert Techniques and Performance Comparison

This article presents a detailed overview of five commonly used MyBatis and MyBatis-Plus batch insertion methods, including code examples, configuration steps, and performance measurements for inserting ten thousand records, helping developers choose the most efficient approach for large‑scale data insertion in Java backend projects.

Batch InsertJavaMyBatis
0 likes · 11 min read
Common MyBatis Batch Insert Techniques and Performance Comparison
Java Captain
Java Captain
Dec 8, 2022 · Backend Development

Design and Implementation of a Friend Follow Microservice Using MySQL and Redis

This article explains how to design and implement a friend follow microservice by combining MySQL for persistent storage with Redis sets for efficient follow/unfollow operations and mutual follow queries, covering database schema, Maven dependencies, Spring Boot configuration, RedisTemplate setup, service and controller logic, and testing procedures.

Follow FeatureJavaMicroservice
0 likes · 15 min read
Design and Implementation of a Friend Follow Microservice Using MySQL and Redis