Tagged articles

Spring Boot

4358 articles · Page 30 of 44
macrozheng
macrozheng
Aug 31, 2022 · Backend Development

How to Install MinIO and Integrate It with Spring Boot for File Uploads

This guide introduces MinIO, an open‑source, S3‑compatible object storage written in Go, outlines its key features and deployment via Docker, and demonstrates step‑by‑step integration with Spring Boot to upload files through the MinIO SDK, including configuration, controller code, and testing.

DockerMinIOS3 Compatibility
0 likes · 8 min read
How to Install MinIO and Integrate It with Spring Boot for File Uploads
Java Architect Essentials
Java Architect Essentials
Aug 30, 2022 · Backend Development

Mastering Retry Logic in Java: Spring‑Retry vs Guava‑Retry

This article explains how to implement robust retry mechanisms in Java applications by comparing Spring‑Retry's declarative exception‑based approach with Guava‑Retry's flexible result‑oriented strategy, covering dependencies, configuration, policies, back‑off options, annotation usage, and practical code examples.

Backoff StrategyException HandlingGuava Retry
0 likes · 14 min read
Mastering Retry Logic in Java: Spring‑Retry vs Guava‑Retry
Architect's Guide
Architect's Guide
Aug 30, 2022 · Backend Development

Implementing Database Read‑Write Separation with Spring Boot

This article explains how to achieve database read‑write separation in high‑concurrency Java applications by configuring master‑slave data sources, implementing a routing datasource, managing context with ThreadLocal, and using custom annotations with AOP to switch between read and write databases at runtime.

AOPDataSource RoutingRead-Write Separation
0 likes · 10 min read
Implementing Database Read‑Write Separation with Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Aug 29, 2022 · Backend Development

Spring Boot Integration with RabbitMQ: Configuring Direct Exchange, Queues, Consumers, and Manual ACK/NACK Handling

This article demonstrates how to integrate Spring Boot with RabbitMQ using a direct exchange, configuring queues, producers, and two consumers, and explains manual acknowledgment mechanisms (ACK, NACK, Reject) to ensure reliable message processing and handling of consumer failures.

Consumer FailureDirect ExchangeSpring Boot
0 likes · 14 min read
Spring Boot Integration with RabbitMQ: Configuring Direct Exchange, Queues, Consumers, and Manual ACK/NACK Handling
Code Ape Tech Column
Code Ape Tech Column
Aug 29, 2022 · Backend Development

Seven Common Spring Boot Performance Optimization Techniques

This article presents seven practical Spring Boot performance optimization methods—including asynchronous execution, increasing embedded Tomcat connection limits, component scanning, switching to Undertow, using BufferedWriter, DeferredResult, and AsyncHandlerInterceptor—each illustrated with code samples and explanations for improving Java backend applications.

AsynchronousSpring BootTomcat
0 likes · 12 min read
Seven Common Spring Boot Performance Optimization Techniques
Selected Java Interview Questions
Selected Java Interview Questions
Aug 26, 2022 · Backend Development

Integrating Quartz Scheduler with Spring Boot for Custom Task Scheduling

This article provides a comprehensive guide on using the Quartz job‑scheduling library in Java, covering core concepts such as Job, Trigger, and Scheduler, showing Maven setup, sample job and trigger code, Spring Boot configuration, utility classes for creating and managing jobs, handling concurrency, misfire policies, and REST‑based job management.

CronJob SchedulingQuartz
0 likes · 20 min read
Integrating Quartz Scheduler with Spring Boot for Custom Task Scheduling
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 24, 2022 · Information Security

Mastering Custom Exception Handling in Spring Security (Spring Boot 2.4)

This guide explains how Spring Security processes authentication and authorization failures, walks through the default exception flow, and demonstrates multiple ways to customize error handling—including custom failure handlers, access‑denied pages, and JSON responses—using Spring Boot 2.4.12.

Exception HandlingSpring Bootauthentication
0 likes · 12 min read
Mastering Custom Exception Handling in Spring Security (Spring Boot 2.4)
Top Architect
Top Architect
Aug 22, 2022 · Information Security

RBAC and Spring Security Tutorial: From Basic Role-Based Access Control to JWT Integration and JSON Login

This article provides a comprehensive guide on implementing role‑based access control (RBAC) with Spring Security, covering RBAC models, password encryption, in‑memory authentication, JWT integration, custom authentication filters for JSON login, and detailed configuration examples with full source code snippets.

JWTRBACSpring Boot
0 likes · 16 min read
RBAC and Spring Security Tutorial: From Basic Role-Based Access Control to JWT Integration and JSON Login
Java High-Performance Architecture
Java High-Performance Architecture
Aug 21, 2022 · Backend Development

Master Spring Boot Logging: Configure Logback & SLF4J for Powerful Log Management

This guide explains why Logback is the preferred logging framework for Spring Boot, shows how to add the necessary dependencies, configure console and file appenders, customize log patterns, use rolling policies, apply filters, and optimize logging statements with placeholders, all illustrated with clean XML and Java code examples.

Spring BootXMLjava
0 likes · 23 min read
Master Spring Boot Logging: Configure Logback & SLF4J for Powerful Log Management
Selected Java Interview Questions
Selected Java Interview Questions
Aug 20, 2022 · Backend Development

Using Nacos as a Configuration Center in Spring Boot Applications

This article explains why a configuration center is essential for microservices, introduces Nacos as a centralized solution, and provides step‑by‑step instructions with code examples for integrating Nacos into Spring Boot, managing Data IDs, namespaces, groups, and dynamic configuration refresh.

Configuration CenterMicroservicesNacos
0 likes · 14 min read
Using Nacos as a Configuration Center in Spring Boot Applications
Top Architect
Top Architect
Aug 20, 2022 · Backend Development

Using Logback and SLF4J for Logging in Spring Boot Applications

This article explains why Logback is the preferred logging framework for Spring Boot, shows how to add the necessary dependencies, configure logback‑spring.xml with appenders, encoders, filters and rolling policies, and provides best practices for efficient log statements in Java code.

Spring Bootjava
0 likes · 21 min read
Using Logback and SLF4J for Logging in Spring Boot Applications
Alibaba Cloud Native
Alibaba Cloud Native
Aug 20, 2022 · Cloud Native

Deploy a Spring Boot App on Alibaba Cloud Function Compute in Minutes

This step‑by‑step guide shows how to enable Alibaba Cloud Function Compute, create a service and Java 17 function, configure a custom domain, export and edit the generated Spring Boot project, and adjust the listening port, enabling rapid serverless deployment for beginners.

Alibaba CloudCloud NativeFunction Compute
0 likes · 7 min read
Deploy a Spring Boot App on Alibaba Cloud Function Compute in Minutes
Shepherd Advanced Notes
Shepherd Advanced Notes
Aug 19, 2022 · Backend Development

Java IP Geolocation: Retrieve Client Location Using ip2region

This guide explains how to obtain a client’s IP address behind proxies in Java, choose appropriate HTTP headers, and use the open‑source ip2region library to query offline databases for accurate, millisecond‑level IP geolocation, including code examples for Spring Boot integration.

IP GeolocationSpring Bootbackend
0 likes · 15 min read
Java IP Geolocation: Retrieve Client Location Using ip2region
Top Architect
Top Architect
Aug 19, 2022 · Backend Development

Introduction to Spring WebFlux: Reactive Web Development with Spring

This article introduces Spring WebFlux, explains the concept of reactive programming, compares it with Spring WebMVC, describes its concurrency model, and provides complete code examples for building a reactive Spring Boot application using Mono, Flux, functional routing, and WebClient.

Reactive ProgrammingSpring BootSpring WebFlux
0 likes · 9 min read
Introduction to Spring WebFlux: Reactive Web Development with Spring
macrozheng
macrozheng
Aug 18, 2022 · Backend Development

Simplify MyBatis Join Queries with MyBatis-Plus-Join (MPJ) – A Hands‑On Guide

This tutorial demonstrates how to use the MyBatis-Plus-Join (MPJ) library to perform left and right join queries in Spring Boot without writing XML SQL, covering dependency setup, entity and mapper modifications, query construction with MPJLambdaWrapper and MPJQueryWrapper, pagination support, and practical tips.

Join QueryMPJSpring Boot
0 likes · 10 min read
Simplify MyBatis Join Queries with MyBatis-Plus-Join (MPJ) – A Hands‑On Guide
Selected Java Interview Questions
Selected Java Interview Questions
Aug 15, 2022 · Backend Development

Guide to Setting Up MySQL Master‑Slave Replication with MyBatisPlus, ShardingSphereJDBC and Spring Boot for Read‑Write Splitting

This tutorial walks through the complete process of configuring MySQL master‑slave replication, preparing Docker containers, configuring MyBatisPlus and ShardingSphereJDBC for read‑write splitting, building a Spring Boot project with the necessary dependencies, generating code, and testing the setup with sample controller endpoints.

DockerShardingSphereSpring Boot
0 likes · 15 min read
Guide to Setting Up MySQL Master‑Slave Replication with MyBatisPlus, ShardingSphereJDBC and Spring Boot for Read‑Write Splitting
Java High-Performance Architecture
Java High-Performance Architecture
Aug 14, 2022 · Backend Development

Master Unified Responses, Validation, and Exception Handling in Spring Boot Controllers

This article explains how to structure Spring Boot controller requests, apply elegant parameter validation, wrap responses with a consistent ResultVo format, handle validation and business exceptions uniformly using @RestControllerAdvice, and selectively disable wrapping for specific endpoints, providing a complete backend development guide.

ControllerException HandlingSpring Boot
0 likes · 21 min read
Master Unified Responses, Validation, and Exception Handling in Spring Boot Controllers
Alibaba Cloud Native
Alibaba Cloud Native
Aug 13, 2022 · Cloud Computing

Deploy Spring Boot and Express on Alibaba Cloud Serverless in 60 Minutes

This guide walks beginners through the concepts, advantages, and practical steps of using Alibaba Cloud Function Compute to deploy popular web frameworks like Spring Boot and Express, create a custom Web IDE, and configure domains, while highlighting serverless architecture benefits and cost considerations.

Alibaba CloudCloud NativeExpress
0 likes · 20 min read
Deploy Spring Boot and Express on Alibaba Cloud Serverless in 60 Minutes
Cognitive Technology Team
Cognitive Technology Team
Aug 12, 2022 · Backend Development

Handling Large Integer IDs in Java and JavaScript: Preventing Precision Loss with Jackson Configuration

When generating large IDs using Snowflake-like algorithms, Java's 64‑bit long values exceed JavaScript's safe integer range, causing display errors; the article explains how to resolve this by serializing Long values as strings in Spring Boot using Jackson's ToStringSerializer, both via configuration and annotations.

ID SerializationJacksonJavaScript
0 likes · 2 min read
Handling Large Integer IDs in Java and JavaScript: Preventing Precision Loss with Jackson Configuration
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 12, 2022 · Backend Development

How to Integrate JAX‑RS (Jersey) into Spring Boot 2.4: Full Configuration Guide

Learn how to enable JAX‑RS (Jersey) support in Spring Boot 2.4.12 by adding the starter dependency, defining custom endpoints, configuring ResourceConfig, and managing servlets, filters, and listeners, including advanced customizations of embedded servlet containers such as Tomcat, Jetty, and Undertow.

Embedded ServerJAX-RSJersey
0 likes · 8 min read
How to Integrate JAX‑RS (Jersey) into Spring Boot 2.4: Full Configuration Guide
Java Backend Technology
Java Backend Technology
Aug 10, 2022 · Backend Development

Master MyBatis-Plus with Spring Boot: Complete Guide to CRUD, Pagination, and Multi‑DataSource

This tutorial walks through integrating MyBatis-Plus into a Spring Boot project, covering dependency setup, configuration, entity annotations, CRUD service and mapper usage, pagination, logical deletion, enum handling, automatic field filling, and multi‑data‑source management, complete with code examples and testing.

CRUDEnumMulti-DataSource
0 likes · 16 min read
Master MyBatis-Plus with Spring Boot: Complete Guide to CRUD, Pagination, and Multi‑DataSource
Java Architect Essentials
Java Architect Essentials
Aug 9, 2022 · Backend Development

Master MyBatis-Plus in Spring Boot: Quick Start, Configuration, and Advanced Features

This guide walks through integrating MyBatis-Plus with Spring Boot, covering environment setup, Maven dependencies, configuration of data sources, entity annotations, CRUD services, pagination, logical deletion, enum handling, automatic field filling, multi‑data‑source strategies, and testing with full code examples.

DatabaseORMSpring Boot
0 likes · 20 min read
Master MyBatis-Plus in Spring Boot: Quick Start, Configuration, and Advanced Features
Selected Java Interview Questions
Selected Java Interview Questions
Aug 9, 2022 · Backend Development

Understanding and Implementing Idempotency in Backend APIs with Spring Boot and Redis

This article explains the concept of idempotency, why it is needed for HTTP interfaces, the impact on system design, and presents several practical backend solutions—including database unique keys, optimistic locking, anti‑repeat tokens, and downstream sequence numbers—accompanied by complete Spring Boot code examples using Redis for token management.

REST APISpring Bootbackend development
0 likes · 20 min read
Understanding and Implementing Idempotency in Backend APIs with Spring Boot and Redis
Top Architect
Top Architect
Aug 9, 2022 · Backend Development

Building a Spring Boot Lottery System with Redis and MyBatis‑Plus

This article demonstrates how to create a simple lottery application using Spring Boot, MyBatis‑Plus, and Redis, covering project setup, database schema, dependency configuration, Redis integration, event‑driven data initialization, lottery draw logic, stock management, and asynchronous record handling.

LotteryRedisSpring Boot
0 likes · 23 min read
Building a Spring Boot Lottery System with Redis and MyBatis‑Plus
Top Architect
Top Architect
Aug 9, 2022 · Backend Development

Implementing a JWT-Based Authentication Center with Spring Boot and Java

This article provides a comprehensive guide to building a JWT authentication service in Java, covering JWT fundamentals, Spring Boot configuration, entity and DAO definitions, service interfaces, token generation and parsing, RSA key handling, controller endpoints, testing procedures, and a comparison with traditional session-based authentication.

JWTMicroservicesRSA
0 likes · 20 min read
Implementing a JWT-Based Authentication Center with Spring Boot and Java
Top Architect
Top Architect
Aug 5, 2022 · Backend Development

Comprehensive Guide to Using MyBatis-Plus with Spring Boot

This article provides a detailed tutorial on integrating MyBatis-Plus into a Spring Boot project, covering dependency setup, configuration, entity annotations, CRUD operations, pagination, logical deletion, enum handling, automatic field filling, and multi‑datasource support, with complete code examples.

CRUDEnumMulti-DataSource
0 likes · 17 min read
Comprehensive Guide to Using MyBatis-Plus with Spring Boot
Programmer DD
Programmer DD
Aug 2, 2022 · Backend Development

9 Proven Ways to Read Files from the resources Folder in Spring Boot

This guide details nine practical techniques for accessing files in a Java project's resources folder, covering classloader paths, URL decoding, getFile vs getPath, InputStream retrieval, ClassPathResource usage, absolute paths, and environment variable methods, with complete code examples for each approach.

File I/OResourcesSpring Boot
0 likes · 10 min read
9 Proven Ways to Read Files from the resources Folder in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 1, 2022 · Backend Development

Mastering Spring Boot Static Resources and Content Negotiation

This article explains how Spring Boot serves static resources from default locations, how to customize static path patterns and resource locations, handle Webjars, configure content negotiation with parameters and custom media types, and integrate template engines such as Thymeleaf, FreeMarker, and Mustache.

Content negotiationSpring Bootstatic resources
0 likes · 8 min read
Mastering Spring Boot Static Resources and Content Negotiation
Java Backend Technology
Java Backend Technology
Jul 31, 2022 · Backend Development

Mastering Single Sign-On (SSO) with CAS: From Session Basics to Full Demo

This article explains why unified authentication is essential for product suites, reviews traditional session mechanisms and their limitations in clustered environments, explores session‑sharing strategies, introduces CAS‑based SSO workflows, compares CAS with OAuth2, and provides a complete Spring Boot demo with code snippets and configuration details.

CASRedisSSO
0 likes · 17 min read
Mastering Single Sign-On (SSO) with CAS: From Session Basics to Full Demo
Java High-Performance Architecture
Java High-Performance Architecture
Jul 29, 2022 · Backend Development

Master MyBatis-Plus in Spring Boot: Setup, Config, and Advanced Usage

A comprehensive guide walks you through integrating MyBatis-Plus with Spring Boot, detailing dependency setup, configuration, entity annotations, CRUD operations, pagination, logical deletion, enum mapping, automatic field filling, multi‑datasource handling, and testing, all illustrated with runnable code examples.

CRUDMulti-DataSourceORM
0 likes · 19 min read
Master MyBatis-Plus in Spring Boot: Setup, Config, and Advanced Usage
Top Architect
Top Architect
Jul 29, 2022 · Backend Development

Implementing API Idempotency in Spring Boot Using Tokens, Database Primary Keys, Optimistic Locks, and Redis

This article explains the concept of idempotency in computing and HTTP, why it is essential for APIs, the impact on system design, which RESTful methods are idempotent, and presents four practical implementation strategies—including database primary keys, optimistic locking, anti‑repeat tokens, and downstream sequence numbers—accompanied by complete Spring Boot code examples and testing procedures.

APIDatabaseIdempotency
0 likes · 22 min read
Implementing API Idempotency in Spring Boot Using Tokens, Database Primary Keys, Optimistic Locks, and Redis
Architecture Digest
Architecture Digest
Jul 29, 2022 · Databases

Guide to Setting Up MySQL Master‑Slave Replication with MyBatis‑Plus, ShardingSphereJDBC and Spring Boot for Read‑Write Splitting

This tutorial explains how to configure MySQL master‑slave replication using Docker, set up read‑write splitting with ShardingSphereJDBC, integrate MyBatis‑Plus, and build a Spring Boot application that demonstrates write operations on the master and read operations on the slave.

Database ReplicationMySQLShardingSphere
0 likes · 16 min read
Guide to Setting Up MySQL Master‑Slave Replication with MyBatis‑Plus, ShardingSphereJDBC and Spring Boot for Read‑Write Splitting
Architect
Architect
Jul 28, 2022 · Information Security

Implementing Data Masking in MySQL and Java Using MyBatis‑Mate Sensitive Jackson

This article demonstrates how to mask sensitive data such as phone numbers, ID cards, and emails in MySQL and Java applications by combining SQL string functions with the MyBatis‑Mate Sensitive Jackson plugin, providing complete configuration, custom strategies, and runnable Spring Boot examples.

MyBatisSQLSpring Boot
0 likes · 9 min read
Implementing Data Masking in MySQL and Java Using MyBatis‑Mate Sensitive Jackson
Su San Talks Tech
Su San Talks Tech
Jul 28, 2022 · Backend Development

Asynchronous Java Programming: Threads, Futures, CompletableFuture & Spring @Async

This article introduces asynchronous programming concepts in Java, explaining how multithreading, Future, FutureTask, CompletableFuture, and Spring's @Async annotation can transform synchronous workflows into high‑throughput, low‑latency solutions, with code examples and practical guidance for implementing each technique.

Asynchronous ProgrammingCompletableFutureSpring Boot
0 likes · 17 min read
Asynchronous Java Programming: Threads, Futures, CompletableFuture & Spring @Async
Java Architecture Diary
Java Architecture Diary
Jul 26, 2022 · Backend Development

How to Integrate and Use mica-mqtt Java Client in Spring Boot

This guide introduces the open‑source mica‑mqtt library built on t‑io, explains how to add the Spring Boot starter dependency, configure client options, implement connection listeners, customize settings, perform subscriptions and publishing, and also covers shared subscription modes, jfinal integration, and usage in plain Java projects.

Spring Bootjavamica-mqtt
0 likes · 10 min read
How to Integrate and Use mica-mqtt Java Client in Spring Boot
Top Architect
Top Architect
Jul 25, 2022 · Backend Development

Using @Scheduled in Spring Boot for Task Scheduling: Configuration, Parameters, and Multi‑threading

This article explains how to create and configure Spring Boot scheduled tasks with @Scheduled, covering property‑based settings, cron expressions, fixed‑rate and fixed‑delay options, the required @EnableScheduling annotation, and how to switch from the default single‑thread executor to a multi‑threaded pool for concurrent execution.

CronScheduled TasksSpring Boot
0 likes · 9 min read
Using @Scheduled in Spring Boot for Task Scheduling: Configuration, Parameters, and Multi‑threading
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 25, 2022 · Backend Development

Mastering Spring MVC Auto-Configuration in Spring Boot 2.4.12

This guide explains how Spring Boot 2.4.12 automatically configures Spring MVC components such as view resolvers, converters, and message handlers, and shows how to customize them via WebMvcConfigurer, WebMvcRegistrations, HttpMessageConverters, and @JsonComponent, including code examples for full control over the Web MVC setup.

HttpMessageConvertersSpring BootWebMvcConfigurer
0 likes · 8 min read
Mastering Spring MVC Auto-Configuration in Spring Boot 2.4.12
Selected Java Interview Questions
Selected Java Interview Questions
Jul 24, 2022 · Backend Development

Spring Boot Multi‑Environment Configuration and JVM Parameter Tuning Guide

This article demonstrates how to configure Spring Boot for multiple environments, retrieve custom parameters, package and run the application, modify startup settings via system variables or command‑line arguments, and explains the priority and detailed JVM options for optimizing a Spring Boot service.

ConfigurationJVMMulti-Environment
0 likes · 10 min read
Spring Boot Multi‑Environment Configuration and JVM Parameter Tuning Guide
Architect's Alchemy Furnace
Architect's Alchemy Furnace
Jul 24, 2022 · Backend Development

Unlocking Spring Boot Starters: Simplify Java Projects with Auto‑Configuration

This article explains the principles behind Spring Boot Starters, how auto‑configuration works via META‑INF/spring.factories, provides practical code examples, and lists the most common starters to help Java developers streamline dependency management and reduce configuration complexity.

Spring Bootauto-configurationbackend development
0 likes · 9 min read
Unlocking Spring Boot Starters: Simplify Java Projects with Auto‑Configuration
Selected Java Interview Questions
Selected Java Interview Questions
Jul 22, 2022 · Backend Development

WeChat Open Platform QR Code Login Integration with Spring Boot

This article explains how to implement WeChat QR code login using OAuth2.0 in a Spring Boot backend, detailing the authorization flow, required configuration, code examples for obtaining access tokens, user authentication, Spring AOP login verification, and exception handling to securely integrate WeChat login into a Java application.

OAuth2QR loginSpring Boot
0 likes · 11 min read
WeChat Open Platform QR Code Login Integration with Spring Boot
Java Backend Technology
Java Backend Technology
Jul 22, 2022 · Backend Development

Why Unified API Responses Matter: Mastering Spring Boot Controllers and AOP

This article explains common pitfalls in Java API design—such as inconsistent return formats, missing error handling, and inappropriate parameters—and demonstrates how a unified ResultBean, strict controller conventions, and AOP logging can dramatically improve code readability, maintainability, and error management in Spring Boot projects.

AOPAPI DesignResultBean
0 likes · 10 min read
Why Unified API Responses Matter: Mastering Spring Boot Controllers and AOP
Java Architect Essentials
Java Architect Essentials
Jul 20, 2022 · Information Security

Spring Security Based System Permission Management Tutorial

This article provides a comprehensive step‑by‑step guide on building a permission management system with Spring Security, covering database design, entity classes, Maven configuration, security configuration, dynamic menu loading, front‑end rendering using Thymeleaf, and complete testing with sample code and screenshots.

Permission ManagementSpring Bootauthentication
0 likes · 19 min read
Spring Security Based System Permission Management Tutorial
Sohu Tech Products
Sohu Tech Products
Jul 20, 2022 · Backend Development

Diagnosing Thread Blocking in a Spring Boot Service Caused by Logback Configuration Errors

This article details a step‑by‑step investigation of a Java Spring‑Boot service that suffered nightly response‑time alerts, revealing that misconfigured Logback file paths caused cross‑volume log rotation, thread blocking, and ultimately a production outage, and shows how gray‑deployment and environment fixes resolved the issue.

KubernetesSpring Bootjava
0 likes · 13 min read
Diagnosing Thread Blocking in a Spring Boot Service Caused by Logback Configuration Errors
Architect's Guide
Architect's Guide
Jul 19, 2022 · Backend Development

Design and Implementation of a Custom Java RPC Framework

This article presents a comprehensive overview of a hand‑crafted RPC framework built with Spring Boot, Netty, and Zookeeper, covering its core concepts, architecture, custom message protocol, load‑balancing strategies, serialization choices, starter design, deployment steps, and testing procedures.

NettyRPCSpring Boot
0 likes · 15 min read
Design and Implementation of a Custom Java RPC Framework
Programmer DD
Programmer DD
Jul 18, 2022 · Backend Development

Mastering Caffeine Cache: Algorithms, Configurations, and Spring Boot Integration

This article explains the advantages of Caffeine Cache's W‑TinyLFU algorithm over traditional FIFO, LRU, and LFU policies, details its eviction and reference‑type strategies, and provides step‑by‑step guidance for integrating Caffeine into Spring Boot applications with code examples and configuration tips.

Cache EvictionCaffeine cacheSpring Boot
0 likes · 27 min read
Mastering Caffeine Cache: Algorithms, Configurations, and Spring Boot Integration
Selected Java Interview Questions
Selected Java Interview Questions
Jul 17, 2022 · Backend Development

Unified Global Response and Exception Handling in Spring Boot

This article explains how to implement a unified response format and centralized exception handling in Spring Boot applications using @RestControllerAdvice, @ControllerAdvice, ResponseBodyAdvice, and custom response entities, providing code examples and best‑practice guidelines for robust backend APIs.

Exception HandlingGlobal ResponseResponseBodyAdvice
0 likes · 13 min read
Unified Global Response and Exception Handling in Spring Boot
Architecture Digest
Architecture Digest
Jul 17, 2022 · Information Security

Step-by-Step Guide to Setting Up CAS Single Sign-On (SSO) with Java Backend

This tutorial explains what SSO and CAS are, outlines the required development environment, walks through downloading, building, and deploying the CAS Server, shows how to configure the server and client (including disabling HTTPS for testing), and demonstrates successful cross‑application authentication with code examples.

CASSSOSpring Boot
0 likes · 7 min read
Step-by-Step Guide to Setting Up CAS Single Sign-On (SSO) with Java Backend
Top Architect
Top Architect
Jul 13, 2022 · Backend Development

Configurable Data Masking in Spring Boot Using Custom Annotations and Jackson

This article demonstrates how to implement a flexible data‑masking solution for sensitive fields in Spring Boot APIs by defining a custom annotation, creating a serializer, integrating it with Jackson via an AnnotationIntrospector, configuring the ObjectMapper, and applying the annotation to domain objects.

Custom AnnotationJacksonSpring Boot
0 likes · 7 min read
Configurable Data Masking in Spring Boot Using Custom Annotations and Jackson
Top Architect
Top Architect
Jul 11, 2022 · Information Security

Implementing CAS Single Sign‑On with a Custom Authentication Filter in Spring Boot

This article explains how to integrate the CAS (Central Authentication Service) single sign‑on solution into a Spring Boot backend by adding necessary dependencies, configuring a series of CAS filters, creating a custom MyAuthenticationFilter to handle AJAX requests, and demonstrating a Vue.js frontend that interacts with the authentication flow, complete with screenshots of the login, ticket validation, and logout processes.

CASSingle Sign-OnSpring Boot
0 likes · 14 min read
Implementing CAS Single Sign‑On with a Custom Authentication Filter in Spring Boot
Top Architect
Top Architect
Jul 10, 2022 · Backend Development

Understanding Spring Boot Caching with JCache, Annotations, and Redis Integration

This article explains Spring Boot's caching mechanism based on the JSR‑107 JCache specification, details core interfaces and implementations like Cache, AbstractValueAdaptingCache, and ConcurrentMapCache, demonstrates cache annotations such as @Cacheable, @CachePut and @CacheEvict, and shows how to replace the default in‑memory cache with Redis using Docker, StringRedisTemplate, and custom serialization.

JCacheRedisSpring Boot
0 likes · 16 min read
Understanding Spring Boot Caching with JCache, Annotations, and Redis Integration
Programmer DD
Programmer DD
Jul 6, 2022 · Backend Development

Why Does Spring Create Two UserManager Beans? Uncovering @Configuration vs @Component Behavior

This article explains why a Spring Boot application can end up with two UserManager beans—one from @Configuration + @Bean and another from @Component—by analyzing bean definition overriding, the role of ConfigurationClassPostProcessor, and the impact of the allowBeanDefinitionOverriding setting across Spring versions.

Bean OverridingComponentConfiguration
0 likes · 9 min read
Why Does Spring Create Two UserManager Beans? Uncovering @Configuration vs @Component Behavior
Top Architect
Top Architect
Jul 5, 2022 · Backend Development

Advanced Asynchronous Execution and Performance Tuning in Spring Boot

This article explains multiple Spring Boot asynchronous execution techniques—such as @Async, CompletableFuture, WebAsyncTask, DeferredResult, and AsyncHandlerInterceptor—provides complete Java code examples, and discusses performance optimizations like increasing Tomcat connection limits, switching to Undertow, using ComponentScan, and buffered I/O.

AsynchronousSpring BootTomcat
0 likes · 9 min read
Advanced Asynchronous Execution and Performance Tuning in Spring Boot
Java Captain
Java Captain
Jul 5, 2022 · Frontend Development

Music Website Project – Full‑Stack Implementation with Vue 3 and Spring Boot

This article introduces a music website built with Vue 3 on the client side and Spring Boot + MyBatis on the server side, detailing its features, technology stack, development environment, and step‑by‑step instructions for downloading, configuring, and running the full‑stack application.

Full-StackMySQLSpring Boot
0 likes · 7 min read
Music Website Project – Full‑Stack Implementation with Vue 3 and Spring Boot
Java High-Performance Architecture
Java High-Performance Architecture
Jul 5, 2022 · Backend Development

How Spring Boot Auto‑Configures Embedded Tomcat: A Deep Dive

This article explains Spring Boot’s auto‑configuration mechanism, focusing on how the spring‑boot‑autoconfigure module automatically sets up the embedded Tomcat server, detailing the relevant Maven dependencies, configuration classes, conditional annotations, and the lifecycle steps that create and start the Tomcat container.

Embedded TomcatMavenSpring Boot
0 likes · 15 min read
How Spring Boot Auto‑Configures Embedded Tomcat: A Deep Dive
Java High-Performance Architecture
Java High-Performance Architecture
Jul 3, 2022 · Backend Development

Securing Spring Boot APIs with Request/Response Encryption via ControllerAdvice

This article walks through implementing symmetric request and response encryption for Spring Boot APIs—covering requirements, data models, controller examples, debugging serialization issues, and using ControllerAdvice with Jackson to ensure encrypted payloads remain compatible across Android, iOS, and H5 clients.

AESAPI EncryptionControllerAdvice
0 likes · 13 min read
Securing Spring Boot APIs with Request/Response Encryption via ControllerAdvice
Architect
Architect
Jul 2, 2022 · Backend Development

Asynchronous Execution Techniques in Spring Boot with CompletableFuture

The article explains multiple methods for implementing asynchronous execution in Spring Boot, covering @Async annotation, Java 8 CompletableFuture, Callable, WebAsyncTask, DeferredResult, Tomcat connection tuning, container switching to Undertow, and async interception, all illustrated with complete code examples.

AsynchronousCompletableFutureSpring Boot
0 likes · 11 min read
Asynchronous Execution Techniques in Spring Boot with CompletableFuture
Top Architect
Top Architect
Jul 2, 2022 · Backend Development

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

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

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

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

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

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

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

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

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

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

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

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

Implementing QR Code Login with WebSocket in Spring Boot

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Handling Dead Letter Queues in RabbitMQ with Spring Boot

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

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

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

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

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

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

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

DockerIstioKubernetes
0 likes · 16 min read
Building a Spring Boot Microservice Demo with gRPC and Istio on Kubernetes
Shepherd Advanced Notes
Shepherd Advanced Notes
Jun 23, 2022 · Backend Development

Eureka Service Registry: Introduction, Core Concepts, and Hands‑On Setup

This article explains what Eureka is, describes its core concepts such as registration, renewal, fetching registries, cancellation and eviction, and provides step‑by‑step instructions with code to set up a Eureka server, a service provider and a consumer using Spring Cloud, illustrating load‑balancing and cache‑refresh behavior.

EurekaMicroservicesSpring Boot
0 likes · 12 min read
Eureka Service Registry: Introduction, Core Concepts, and Hands‑On Setup
Code Ape Tech Column
Code Ape Tech Column
Jun 23, 2022 · Backend Development

Encrypting Spring Boot Configuration Files with jasypt-spring-boot

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

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

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

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

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

Spring Boot Best Practices: A Comprehensive Guide for Backend Development

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

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

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

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

Dependency ManagementSpring Bootbackend development
0 likes · 13 min read
Spring Boot Best Practices: A Comprehensive Guide for Modern Java Backend Development