Tagged articles
3874 articles
Page 18 of 39
Architect
Architect
Jan 17, 2024 · Backend Development

How to Build a Custom Spring Security Authentication Flow with Redis Token Management

This article walks through the complete process of implementing a custom login authentication in Spring Boot, including custom authentication filters, success/failure handlers, a token stored in Redis, role‑based URL security, and detailed configuration of Spring Security headers and session handling.

Custom AuthenticationJavaRedis
0 likes · 24 min read
How to Build a Custom Spring Security Authentication Flow with Redis Token Management
IT Services Circle
IT Services Circle
Jan 16, 2024 · Backend Development

Cache Prewarming Techniques and Implementation in Spring Boot and Redis

This article explains cache prewarming—its purpose, benefits, and various strategies such as startup loading, scheduled tasks, manual triggers, and cache loaders—while providing concrete Spring Boot and Redis examples, including code snippets for ApplicationReadyEvent, CommandLineRunner, InitializingBean, @PostConstruct, @Scheduled, and Caffeine cache loader.

Backend PerformanceCacheCaffeine
0 likes · 9 min read
Cache Prewarming Techniques and Implementation in Spring Boot and Redis
Selected Java Interview Questions
Selected Java Interview Questions
Jan 14, 2024 · Backend Development

Introducing Liteflow: A Lightweight Java Rule Engine for Backend Development

This article explains the concepts, architecture, and practical usage of Liteflow, a lightweight Java rule engine that integrates with Spring Boot, supports various rule file formats, multiple component types, data contexts, and configuration options for building complex workflow processes in backend applications.

JavaLiteFlowRule Engine
0 likes · 9 min read
Introducing Liteflow: A Lightweight Java Rule Engine for Backend Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 14, 2024 · Backend Development

Master Spring Boot 3.0.9: Access Command‑Line, JSON, YAML, Encryption & More

This guide demonstrates how to retrieve command‑line arguments, use JSON‑encoded properties, load external configuration files, encrypt values, parse YAML, generate random properties, handle internationalization, customize the banner, and configure the application context in Spring Boot 3.0.9, providing code examples for each feature.

JavaSpring BootYAML
0 likes · 9 min read
Master Spring Boot 3.0.9: Access Command‑Line, JSON, YAML, Encryption & More
Top Architect
Top Architect
Jan 10, 2024 · Backend Development

Implementing Automatic Order Cancellation After 30 Minutes in Spring Boot

This article explains three Spring Boot approaches—using @Scheduled tasks, RabbitMQ delayed queues, and Redis key‑expiration events—to automatically cancel orders that remain unpaid for 30 minutes, complete with code samples and configuration guidance.

BackendOrder CancellationRabbitMQ
0 likes · 8 min read
Implementing Automatic Order Cancellation After 30 Minutes in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Jan 10, 2024 · Backend Development

Understanding Spring Boot Extension Points: Initializers, Listeners, Runners, BeanFactoryPostProcessor, and BeanPostProcessor

This article explains the core extension points of Spring Boot—including ApplicationContextInitializer, ApplicationListener, Runner, BeanFactoryPostProcessor, and BeanPostProcessor—showing how they are discovered via SPI, registered in spring.factories, and invoked during the application startup lifecycle.

ApplicationContextInitializerBeanFactoryPostProcessorBeanPostProcessor
0 likes · 7 min read
Understanding Spring Boot Extension Points: Initializers, Listeners, Runners, BeanFactoryPostProcessor, and BeanPostProcessor
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 8, 2024 · Information Security

Understanding SQL Injection and Prevention with Spring Boot and MyBatis

This article explains the concept of SQL injection, demonstrates a vulnerable query example, and provides a step‑by‑step Spring Boot and MyBatis implementation—including table creation, Java controller, service, DAO, mapper, and configuration—to illustrate how proper parameter handling prevents injection attacks.

JavaMyBatisSQL injection
0 likes · 10 min read
Understanding SQL Injection and Prevention with Spring Boot and MyBatis
Programmer DD
Programmer DD
Jan 8, 2024 · Artificial Intelligence

How to Add Generative AI to Your Spring Boot App with Spring AI

This tutorial walks you through creating a Spring Boot project, configuring OpenAI credentials, building a controller, and using Spring AI's Prompt and PromptTemplate classes to integrate generative AI capabilities into your backend application.

Backend DevelopmentGenerative AIJava
0 likes · 5 min read
How to Add Generative AI to Your Spring Boot App with Spring AI
Su San Talks Tech
Su San Talks Tech
Jan 8, 2024 · Backend Development

How Xxl-Job Works: Inside the Lightweight Distributed Scheduler

This article explains the core concepts, architecture, and implementation details of Xxl-Job, a lightweight distributed task scheduling platform, covering the scheduler center, executor, job handling, demo setup, routing strategies, trigger mechanisms, and result callbacks.

BackendJavaSpring Boot
0 likes · 20 min read
How Xxl-Job Works: Inside the Lightweight Distributed Scheduler
Architect's Guide
Architect's Guide
Jan 7, 2024 · Information Security

Implementing RSA Encryption and Decryption in Spring Boot APIs

This guide explains how to secure Spring Boot API responses using RSA asymmetric encryption, covering the theory of RSA, practical scenarios, Maven setup, annotation‑based encryption/decryption, configuration files, and a JavaScript front‑end example for encrypting request payloads.

API SecurityJavaRSA
0 likes · 10 min read
Implementing RSA Encryption and Decryption in Spring Boot APIs
Java High-Performance Architecture
Java High-Performance Architecture
Jan 6, 2024 · Backend Development

Boost Java Development with MyBatis-Plus Generator UI: A Complete Guide

This article introduces the MyBatis‑Plus Generator UI, a highly customizable web‑based code generation framework that supports multiple databases, explains its core features, provides step‑by‑step integration with Spring Boot, and demonstrates how to extend templates and configure naming conventions for efficient backend development.

MyBatis-PlusSpring Bootcode generation
0 likes · 13 min read
Boost Java Development with MyBatis-Plus Generator UI: A Complete Guide
Programmer DD
Programmer DD
Jan 5, 2024 · Backend Development

How Fast Are Virtual Threads in Spring Boot 3.2 for Static File Servers?

This article evaluates the performance of Spring Boot 3.2's virtual threads when serving static files, comparing them with traditional platform threads across various concurrency levels, and concludes that platform threads slightly outperform virtual threads in this I/O‑bound scenario while suggesting better use cases for database‑driven workloads.

Spring BootStatic File Serverjava-21
0 likes · 12 min read
How Fast Are Virtual Threads in Spring Boot 3.2 for Static File Servers?
Open Source Linux
Open Source Linux
Jan 5, 2024 · Information Security

Secure Spring Boot Deployments with ClassFinal: Code Encryption & Machine‑Bound Launch

This guide explains how to protect Spring Boot production packages from decompilation by using the ClassFinal Maven plugin for code encryption, configuring machine‑bound startup, and comparing it with ProGuard obfuscation, including detailed plugin setup, launch commands, and observed decompilation results.

ClassFinalCode EncryptionMaven Plugin
0 likes · 7 min read
Secure Spring Boot Deployments with ClassFinal: Code Encryption & Machine‑Bound Launch
Selected Java Interview Questions
Selected Java Interview Questions
Jan 4, 2024 · Backend Development

Preventing Duplicate Form Submissions with a Redis‑Based Request Lock in Spring Boot

This article explains why duplicate form submissions occur, the risks they pose, and demonstrates a Spring Boot solution that uses a custom @RequestLock annotation together with Redis SETNX to generate a unique key and block rapid repeated requests, complete with project setup, code examples, and usage instructions.

AOPJavaRedis
0 likes · 12 min read
Preventing Duplicate Form Submissions with a Redis‑Based Request Lock in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jan 4, 2024 · Backend Development

Creating an Enterprise-Grade OSS Object Storage Spring Boot Starter

This article provides a step‑by‑step guide to building a Spring Boot starter that abstracts Amazon S3‑compatible object storage services such as Alibaba Cloud OSS, Tencent COS, Qiniu OSS, and MinIO, covering dependency setup, configuration properties, template interfaces, implementation, auto‑configuration, packaging, and testing.

Amazon S3BackendJava
0 likes · 15 min read
Creating an Enterprise-Grade OSS Object Storage Spring Boot Starter
Programmer DD
Programmer DD
Jan 2, 2024 · Backend Development

How to Seamlessly Upgrade Spring Boot 2.x to 3.x – Step-by-Step Guide

This guide walks developers through upgrading from Spring Boot 2.x to 3.x, covering JDK 17 migration, pom.xml changes, configuration property updates, Jakarta EE transition, security reconfiguration, Kafka template adjustments, and OpenAPI integration, with code examples for each step.

JavaKafkaSpring Boot
0 likes · 9 min read
How to Seamlessly Upgrade Spring Boot 2.x to 3.x – Step-by-Step Guide
Programmer DD
Programmer DD
Jan 2, 2024 · Backend Development

How to Integrate Generative AI into Spring Boot with Spring AI

This article summarizes a video tutorial that introduces Spring AI, a new project enabling generative AI in Spring Boot applications, demonstrates adding dependencies, configuring OpenAI or Azure OpenAI API keys, using prompts, templates, output parsers, and showcases converting AI responses into domain objects.

Backend DevelopmentGenerative AIOpenAI
0 likes · 5 min read
How to Integrate Generative AI into Spring Boot with Spring AI
macrozheng
macrozheng
Dec 28, 2023 · Backend Development

Master Spring Boot Validation: 10 Essential Tips & Custom Annotations

This article explains ten practical techniques for implementing robust parameter validation in Spring Boot applications, covering built‑in annotations, custom constraints, server‑side checks, internationalization, validation groups, cross‑field rules, exception handling, testing, and the importance of complementary client‑side validation.

JavaSpring Bootannotations
0 likes · 17 min read
Master Spring Boot Validation: 10 Essential Tips & Custom Annotations
Java High-Performance Architecture
Java High-Performance Architecture
Dec 28, 2023 · Backend Development

How to Perform Fuzzy Search on Encrypted Fields in Java Applications

This article explains why traditional LIKE queries fail on encrypted sensitive fields, analyzes common scenarios, and presents four practical solutions—including tokenized ciphertext mapping—along with environment setup, Maven dependencies, and complete Spring Boot code to enable secure fuzzy searches on encrypted data.

DatabaseJavaMyBatis
0 likes · 13 min read
How to Perform Fuzzy Search on Encrypted Fields in Java Applications
Architect
Architect
Dec 27, 2023 · Backend Development

Master MyBatis‑Plus in Spring Boot: From Quick Start to Advanced Features

This guide walks through integrating MyBatis‑Plus with Spring Boot, covering dependency setup, configuration, entity annotations, CRUD operations, pagination, logical deletion, enum handling, automatic field filling, multi‑data‑source support, and testing with concrete code examples and detailed explanations.

CRUDEnum MappingLogical Deletion
0 likes · 20 min read
Master MyBatis‑Plus in Spring Boot: From Quick Start to Advanced Features
Architecture Digest
Architecture Digest
Dec 26, 2023 · Backend Development

Introducing mybatis-plus-generator-ui: A Web UI Code Generator for MyBatis-Plus

This article introduces mybatis-plus-generator-ui, a highly customizable web‑based code generator built on MyBatis‑Plus that supports multiple databases, offers interactive UI for generating Entity, Mapper, Service, Controller and other layers, and provides detailed usage, configuration, and extension instructions for Java backend developers.

Code GeneratorJavaMaven
0 likes · 14 min read
Introducing mybatis-plus-generator-ui: A Web UI Code Generator for MyBatis-Plus
Selected Java Interview Questions
Selected Java Interview Questions
Dec 26, 2023 · Backend Development

Introducing mybatis-plus-generator-ui: A Web UI Code Generator for MyBatis-Plus

This article presents mybatis-plus-generator-ui, a web‑based code generation framework that wraps MyBatis‑Plus, explains its features, shows how to integrate it via Maven and a Spring Boot entry point, demonstrates customization through templates and NameConverter, and provides guidance for building the UI frontend.

JavaMyBatis-PlusSpring Boot
0 likes · 11 min read
Introducing mybatis-plus-generator-ui: A Web UI Code Generator for MyBatis-Plus
Java Backend Technology
Java Backend Technology
Dec 26, 2023 · Backend Development

Exploring Spring Boot 3.2: Java 21, Virtual Threads, and GraalVM Native Images

Spring Boot 3.2 now fully supports Java 21, Project Loom virtual threads, and GraalVM native images, and this guide walks through installing Java 21‑GraalVM, configuring virtual threads, building sample controllers, async and scheduled tasks, and creating a native executable to achieve faster startup and lower memory usage.

Backend DevelopmentSpring Bootgraalvm
0 likes · 9 min read
Exploring Spring Boot 3.2: Java 21, Virtual Threads, and GraalVM Native Images
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 25, 2023 · Backend Development

Comprehensive Guide to Interface Exception Handling in Spring Boot

This article explains how to classify interface exceptions, implement unified handling using Spring Boot's @ControllerAdvice and custom ErrorController, and provides practical code examples for business, system, client, and filter exceptions, including redirect and error page strategies.

Backend DevelopmentControllerAdviceErrorController
0 likes · 19 min read
Comprehensive Guide to Interface Exception Handling in Spring Boot
Java Architect Essentials
Java Architect Essentials
Dec 24, 2023 · Backend Development

How to Add Watermarks to PDFs with Spring Boot: PDFBox, iText, Ghostscript, and More

This article walks through multiple ways to add text or image watermarks to PDF files in a Spring Boot application, covering Apache PDFBox, iText, Ghostscript command‑line, Free Spire.PDF, and Aspose.PDF, with Maven dependencies, step‑by‑step code examples, and practical tips for preserving original documents.

GhostscriptJavaPDF
0 likes · 14 min read
How to Add Watermarks to PDFs with Spring Boot: PDFBox, iText, Ghostscript, and More
Selected Java Interview Questions
Selected Java Interview Questions
Dec 22, 2023 · Backend Development

Implementing Fast File Chunk Upload with Spring Boot and MinIO

This article explains how to build a high‑performance file chunk (slice) upload system using Spring Boot and MinIO, covering project setup, MinIO configuration, controller and service implementation, front‑end integration with Thymeleaf, and performance optimizations such as parallel uploading and resumable transfers.

JavaSpring Bootchunked upload
0 likes · 12 min read
Implementing Fast File Chunk Upload with Spring Boot and MinIO
macrozheng
macrozheng
Dec 22, 2023 · Backend Development

Boost Java Development with MyBatis-Plus Generator UI: A Complete Guide

This article introduces the MyBatis-Plus Generator UI, a web‑based tool that streamlines Spring Boot code generation for entities, mappers, services, and controllers, explains how to integrate it via Maven, configure databases, customize templates, and extend its functionality with custom name converters.

Backend DevelopmentJavaMyBatis-Plus
0 likes · 14 min read
Boost Java Development with MyBatis-Plus Generator UI: A Complete Guide
Programmer DD
Programmer DD
Dec 22, 2023 · Backend Development

Master Spring Boot 3.2 JdbcClient: Fluent API for Simple DB Operations

This guide introduces Spring Boot 3.2's new JdbcClient, explains how to add the dependency, inject it, and perform fluent, chainable CRUD operations—including queries by ID, custom conditions, named parameters, map parameters, row mapping, and inserts—while highlighting its advantages over traditional ORM tools.

DatabaseFluent APIJava
0 likes · 7 min read
Master Spring Boot 3.2 JdbcClient: Fluent API for Simple DB Operations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 22, 2023 · Backend Development

5 Essential Spring Boot 3 Techniques for Validating and Customizing Configuration Properties

This guide demonstrates five practical Spring Boot 3 techniques—including using @ConfigurationProperties with validation, handling missing @Value entries, defining custom property sources, enforcing required properties, and parsing YML files—to ensure robust configuration management and prevent startup failures.

EnvironmentPostProcessorJavaSpring Boot
0 likes · 5 min read
5 Essential Spring Boot 3 Techniques for Validating and Customizing Configuration Properties
JD Cloud Developers
JD Cloud Developers
Dec 20, 2023 · Backend Development

How to Seamlessly Upgrade Spring Boot 2.7 for JDK 17 on JD Cloud

This guide explains why Spring Boot 2.7 is the optimal bridge to JDK 17, details the new language and performance features, provides step‑by‑step deployment and configuration instructions for JD Cloud, and shares practical compatibility fixes and IDE tips for a smooth migration.

JDK 17JavaMigration
0 likes · 20 min read
How to Seamlessly Upgrade Spring Boot 2.7 for JDK 17 on JD Cloud
Architect
Architect
Dec 19, 2023 · Backend Development

How Graceful Response Simplifies Spring Boot API Error Handling

This article analyzes the inefficiencies and duplication in typical Spring Boot controller code, introduces the Graceful Response library, and provides step‑by‑step instructions—including Maven integration, annotation setup, controller and service examples, exception mapping, validation handling, and response style configuration—to achieve cleaner, unified API responses.

Backend DevelopmentException ManagementJava
0 likes · 12 min read
How Graceful Response Simplifies Spring Boot API Error Handling
Java Captain
Java Captain
Dec 19, 2023 · Backend Development

Securing Spring Boot Production Packages with Code Obfuscation and Encryption Using ClassFinal Maven Plugin

This guide explains how to protect Spring Boot production packages from reverse engineering by applying code obfuscation with ProGuard and full encryption using the ClassFinal Maven plugin, including configuration steps, encrypted startup commands, machine‑binding activation, and the resulting decompilation behavior.

ClassFinalJavaMaven
0 likes · 6 min read
Securing Spring Boot Production Packages with Code Obfuscation and Encryption Using ClassFinal Maven Plugin
Java Architecture Diary
Java Architecture Diary
Dec 19, 2023 · Backend Development

Boost Spring Boot 3.x Compatibility with mica-auto Auto-Generated Starter Configs

This article introduces mica-auto, an annotation‑processor‑based tool that automatically generates Spring Boot starter configuration files—including spring.factories, AutoConfiguration.imports, and java SPI settings—enabling seamless compatibility with Spring Boot 3.x without maintaining separate branches.

Annotation ProcessorSpring BootStarter
0 likes · 4 min read
Boost Spring Boot 3.x Compatibility with mica-auto Auto-Generated Starter Configs
Selected Java Interview Questions
Selected Java Interview Questions
Dec 18, 2023 · Backend Development

Implementing API Idempotency with Spring Boot, Redis, and Custom Annotations

This article explains the concept of idempotency, presents several strategies to achieve it, and provides a complete Spring Boot implementation using Redis, a custom @AutoIdempotent annotation, token generation and verification, interceptor configuration, and test cases to ensure only the first request succeeds.

BackendIdempotencyInterceptor
0 likes · 10 min read
Implementing API Idempotency with Spring Boot, Redis, and Custom Annotations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 18, 2023 · Backend Development

Handling Interface Parameters in Spring Boot: Retrieval, Types, Validation, and File Upload

This article explains how to retrieve and handle various Spring Boot API parameters—including query, path, request body, header, and file uploads—covers parameter type handling such as dates and lists, demonstrates validation annotations, and provides complete code examples for each scenario.

API parametersBackend DevelopmentJava
0 likes · 11 min read
Handling Interface Parameters in Spring Boot: Retrieval, Types, Validation, and File Upload
IT Xianyu
IT Xianyu
Dec 16, 2023 · Backend Development

Understanding CQRS and Event Sourcing with Spring Microservices

This article explains the CQRS pattern, its origins, benefits, and pitfalls, then details how to implement CQRS and event sourcing in Spring‑based microservices using Axon and Kafka, while discussing architectural considerations, scalability, consistency, and tooling.

AxonCQRSEvent Sourcing
0 likes · 12 min read
Understanding CQRS and Event Sourcing with Spring Microservices
Selected Java Interview Questions
Selected Java Interview Questions
Dec 14, 2023 · Operations

Graceful Shutdown for Kubernetes‑Based Spring Boot Microservices with Nacos

This article explains the concept of graceful shutdown, outlines the essential steps, and demonstrates a practical Kubernetes‑Spring Boot‑Nacos case study, including PreStopHook handling, terminationGracePeriodSeconds tuning, and further optimizations for message queues, scheduled tasks, and traffic control.

Graceful ShutdownNacosSpring Boot
0 likes · 13 min read
Graceful Shutdown for Kubernetes‑Based Spring Boot Microservices with Nacos
macrozheng
macrozheng
Dec 14, 2023 · Backend Development

How Graceful Response Simplifies Spring Boot API Development

Graceful Response is a Spring Boot library that provides unified response wrapping, global exception handling, and customizable error codes, reducing boilerplate code, improving readability, and streamlining validation for Java web APIs.

APIGraceful ResponseJava
0 likes · 11 min read
How Graceful Response Simplifies Spring Boot API Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 14, 2023 · Backend Development

Master Reactive Database Access with Spring Boot WebFlux and R2DBC

Learn how to integrate Spring Boot WebFlux with R2DBC for reactive database operations, covering R2DBC basics, driver selection, configuration, entity and service implementation, controller endpoints, repository usage, optimistic locking, and practical code examples to build high-performance, non-blocking backend applications.

Backend DevelopmentR2DBCSpring Boot
0 likes · 9 min read
Master Reactive Database Access with Spring Boot WebFlux and R2DBC
Selected Java Interview Questions
Selected Java Interview Questions
Dec 12, 2023 · Backend Development

Spring Boot Integration with Spring Batch: A Complete Tutorial and Example

This article provides a step‑by‑step guide on integrating Spring Batch with Spring Boot, covering business scenarios, database setup, Maven dependencies, configuration of JobRepository, JobLauncher, Job, Step, ItemReader, ItemProcessor, ItemWriter, listeners, validators, execution via REST endpoints, troubleshooting with Druid and switching to HikariCP, and demonstrates processing CSV and database data in large batches.

Batch processingJavaMyBatis
0 likes · 19 min read
Spring Boot Integration with Spring Batch: A Complete Tutorial and Example
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 12, 2023 · Backend Development

Master Advanced Spring Cloud Function Techniques in Spring Boot

This tutorial walks through advanced Spring Cloud Function features—including handling HTTP request parameters, function mapping and filtering rules, functional bean definitions, visualization via Actuator, and package scanning—providing code examples and configuration tips for Spring Boot 2.7.15 projects.

Backend DevelopmentJavaSpring Boot
0 likes · 8 min read
Master Advanced Spring Cloud Function Techniques in Spring Boot
Architect
Architect
Dec 11, 2023 · Backend Development

How to Integrate Dataway into a Spring Boot Project – A Step‑by‑Step Guide

This article walks through the complete process of adding Dataway to a Spring Boot application, covering Maven dependencies, configuration properties, database schema creation, data source setup, Hasor module integration, enabling Hasor in Spring, and finally creating and testing API endpoints using both SQL and DataQL, all illustrated with concrete code snippets and log output.

API ConfigurationDataQLDataway
0 likes · 16 min read
How to Integrate Dataway into a Spring Boot Project – A Step‑by‑Step Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 11, 2023 · Backend Development

Configuring Multiple Data Sources in Spring Boot with MyBatis

This article explains the underlying principles and step‑by‑step configuration for integrating Spring Boot with MyBatis to manage multiple data sources, covering BeanFactory, FactoryBean, SqlSessionFactoryBean setup, datasource properties, mapper scanning, and sample controller code for accessing distinct databases.

BackendJavaMulti-DataSource
0 likes · 8 min read
Configuring Multiple Data Sources in Spring Boot with MyBatis
Java High-Performance Architecture
Java High-Performance Architecture
Dec 9, 2023 · Backend Development

Simplify Spring Boot API Development with Graceful Response

Graceful Response is a Spring Boot component that unifies response wrapping, global exception handling, and custom error codes, helping developers reduce boilerplate, improve readability, and accelerate API development while supporting validation and customizable response styles.

APIException HandlingGraceful Response
0 likes · 12 min read
Simplify Spring Boot API Development with Graceful Response
Programmer DD
Programmer DD
Dec 8, 2023 · Backend Development

Mastering Distributed Caching with Redis: Strategies, Types, and Pitfalls

Redis serves as a powerful in‑memory key‑value store for distributed caching, offering various data structures, persistence options, deployment modes, eviction policies, and update strategies, while addressing consistency challenges, cache miss scenarios, and failure modes such as penetration, breakdown, and avalanche.

Cache ConsistencyCache EvictionDistributed Cache
0 likes · 13 min read
Mastering Distributed Caching with Redis: Strategies, Types, and Pitfalls
JavaEdge
JavaEdge
Dec 6, 2023 · Backend Development

Choosing and Implementing Caching for Spring Boot Microservices

This article explains why caching is crucial for Spring Boot applications, examines its impact on microservice architectures, outlines criteria for selecting the right cache—usability, speed, availability, observability—and compares local, distributed, and hierarchical caches with practical strategies and code examples.

BackendDistributed CacheSpring Boot
0 likes · 7 min read
Choosing and Implementing Caching for Spring Boot Microservices
Top Architect
Top Architect
Dec 5, 2023 · Backend Development

Unified Exception Handling and Assertion Practices in Spring Boot Backend Development

This article explains how to implement unified exception handling in Spring Boot applications using @ControllerAdvice, custom Assert utilities, and enum-based error codes, demonstrating code examples, response structures, and best practices for reducing try-catch clutter, improving readability, and handling various HTTP and business exceptions consistently.

AssertEnumException Handling
0 likes · 24 min read
Unified Exception Handling and Assertion Practices in Spring Boot Backend Development
macrozheng
macrozheng
Dec 5, 2023 · Backend Development

Why Can Spring Boot Fat JARs Run Directly? Uncover the Secrets

This article explains how Spring Boot packages applications as executable Fat JARs, embeds a web server, uses a special launcher, and defines a main class so the JAR can be run with a simple java -jar command, eliminating the need for separate deployment servers.

Fat JarJavaSpring Boot
0 likes · 7 min read
Why Can Spring Boot Fat JARs Run Directly? Uncover the Secrets
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 4, 2023 · Cloud Computing

Master Serverless with Spring Cloud Function: A Hands‑On Guide

This tutorial introduces Spring Cloud Function, explains its core concepts and benefits for serverless development, and walks through a complete example—including configuration, code snippets, HTTP endpoints, function composition, custom routing, and deployment—so readers can quickly build and test function‑based applications.

JavaServerlessSpring Boot
0 likes · 8 min read
Master Serverless with Spring Cloud Function: A Hands‑On Guide
Architect
Architect
Dec 3, 2023 · Backend Development

Implementing Automatic Idempotency in Spring Boot with Redis and Interceptors

This article explains how to achieve automatic request idempotency in Spring Boot applications by using Redis for token storage, custom @AutoIdempotent annotation, and a web interceptor that validates tokens, providing code examples, configuration steps, and testing procedures.

InterceptorJavaSpring Boot
0 likes · 12 min read
Implementing Automatic Idempotency in Spring Boot with Redis and Interceptors
MaGe Linux Operations
MaGe Linux Operations
Dec 3, 2023 · Backend Development

Master RabbitMQ: Core Concepts, Programming Models, and Spring Boot Integration

This guide explains RabbitMQ fundamentals—including brokers, virtual hosts, connections, channels, exchanges, queues, producers, and consumers—covers common messaging patterns, provides step‑by‑step Java code for creating connections, declaring exchanges and queues, publishing and consuming messages, handling acknowledgments and confirmations, and shows how to integrate RabbitMQ with Spring Boot.

AMQPJavaMessage queue
0 likes · 17 min read
Master RabbitMQ: Core Concepts, Programming Models, and Spring Boot Integration
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 3, 2023 · Backend Development

Master Custom HandlerMapping in Spring Boot: Header‑Based Routing with getCustomMethodCondition

This tutorial explains how to extend Spring MVC's HandlerMapping by implementing a custom RequestCondition that matches requests based on an x-token header and a custom @AKF annotation, covering code implementation, configuration, testing, and the underlying request‑matching mechanism.

Custom RequestConditionHandlerMappingHeader Authentication
0 likes · 7 min read
Master Custom HandlerMapping in Spring Boot: Header‑Based Routing with getCustomMethodCondition
IT Services Circle
IT Services Circle
Dec 1, 2023 · Backend Development

Why IDEA No Longer Offers Java 8 for Spring Boot Projects and How to Use Java 8 with Alibaba’s Start Service

The article explains that Spring Boot 3.x drops support for Java 8, causing IntelliJ IDEA’s Spring Initializr to list only JDK 17 or higher, and shows how developers can still create Java 8 Spring Boot projects by switching the Initializr URL to Alibaba Cloud’s start service.

Alibaba StartBackend DevelopmentIntelliJ IDEA
0 likes · 3 min read
Why IDEA No Longer Offers Java 8 for Spring Boot Projects and How to Use Java 8 with Alibaba’s Start Service
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 1, 2023 · Backend Development

Resilience4j Essentials: Circuit Breaker, TimeLimiter, Bulkhead & RateLimiter

This article introduces Resilience4j, a lightweight fault‑tolerance library for Spring Boot, explaining its core decorators—CircuitBreaker, TimeLimiter, Bulkhead, and RateLimiter—along with configuration examples, annotation usage, fallback handling, and practical test code to improve system stability and resilience.

Circuit BreakerJavaSpring Boot
0 likes · 16 min read
Resilience4j Essentials: Circuit Breaker, TimeLimiter, Bulkhead & RateLimiter
Code Ape Tech Column
Code Ape Tech Column
Nov 30, 2023 · Backend Development

Performance Comparison of Spring Boot on JVM vs GraalVM Native Image

This article evaluates the startup speed, memory consumption, and request‑handling performance of a simple Spring Boot "Hello World" service when run on the traditional JVM compared with a GraalVM‑compiled native binary, using a MacBook M1 and Bombardier for load testing.

BenchmarkJavaSpring Boot
0 likes · 9 min read
Performance Comparison of Spring Boot on JVM vs GraalVM Native Image
Tencent Cloud Developer
Tencent Cloud Developer
Nov 30, 2023 · Backend Development

Tutorial: Building a Spring Boot CRUD Application with Tencent Hunyuan Large Model API and MySQL

This tutorial demonstrates how to prompt Tencent Hunyuan’s large‑model API to generate a Spring Boot project configured for MySQL, create a user table, and implement full JPA‑based CRUD layers—including entity, repository, service, and REST controller—while addressing common null‑field errors and testing the endpoints.

APICRUDJava
0 likes · 14 min read
Tutorial: Building a Spring Boot CRUD Application with Tencent Hunyuan Large Model API and MySQL
Architecture Digest
Architecture Digest
Nov 29, 2023 · Backend Development

Exploring Spring Boot 3.2 with Java 21, GraalVM Native Images, and Virtual Threads

This article demonstrates how Spring Boot 3.2 fully supports Java 21, Project Loom virtual threads, and GraalVM native images, providing step‑by‑step instructions, configuration details, and runnable code examples that showcase building, running, and profiling a Spring Boot application with these modern technologies.

Backend DevelopmentSpring Bootgraalvm
0 likes · 8 min read
Exploring Spring Boot 3.2 with Java 21, GraalVM Native Images, and Virtual Threads
IT Services Circle
IT Services Circle
Nov 28, 2023 · Backend Development

Comprehensive Java Interview Guide: Basics, Collections, Concurrency, Spring Boot, MySQL, and Network Concepts

This article provides a thorough overview of Java interview topics, covering core language fundamentals, collection frameworks, concurrency mechanisms, Spring Boot transaction handling, database indexing strategies, and network protocol comparisons, all presented in clear English with code examples and diagrams.

ConcurrencyInterviewJava
0 likes · 19 min read
Comprehensive Java Interview Guide: Basics, Collections, Concurrency, Spring Boot, MySQL, and Network Concepts
Architecture Digest
Architecture Digest
Nov 28, 2023 · Backend Development

Unified User Login Permission Validation, Exception Handling, and Data Formatting in Spring Boot

This article demonstrates how to implement unified user login permission checks, centralized exception handling, and consistent response formatting in Spring Boot using AOP, HandlerInterceptor, @ControllerAdvice, and ResponseBodyAdvice, providing step‑by‑step code examples and configuration details.

AOPBackend DevelopmentException Handling
0 likes · 12 min read
Unified User Login Permission Validation, Exception Handling, and Data Formatting in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Nov 28, 2023 · Backend Development

Understanding CQRS and Implementing It with Spring Microservices

This article explains the CQRS architectural pattern, its benefits and challenges, and provides a step‑by‑step guide to implementing CQRS, event sourcing, and asynchronous communication with Spring Boot, Axon, and Apache Kafka in microservice environments.

CQRSEvent SourcingJava
0 likes · 13 min read
Understanding CQRS and Implementing It with Spring Microservices
JD Retail Technology
JD Retail Technology
Nov 27, 2023 · Backend Development

Building a Custom Maven Archetype (Scaffolding) for Spring Boot Projects from Scratch

This article explains how to create a reusable Maven archetype for Spring Boot applications, covering the definition and benefits of scaffolding, step‑by‑step template preparation, archetype generation, artifact adjustments, publishing to a repository, and using the scaffold to quickly start new microservice projects.

ArchetypeMavenSpring Boot
0 likes · 8 min read
Building a Custom Maven Archetype (Scaffolding) for Spring Boot Projects from Scratch
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 27, 2023 · Backend Development

Secure Spring Boot APIs with AOP and Spring Security: A Step‑by‑Step Guide

This article explains how to combine Spring AOP and Spring Security in a Spring Boot 2.7.12 application to implement permission verification, covering concepts, required dependencies, custom filters, annotations, aspect logic, global exception handling, test endpoints, JWT token handling, and extensions for SpEL‑based role checks.

AOPJWTSpring Boot
0 likes · 11 min read
Secure Spring Boot APIs with AOP and Spring Security: A Step‑by‑Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 25, 2023 · Backend Development

Master Spring Boot YAML: Configure Complex Objects with Ease

This article explains how to use Spring Boot's YAML configuration files to define and manage simple properties, collections, maps, nested objects, and complex data structures, providing code examples and a complete sample to help developers efficiently handle intricate configuration scenarios.

Backend DevelopmentJavaSpring Boot
0 likes · 6 min read
Master Spring Boot YAML: Configure Complex Objects with Ease
Programmer DD
Programmer DD
Nov 24, 2023 · Backend Development

What’s New in Spring Boot 3.2? Explore Java 21 Features and Virtual Threads

Spring Boot 3.2, released shortly after Java 21, brings a host of enhancements such as virtual thread support, CRaC checkpoint restore, SSL bundle reloading, improved observability, new RestClient and JdbcClient, Jetty 12, Pulsar, Kafka and RabbitMQ SSL, redesigned nested JAR handling, Docker image build upgrades, and a comprehensive video walkthrough by Josh Long.

Backend DevelopmentDockerKafka
0 likes · 7 min read
What’s New in Spring Boot 3.2? Explore Java 21 Features and Virtual Threads
JD Cloud Developers
JD Cloud Developers
Nov 21, 2023 · Backend Development

Mastering Read‑Write Separation in Spring Boot: A Complete Guide

This guide explains how to implement read‑write separation in Spring Boot applications by configuring master and slave databases, creating dynamic routing data sources, using custom annotations and AOP, integrating HikariCP and MyBatis, and handling thread‑local context for optimal performance.

HikariCPMyBatisMySQL
0 likes · 10 min read
Mastering Read‑Write Separation in Spring Boot: A Complete Guide