Tagged articles

Spring Boot

4358 articles · Page 15 of 44
Architect's Guide
Architect's Guide
Mar 4, 2025 · Backend Development

Implementing Multi‑Tenant Architecture with Spring Boot and Spring Cloud

This article explains the concepts, advantages, design choices, database strategies, and step‑by‑step implementation of a multi‑tenant system using Java Spring Boot and Spring Cloud, including code samples for data sources, dynamic routing, and tenant management in cloud environments.

Backend ArchitectureMicroservicesSpring Boot
0 likes · 13 min read
Implementing Multi‑Tenant Architecture with Spring Boot and Spring Cloud
macrozheng
macrozheng
Mar 3, 2025 · Artificial Intelligence

Integrate DeepSeek with Spring AI: Step‑by‑Step Spring Boot Guide

This tutorial walks you through integrating DeepSeek via Spring AI into a Spring Boot project, covering Spring AI basics, obtaining an API key, adding dependencies and configuration, implementing controller endpoints, testing with Postman, and accessing the full source code.

AI integrationChatbotDeepSeek
0 likes · 7 min read
Integrate DeepSeek with Spring AI: Step‑by‑Step Spring Boot Guide
Code Ape Tech Column
Code Ape Tech Column
Mar 3, 2025 · Backend Development

Understanding CQRS and Implementing It with Spring Microservices

This article explains the CQRS pattern, its origins, benefits, and challenges, and provides a step‑by‑step guide with Java code examples on how to implement CQRS, event sourcing, and asynchronous communication using Spring Boot, Axon, and Kafka in microservice architectures.

Spring Bootcqrsevent sourcing
0 likes · 12 min read
Understanding CQRS and Implementing It with Spring Microservices
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Mar 3, 2025 · Backend Development

Implement Custom Annotations in Spring Boot for Logging, Security & Caching

This guide explains common scenarios for using custom Java annotations—such as logging, permission control, data validation, and caching—and walks through the step-by-step process of defining an annotation, applying it in Spring services, handling it with an AOP aspect, and testing the implementation in a Spring Boot application.

AOPCustom AnnotationsSpring Boot
0 likes · 7 min read
Implement Custom Annotations in Spring Boot for Logging, Security & Caching
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 2, 2025 · Backend Development

Master Java Stream Tricks: Null Handling, Infinite Streams & Collectors

This article showcases a collection of over 100 practical Spring Boot 3 examples, focusing on modern Java Stream techniques such as Stream.ofNullable for null safety, Stream.iterate for infinite sequences, advanced collectors like collectingAndThen, takeWhile/dropWhile, teeing, and summarizingLong, each illustrated with concise code snippets.

Spring BootStream APIjava
0 likes · 7 min read
Master Java Stream Tricks: Null Handling, Infinite Streams & Collectors
macrozheng
macrozheng
Feb 28, 2025 · Backend Development

Mastering Two-Level Cache in Spring Boot: Caffeine + Redis Integration

This article explains how to build a two‑level cache architecture using Caffeine as a local cache and Redis as a remote cache in a Spring Boot project, covering manual implementation, Spring cache annotations, and a custom AOP‑based solution while discussing advantages, consistency challenges, and best‑practice code examples.

Cache ManagementCaffeineRedis
0 likes · 20 min read
Mastering Two-Level Cache in Spring Boot: Caffeine + Redis Integration
Code Ape Tech Column
Code Ape Tech Column
Feb 28, 2025 · Backend Development

Spring Boot Packaging with Maven Assembly Plugin and a Deployment Shell Script

This article explains how to configure Maven profiles for different environments, use the maven‑assembly‑plugin and maven‑jar‑plugin to create a zip deployment package for a Spring Boot application, and provides a reusable shell script (shenniu_publish.sh) for extracting, starting, stopping, and restarting the service on Linux.

MavenShell scriptSpring Boot
0 likes · 13 min read
Spring Boot Packaging with Maven Assembly Plugin and a Deployment Shell Script
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Feb 28, 2025 · Cloud Native

Spring Cloud Quick‑Start Guide: Getting Started with Microservices

This article introduces Spring Cloud's background, core components (including first‑ and second‑generation modules derived from Netflix OSS), versioning scheme, compatibility with Spring Boot, and practical advice for selecting matching releases to avoid runtime issues in microservice projects.

Cloud NativeMicroservicesNetflix OSS
0 likes · 12 min read
Spring Cloud Quick‑Start Guide: Getting Started with Microservices
Su San Talks Tech
Su San Talks Tech
Feb 28, 2025 · Backend Development

How to Solve CORS Errors: Practical Frontend and Backend Strategies

This article explains why browsers block cross‑origin requests due to the Same‑Origin Policy, then walks through six practical solutions—including CORS headers, JSONP, Nginx reverse proxy, API gateways, WebSocket, and postMessage—providing code examples for both frontend and Spring Boot backend configurations.

CORSCross-OriginJSONP
0 likes · 9 min read
How to Solve CORS Errors: Practical Frontend and Backend Strategies
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 28, 2025 · Backend Development

Mastering Spring Cloud Alibaba Sidecar: Integrate Heterogeneous Microservices Seamlessly

This guide explains how to use Spring Cloud Alibaba Sidecar to integrate heterogeneous microservices, covering its principles, configuration, health‑check setup, and a complete hands‑on example with Spring Boot services, Sidecar registration, Nacos discovery, and RestTemplate calls, while guaranteeing permanent updates for subscribers.

NacosSidecarSpring Boot
0 likes · 8 min read
Mastering Spring Cloud Alibaba Sidecar: Integrate Heterogeneous Microservices Seamlessly
macrozheng
macrozheng
Feb 27, 2025 · Information Security

Master One-Time Token Login with Spring Security 6.4: A Step-by-Step Guide

This guide explains Spring Security 6.4’s one-time token login feature, covering its concept, authentication flow, core components, and step‑by‑step implementation with code samples, enabling developers to add secure magic‑link authentication to Spring Boot applications.

Backend SecurityMagic LinkSpring Boot
0 likes · 7 min read
Master One-Time Token Login with Spring Security 6.4: A Step-by-Step Guide
Java Architect Essentials
Java Architect Essentials
Feb 27, 2025 · Backend Development

How to Enforce Login Attempt Limits with Spring Boot, Redis, and Lua Scripts

This article walks through the problem of locking out users after multiple failed login attempts, explains why IP‑based locking with Redis and Lua scripts is effective, and provides a complete Spring Boot implementation—including front‑end HTML, custom annotations, AOP aspect, Redis configuration, and sample controller code—to enforce a configurable login‑attempt limit.

Login Rate LimitingLuaRedis
0 likes · 18 min read
How to Enforce Login Attempt Limits with Spring Boot, Redis, and Lua Scripts
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 27, 2025 · Backend Development

How to Log SQL Statements in Spring Boot 3 Using JDBC, JPA, MyBatis & datasource-proxy

This article announces a Spring Boot 3 case collection with 100 permanent examples and then provides a comprehensive guide on recording SQL statements in Spring Boot applications via JDBC, JPA, MyBatis and the datasource‑proxy library, including configuration snippets, code samples and visual output illustrations.

JDBCJPAMyBatis
0 likes · 8 min read
How to Log SQL Statements in Spring Boot 3 Using JDBC, JPA, MyBatis & datasource-proxy
Top Architecture Tech Stack
Top Architecture Tech Stack
Feb 27, 2025 · Fundamentals

Understanding the Facade Design Pattern and Its Application in Spring Boot

This article explains the Facade design pattern, illustrating its purpose of simplifying complex systems with real‑world analogies, detailing its benefits, showing UML class diagram relationships, and providing a comprehensive Spring Boot example that encapsulates flight, hotel, and package services behind a BookingFacade, while also including promotional content for IDE licenses.

Design PatternsFacade PatternSpring Boot
0 likes · 15 min read
Understanding the Facade Design Pattern and Its Application in Spring Boot
Architecture Digest
Architecture Digest
Feb 26, 2025 · Artificial Intelligence

DeepSeek4j 1.4: A Java Integration Framework for DeepSeek AI Models

DeepSeek4j 1.4 introduces a Java‑native framework that fully preserves DeepSeek's chain‑of‑thought and billing features, adds reactive streaming support, and provides a Spring Boot starter for effortless integration, accompanied by quick‑start code, configuration examples, and a built‑in debugging UI.

AIAPIDeepSeek
0 likes · 5 min read
DeepSeek4j 1.4: A Java Integration Framework for DeepSeek AI Models
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 26, 2025 · Backend Development

Mastering Optimistic Locking in Spring Boot 3: From Pitfalls to Proven Solutions

This article examines the challenges of using JPA optimistic locking for inventory deduction under high concurrency, demonstrates why naive retry logic can cause deadlocks and stale data, and walks through five progressively refined implementations that resolve transaction, caching, and isolation issues.

JPAOptimistic LockingSpring Boot
0 likes · 13 min read
Mastering Optimistic Locking in Spring Boot 3: From Pitfalls to Proven Solutions
Selected Java Interview Questions
Selected Java Interview Questions
Feb 25, 2025 · Backend Development

Integrating URule Rule Engine with Spring Boot: Installation, Configuration, and Practical Examples

This article introduces the URule rule engine, explains its core concepts, shows how to install and configure it in a Spring Boot project, demonstrates library definitions, rule set creation (wizard and script modes), decision table usage, and provides real‑world scenario code examples for backend developers.

ConfigurationSpring BootURule
0 likes · 15 min read
Integrating URule Rule Engine with Spring Boot: Installation, Configuration, and Practical Examples
Java Web Project
Java Web Project
Feb 25, 2025 · Artificial Intelligence

How DeepSeek4j 1.4 Solves Spring AI’s Chain‑of‑Thought and Streaming Gaps

The article explains why existing Java AI frameworks struggle with DeepSeek R1’s chain‑of‑thought and streaming features, introduces DeepSeek4j 1.4 as a targeted solution, details its core capabilities, and provides a step‑by‑step guide to integrate it with Spring Boot and Project Reactor.

AI integrationDeepSeekReactive
0 likes · 5 min read
How DeepSeek4j 1.4 Solves Spring AI’s Chain‑of‑Thought and Streaming Gaps
Top Architect
Top Architect
Feb 25, 2025 · Backend Development

Understanding Tomcat Configuration and Thread Pool Parameters in Spring Boot 2.7.10

This article explains the default Tomcat settings in Spring Boot 2.7.10, details core parameters such as connection queue length, max connections, thread pool sizes, keep-alive and timeout options, and demonstrates how to inspect and test these configurations with code examples and command-line tools.

Spring BootThread PoolTomcat
0 likes · 16 min read
Understanding Tomcat Configuration and Thread Pool Parameters in Spring Boot 2.7.10
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Feb 25, 2025 · Backend Development

Build a Code Generator from Scratch: Boost Development Efficiency 10×

This article walks through creating a fully automated Spring Boot and MyBatis code generator using Freemarker templates, detailing each step from extracting table metadata to generating DAO, service, controller, and entity classes, and shows how a single-table CRUD can be produced in seconds.

MyBatisSpring Bootbackend development
0 likes · 25 min read
Build a Code Generator from Scratch: Boost Development Efficiency 10×
Java Web Project
Java Web Project
Feb 23, 2025 · Artificial Intelligence

Build Your First AI Chatbot with Spring Boot and DeepSeek LLM

This guide walks you through creating a Spring Boot project, configuring DeepSeek's large language model via SiliconFlow, setting up OpenAI‑compatible parameters, and implementing a REST controller that returns weather forecasts using the model, complete with step‑by‑step code snippets, configuration files, and deployment instructions.

AIChatbotDeepSeek
0 likes · 7 min read
Build Your First AI Chatbot with Spring Boot and DeepSeek LLM
Java Architect Essentials
Java Architect Essentials
Feb 23, 2025 · Backend Development

Designing a Modular Spring Boot Backend Management Project (XiaoLe)

This article explains how to design a modular Spring Boot backend management system called XiaoLe, covering essential design principles such as single responsibility, high cohesion, low coupling, reusability, clear interfaces, layered architecture, and testability, and provides detailed Maven module structures and POM configurations for each component.

Design PrinciplesMavenModular Architecture
0 likes · 14 min read
Designing a Modular Spring Boot Backend Management Project (XiaoLe)
Top Architect
Top Architect
Feb 21, 2025 · Artificial Intelligence

DeepSeek4j 1.4: Java Integration Framework for DeepSeek with Full Chain‑of‑Thought and Streaming Support

The article introduces DeepSeek4j 1.4, a Java‑based framework that overcomes Spring AI’s limitations by fully preserving DeepSeek’s chain‑of‑thought and billing features, adding reactive streaming, providing Spring Boot starter integration, and offering quick‑start code samples and configuration guidance.

AIDeepSeekReactive
0 likes · 8 min read
DeepSeek4j 1.4: Java Integration Framework for DeepSeek with Full Chain‑of‑Thought and Streaming Support
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 21, 2025 · Backend Development

Master Spring Boot 3 Config: @ConfigurationProperties, Constructor Binding & Default Values

This article introduces a comprehensive Spring Boot 3 case collection and provides a detailed guide on using @ConfigurationProperties, constructor binding, @DefaultValue, and record types for type‑safe configuration, including examples of nested properties, collections, and default values, while promising ongoing updates and free source code for subscribers.

ConfigurationPropertiesDefaultValueSpring Boot
0 likes · 9 min read
Master Spring Boot 3 Config: @ConfigurationProperties, Constructor Binding & Default Values
Selected Java Interview Questions
Selected Java Interview Questions
Feb 20, 2025 · Backend Development

Loading External JARs into Spring Boot: Four Practical Approaches

This article explains how to make custom classes visible to Spring Boot by loading external JAR files through four methods—extending the classpath, using Spring Boot's loader.path parameter, creating a custom ClassLoader, and modifying the boot classpath—while also showing how to configure scanning and packaging details.

ClassLoaderJAR LoadingSpring Boot
0 likes · 8 min read
Loading External JARs into Spring Boot: Four Practical Approaches
Shepherd Advanced Notes
Shepherd Advanced Notes
Feb 20, 2025 · Backend Development

How Spring Boot Handles Cross-Origin Requests

This article explains the fundamentals of CORS, why browsers enforce the same‑origin policy, how Spring Boot detects and processes cross‑origin and preflight requests, and provides a minimal configuration and JavaScript example to resolve CORS issues in a Spring Boot application.

CORSConfigurationCross-Origin
0 likes · 11 min read
How Spring Boot Handles Cross-Origin Requests
Lobster Programming
Lobster Programming
Feb 20, 2025 · Backend Development

Will a JVM Exit When a Thread Runs Out of Memory? Deep Dive with Code

This article investigates whether the JVM terminates when a thread encounters an OutOfMemoryError, demonstrating through Spring Boot controllers and multithreaded examples how main and child threads, daemon settings, and explicit OOM handling affect JVM shutdown behavior.

JVMOutOfMemoryErrorSpring Boot
0 likes · 6 min read
Will a JVM Exit When a Thread Runs Out of Memory? Deep Dive with Code
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 19, 2025 · Backend Development

9 Powerful Ways to Build Spring Boot 3 APIs – Full Code Collection

This guide showcases nine distinct Spring Boot 3 API development techniques—from classic @RestController annotations to functional RouterFunction beans and custom Actuator endpoints—providing complete code samples, configuration details, and a promise of ongoing updates with a downloadable PDF of over 90 practical cases.

ActuatorSpring Bootapi-development
0 likes · 8 min read
9 Powerful Ways to Build Spring Boot 3 APIs – Full Code Collection
Top Architect
Top Architect
Feb 18, 2025 · Backend Development

Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Development

This article introduces LiteFlow, a lightweight yet powerful Java rule engine, explains its architecture, component types, EL rule file syntax, configuration options, and demonstrates a real‑world e‑commerce workflow example, providing code snippets and deployment tips for backend developers.

LiteFlowSpring Bootbackend development
0 likes · 11 min read
Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 18, 2025 · Backend Development

Why Spring MVC Auto‑Binds Header Data to Your DTO – The Hidden Mechanism Explained

This article explores why Spring MVC automatically binds HTTP header values to controller method parameters, demonstrates the issue with a sample Spring Boot 3.4.0 project, analyzes the underlying HandlerMethodArgumentResolver and ServletModelAttributeMethodProcessor code, and provides two practical solutions to prevent unwanted header binding.

HandlerMethodArgumentResolverHeader BindingSpring Boot
0 likes · 8 min read
Why Spring MVC Auto‑Binds Header Data to Your DTO – The Hidden Mechanism Explained
macrozheng
macrozheng
Feb 17, 2025 · Backend Development

Master Dynamic MySQL Master‑Slave Switching in Spring Boot with AOP

This guide explains how to use Spring Boot, AOP, and custom annotations to implement dynamic MySQL master‑slave data source switching, automatically falling back to the master when a slave fails, covering configuration, Maven dependencies, enum definitions, data source beans, routing logic, and usage examples.

AOPDynamic Data SourceMySQL
0 likes · 16 min read
Master Dynamic MySQL Master‑Slave Switching in Spring Boot with AOP
macrozheng
macrozheng
Feb 17, 2025 · Artificial Intelligence

Unlock DeepSeek4j 1.4: Build a Private AI Knowledge Base with Spring Boot

This guide explains why DeepSeek4j is needed, its core features, and provides step‑by‑step instructions—including dependency setup, configuration, code examples, and a complete RAG pipeline using Milvus—to help developers quickly create a private AI knowledge base with Spring Boot.

AIDeepSeek4jMilvus
0 likes · 12 min read
Unlock DeepSeek4j 1.4: Build a Private AI Knowledge Base with Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 16, 2025 · Backend Development

Unlock Remote Server Access in Spring Boot 3 with JSch: Read Files & Run Commands

This article introduces the Java JSch library for Spring Boot 3, demonstrating how to read remote files without downloading, execute commands on a remote host, and obtain an interactive shell prompt, complete with Maven dependency setup, code examples, and execution results, while promising ongoing updates to the case collection.

JSchSpring Bootbackend development
0 likes · 7 min read
Unlock Remote Server Access in Spring Boot 3 with JSch: Read Files & Run Commands
Top Architect
Top Architect
Feb 14, 2025 · Backend Development

Liteflow Rule Engine: Concepts, Configuration, and Practical Usage in Java Backend Development

This article introduces the Liteflow lightweight rule engine for Java, explains its architecture, configuration, component types, EL rule file syntax, data context handling, and demonstrates a practical e‑commerce workflow, highlighting hot‑deployment and performance benefits for backend development.

Spring BootWorkflowbackend development
0 likes · 11 min read
Liteflow Rule Engine: Concepts, Configuration, and Practical Usage in Java Backend Development
Selected Java Interview Questions
Selected Java Interview Questions
Feb 14, 2025 · Databases

ShardingSphere Overview and Spring Boot Integration for Database Sharding, Proxy, and Sidecar

This article introduces ShardingSphere's three components—Sharding-JDBC, Sharding-Proxy, and the upcoming Sharding-Sidecar—explains why sharding is needed for relational databases, demonstrates horizontal data sharding concepts, and provides a complete Spring Boot example with configuration, code, and asynchronous batch insertion.

Async ProcessingMySQLShardingSphere
0 likes · 17 min read
ShardingSphere Overview and Spring Boot Integration for Database Sharding, Proxy, and Sidecar
macrozheng
macrozheng
Feb 14, 2025 · Backend Development

How to Build Fast Spring Boot 3 Apps with GraalVM Native Images and AOT

This guide walks through the prerequisites, GraalVM installation, Maven setup, and step‑by‑step packaging of a Spring Boot 3 application into a native executable using AOT compilation, runtime hints, and Docker, demonstrating dramatically faster startup times.

AOTDockerGraalVM
0 likes · 12 min read
How to Build Fast Spring Boot 3 Apps with GraalVM Native Images and AOT
Java Backend Technology
Java Backend Technology
Feb 14, 2025 · Backend Development

Master Efficient Excel Import/Export in Java with EasyExcel and Thread Pools

Learn how to efficiently handle large-scale Excel import and export in Java web applications using EasyExcel, leveraging Java 8 functional programming, reflection, thread pools, and custom ReadListener implementations to minimize memory usage, improve performance, and support flexible data mapping and dynamic schema handling.

Data ExportEasyExcelExcel import
0 likes · 14 min read
Master Efficient Excel Import/Export in Java with EasyExcel and Thread Pools
Java Tech Enthusiast
Java Tech Enthusiast
Feb 13, 2025 · Backend Development

Facade Design Pattern with Spring Boot Example

The article explains the Facade design pattern and demonstrates its use in a Spring Boot travel‑booking application, where a BookingFacade aggregates FlightService, HotelService, and PackageService to provide a single bookTravel method that a REST controller calls, simplifying the API and reducing coupling.

Design PatternsFacade PatternSpring Boot
0 likes · 12 min read
Facade Design Pattern with Spring Boot Example
Java Architecture Diary
Java Architecture Diary
Feb 13, 2025 · Artificial Intelligence

Create a Java RAG System Using DeepSeek R1, Milvus, and Spring

This guide walks through building a Java RAG system with DeepSeek R1, Milvus, and Spring, covering environment setup, vector model integration via OpenAI protocol, Maven dependencies, data embedding, and a chat endpoint that combines semantic retrieval with LLM generation.

AI integrationDeepSeekMilvus
0 likes · 11 min read
Create a Java RAG System Using DeepSeek R1, Milvus, and Spring
Su San Talks Tech
Su San Talks Tech
Feb 13, 2025 · Databases

Master ShardingSphere: 12 Sharding Strategies & Algorithms Explained

This comprehensive guide walks through ShardingSphere's core sharding strategies and the twelve built‑in sharding algorithms, showing how to configure each with YAML, illustrating their behavior with code examples, and highlighting practical tips for choosing the right approach in real‑world database partitioning scenarios.

Sharding AlgorithmsShardingSphereSpring Boot
0 likes · 29 min read
Master ShardingSphere: 12 Sharding Strategies & Algorithms Explained
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 13, 2025 · Backend Development

Mastering Spring Boot 3: Real‑World Cases, ThreadLocal, Async & More

This article presents a continuously updated collection of over 90 practical Spring Boot 3 examples, covering request/response access, ThreadLocal handling, async interceptors, request metadata extraction, custom type converters, 404 error handling, and related source code to help developers build robust backend services.

Async ProcessingRequest HandlingSpring Boot
0 likes · 10 min read
Mastering Spring Boot 3: Real‑World Cases, ThreadLocal, Async & More
macrozheng
macrozheng
Feb 12, 2025 · Databases

Mastering Spring Boot Database Connection Pools: HikariCP vs Druid

This guide explains the need for JDBC connection pools, compares popular pools like HikariCP and Druid, and provides step‑by‑step configurations for both custom property files and Spring Boot auto‑configuration, helping you efficiently manage database connections in Java applications.

DruidHikariCPJDBC
0 likes · 20 min read
Mastering Spring Boot Database Connection Pools: HikariCP vs Druid
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 12, 2025 · Backend Development

Master Spring Boot 3 Conditional Annotations with Real‑World Examples

This article introduces a continuously updated Spring Boot 3 case collection and PDF e‑book, then dives into the @Conditional annotation, custom condition interfaces, parameterized enhancements, SpringBootCondition usage, and multi‑condition combinations, providing complete code examples and test results.

@ConditionalCustom AnnotationSpring Boot
0 likes · 9 min read
Master Spring Boot 3 Conditional Annotations with Real‑World Examples
Java Tech Enthusiast
Java Tech Enthusiast
Feb 11, 2025 · Backend Development

Using Enums for Configuration Management in Spring Boot

The article shows how to replace hard‑coded strings in Spring Boot configuration files with type‑safe Java enums, using @ConfigurationProperties to bind YAML values to enum fields, thereby improving readability, maintainability, and eliminating magic numbers, illustrated through a user‑role example with controller and Thymeleaf view.

ConfigurationPropertiesEnumMaven
0 likes · 12 min read
Using Enums for Configuration Management in Spring Boot
macrozheng
macrozheng
Feb 11, 2025 · Backend Development

Unlock Redis Performance: Using Lua Scripts in Spring Boot Applications

This comprehensive guide explains how to integrate Lua scripts with Spring Boot and Redis, covering Lua fundamentals, performance benefits, practical use cases, step‑by‑step implementation in Java, error handling, security considerations, and best practices for optimizing distributed applications.

Lua ScriptingRedisSpring Boot
0 likes · 21 min read
Unlock Redis Performance: Using Lua Scripts in Spring Boot Applications
Java Web Project
Java Web Project
Feb 11, 2025 · Information Security

How to Use Apache Tika in Spring Boot for Automatic Sensitive Data Detection

This article explains Apache Tika’s core features and architecture, outlines common use‑cases, and provides a step‑by‑step Spring Boot tutorial—including Maven/Gradle setup, a service that extracts text with Tika, regex‑based sensitive‑info detection, a REST controller, optional front‑end, testing instructions, expected output, and extension ideas.

Apache TikaContent ExtractionMaven
0 likes · 24 min read
How to Use Apache Tika in Spring Boot for Automatic Sensitive Data Detection
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 11, 2025 · Backend Development

Mastering API Timeout Configurations in Spring Boot 3: From Transactions to NGINX

This article walks through multiple ways to configure API timeout in Spring Boot 3—including transaction timeouts, Resilience4j TimeLimiter, asynchronous request limits, RestTemplate/RestClient/WebClient HTTP client settings, and NGINX proxy timeouts—providing code samples and practical testing results.

API timeoutNginxResilience4j
0 likes · 12 min read
Mastering API Timeout Configurations in Spring Boot 3: From Transactions to NGINX
Code Ape Tech Column
Code Ape Tech Column
Feb 10, 2025 · Backend Development

Implementing Data Isolation in Spring Boot with MyBatis Interceptor and JSqlParser

This article explains how to achieve data isolation in a Spring Boot application by using a MyBatis interceptor that leverages JSqlParser to parse and modify SQL statements at the StatementHandler.prepare stage, covering tool introductions, dependency setup, interceptor implementation, testing examples, and the rationale behind intercepting the prepare method.

Data IsolationJSqlParserMyBatis
0 likes · 13 min read
Implementing Data Isolation in Spring Boot with MyBatis Interceptor and JSqlParser
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 10, 2025 · Backend Development

Master Java Asynchronous Programming: 7 Powerful Techniques with Code Samples

This article explains why asynchronous programming boosts Java application performance and walks through seven practical methods—Thread, FutureTask, CompletableFuture, Guava ListenableFuture, EA‑Async, Cactoos, and Jcabi‑Aspects—each illustrated with complete, runnable code examples.

Asynchronous ProgrammingCompletableFutureSpring Boot
0 likes · 14 min read
Master Java Asynchronous Programming: 7 Powerful Techniques with Code Samples
Java Captain
Java Captain
Feb 9, 2025 · Backend Development

Using Lua Scripts in Spring Boot with Redis for Performance and Atomic Operations

This article explains how to integrate Lua scripts into Spring Boot applications with Redis, covering Lua fundamentals, advantages of Lua in Redis, practical use cases, step‑by‑step implementation in Spring Boot, performance optimizations, error handling, security considerations, and best practices for reliable backend development.

LuaRedisSpring Boot
0 likes · 23 min read
Using Lua Scripts in Spring Boot with Redis for Performance and Atomic Operations
Java Tech Enthusiast
Java Tech Enthusiast
Feb 8, 2025 · Backend Development

Managing Maven Dependencies in Java Projects

The article explains how to manage Maven dependencies in Java projects by using the mvn dependency:analyze command in IntelliJ IDEA to detect unused or undeclared libraries, interpret the results, clean up the pom.xml, and follow best‑practice testing to ensure project stability.

Dependency ManagementIntelliJ IDEAMaven
0 likes · 6 min read
Managing Maven Dependencies in Java Projects
Java Architecture Diary
Java Architecture Diary
Feb 7, 2025 · Artificial Intelligence

Unlock DeepSeek R1’s Full Potential in Spring with deepseek4j

This article introduces deepseek4j, a Spring‑Boot‑compatible library that fully supports DeepSeek R1’s chain‑of‑thought and billing features, offering reactive streaming, easy configuration, and a built‑in debugging page, with step‑by‑step setup and code examples to help developers quickly integrate the model.

AI integrationDeepSeekOpenAI4J
0 likes · 6 min read
Unlock DeepSeek R1’s Full Potential in Spring with deepseek4j
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 7, 2025 · Backend Development

Master Dynamic JSON in Spring Boot 3: 4 Practical Techniques

This article explains why Spring Boot 3 uses Jackson for JSON handling, describes four effective methods—JsonNode, Map, @JsonAnySetter, and custom deserializer—to process dynamic JSON properties, and promotes a continuously updated collection of over 90 Spring Boot case studies with source code.

Custom DeserializerDynamic JSONJackson
0 likes · 9 min read
Master Dynamic JSON in Spring Boot 3: 4 Practical Techniques
Selected Java Interview Questions
Selected Java Interview Questions
Feb 6, 2025 · Fundamentals

Facade Pattern: Overview, Benefits, UML Diagram, and Practical Spring Boot Implementation

This article explains the Facade design pattern, its purpose of simplifying complex systems, outlines its benefits and UML structure, and demonstrates a complete Spring Boot example that encapsulates flight, hotel, and package services behind a BookingFacade for a travel‑booking application.

Design PatternsFacade PatternSpring Boot
0 likes · 13 min read
Facade Pattern: Overview, Benefits, UML Diagram, and Practical Spring Boot Implementation
Selected Java Interview Questions
Selected Java Interview Questions
Feb 5, 2025 · Backend Development

Implementing Data Isolation in Spring Boot with MyBatis Interceptor and JSqlParser

This article demonstrates how to achieve data isolation in a Spring Boot application by creating a MyBatis interceptor that modifies SQL statements using JSqlParser, covering tool introductions, dependency setup, interceptor implementation, testing for SELECT/INSERT/UPDATE/DELETE, and the rationale for intercepting the prepare method.

Data IsolationJSqlParserMyBatis
0 likes · 14 min read
Implementing Data Isolation in Spring Boot with MyBatis Interceptor and JSqlParser
Code Ape Tech Column
Code Ape Tech Column
Feb 4, 2025 · Backend Development

Sa-Token Java Permission Authentication Framework: Overview, Login, and Permission Implementation

This article introduces the lightweight Sa-Token Java authentication framework, explains why it is chosen over Spring Security and Shiro, details its login and permission APIs with code examples, shows how to configure it in Spring Boot and WebFlux projects, and lists its extensive feature set for secure backend development.

Sa-TokenSpring Bootauthentication
0 likes · 23 min read
Sa-Token Java Permission Authentication Framework: Overview, Login, and Permission Implementation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 4, 2025 · Backend Development

How to Add Domain-Based Verification to Spring Security Login in Spring Boot 3

This article announces a Spring Boot 3 case collection with 90 permanent examples, then walks through extending Spring Security login to include domain verification by defining a User entity, repository, custom filter, security configuration, Thymeleaf login page, controller, and test endpoint, complete with code snippets and screenshots.

Custom AuthenticationDomain LoginSpring Boot
0 likes · 11 min read
How to Add Domain-Based Verification to Spring Security Login in Spring Boot 3
Architect's Guide
Architect's Guide
Feb 4, 2025 · Backend Development

Deploying Redis Sentinel with Portainer and Integrating it into a Spring Boot Application

This tutorial walks through installing Portainer for Docker container management, creating docker‑compose files to deploy Portainer, setting up a master‑slave‑sentinel Redis architecture, configuring a custom bridge network, and finally integrating Redis Sentinel into a Spring Boot project with Lettuce connection pooling.

Container ManagementDockerRedis Sentinel
0 likes · 15 min read
Deploying Redis Sentinel with Portainer and Integrating it into a Spring Boot Application
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 3, 2025 · Backend Development

Master QLExpress: A Hands‑On Guide to Rule Engine Integration with Spring Boot 3

This article introduces the QLExpress rule engine, outlines its key features such as thread‑safety and high‑performance execution, and provides step‑by‑step Spring Boot 3 integration examples—including dependency setup, simple expressions, function definitions, operator aliases, macro usage, and variable querying—complete with runnable code snippets and output illustrations.

QLExpressSpring Bootjava
0 likes · 10 min read
Master QLExpress: A Hands‑On Guide to Rule Engine Integration with Spring Boot 3
Java Backend Technology
Java Backend Technology
Feb 1, 2025 · Backend Development

Unlock Apache Tika: Extract Text, Metadata, and Detect Sensitive Data in Java

This article introduces Apache Tika, a powerful Java library for parsing many file formats, extracting text and metadata, performing OCR and language detection, and shows how to integrate it with Spring Boot to automatically detect sensitive information such as ID numbers, credit cards, and phone numbers.

Apache TikaFile ParsingMetadata Extraction
0 likes · 22 min read
Unlock Apache Tika: Extract Text, Metadata, and Detect Sensitive Data in Java
Java Tech Enthusiast
Java Tech Enthusiast
Jan 31, 2025 · Backend Development

Java 21 Virtual Threads: Benefits, Usage, and Performance Comparison

Java 21’s virtual threads provide a lightweight, JVM‑managed alternative to OS threads that enables hundreds of thousands of concurrent tasks, simplifies scheduling, integrates easily into Spring Boot via a preview flag and Tomcat executor, and delivers up to five‑fold speed‑ups and lower latency in high‑load I/O‑intensive applications.

Spring BootVirtual Threadsconcurrency
0 likes · 7 min read
Java 21 Virtual Threads: Benefits, Usage, and Performance Comparison
Architecture Digest
Architecture Digest
Jan 29, 2025 · Backend Development

Using Lua Scripts in Spring Boot with Redis: A Comprehensive Guide

This tutorial explains how to combine Spring Boot and Redis using Lua scripts, covering Lua fundamentals, performance advantages, practical use cases, step‑by‑step implementation in Spring Boot, error handling, security considerations, and best‑practice recommendations for backend developers.

LuaScriptingSpring Boot
0 likes · 21 min read
Using Lua Scripts in Spring Boot with Redis: A Comprehensive Guide
Programmer DD
Programmer DD
Jan 27, 2025 · Artificial Intelligence

Run DeepSeek‑R1 Locally with Ollama and Call It from Spring Boot

Learn how to deploy the open‑source DeepSeek‑R1 model using Ollama on Linux or macOS, configure various model sizes, and integrate it into a Spring Boot application with Spring AI to build an API‑driven translation service, complete with code examples and testing.

APIDeepSeekOllama
0 likes · 9 min read
Run DeepSeek‑R1 Locally with Ollama and Call It from Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jan 27, 2025 · Backend Development

Comprehensive Guide to Rate Limiting Strategies and Implementations in Microservice Architecture

This article systematically explains the importance of rate limiting in microservice systems, compares various governance frameworks such as Dubbo and Spring Cloud, introduces common algorithms like token‑bucket and leaky‑bucket, and provides detailed implementation examples using Guava, Sentinel, Redis+Lua, and a custom Spring Boot starter.

MicroservicesRedisSentinel
0 likes · 25 min read
Comprehensive Guide to Rate Limiting Strategies and Implementations in Microservice Architecture
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 27, 2025 · Fundamentals

Master 7 Essential Java Design Patterns with Real-World Spring Boot Examples

This article introduces seven core design patterns—Singleton, Factory, Builder, Strategy, Observer, Proxy, and Template—explaining their purpose, typical use cases, and providing complete Java code examples that integrate with Spring Boot 3 and Java 21, helping developers write cleaner, more maintainable software.

BuilderDesign PatternsSpring Boot
0 likes · 20 min read
Master 7 Essential Java Design Patterns with Real-World Spring Boot Examples
Top Architect
Top Architect
Jan 26, 2025 · Backend Development

Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Development

This article introduces the LiteFlow rule engine, explaining its architecture, supported rule file formats, component types, EL rule definitions, data context handling, configuration options, and demonstrates its application in an e‑commerce order processing scenario, highlighting hot‑deployment and performance benefits for Java backend development.

LiteFlowSpring BootWorkflow
0 likes · 12 min read
Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Development
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Jan 26, 2025 · Backend Development

Mastering Spring Transaction Management: From JDBC to @Transactional

This article explains the fundamentals of transaction handling in Spring Boot, covering both programmatic approaches with PlatformTransactionManager and TransactionTemplate and declarative management using @Transactional, while detailing common pitfalls, propagation and isolation settings, and providing concrete code examples.

Declarative TransactionJDBCProgrammatic Transaction
0 likes · 23 min read
Mastering Spring Transaction Management: From JDBC to @Transactional
Architect
Architect
Jan 24, 2025 · Backend Development

Unveiling Spring Boot’s Magic: How @SpringBootApplication Drives Auto‑Configuration

This article deep‑dives into Spring Boot’s inner workings, explaining why dependency versions are omitted, how the spring‑boot‑starter‑parent and spring‑boot‑dependencies manage libraries, and how the composite @SpringBootApplication annotation orchestrates @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan to achieve seamless auto‑configuration and rapid application startup.

Dependency ManagementSpring Bootauto-configuration
0 likes · 29 min read
Unveiling Spring Boot’s Magic: How @SpringBootApplication Drives Auto‑Configuration
macrozheng
macrozheng
Jan 24, 2025 · Backend Development

How to Hot‑Deploy Custom Java Interfaces with Spring Boot and Reflection

This guide demonstrates how to enable hot deployment of user‑provided Java interface implementations in a Spring Boot application, covering both annotation‑based and reflection‑based approaches, jar uploading, dynamic bean registration, class loading, and cleanup, with complete code examples.

Dynamic Bean RegistrationHot DeploymentSpring Boot
0 likes · 8 min read
How to Hot‑Deploy Custom Java Interfaces with Spring Boot and Reflection
macrozheng
macrozheng
Jan 23, 2025 · Backend Development

Unlock Spring Boot’s Hidden Extension Points: A Complete Guide to Bean Lifecycle Hooks

This article walks through every extensible hook in Spring and Spring Boot—from container refresh and ApplicationContextInitializer to BeanFactoryPostProcessor, InstantiationAwareBeanPostProcessor, SmartInitializingSingleton, and more—showing when each runs, how to implement it, and practical code examples for Java developers.

Bean LifecycleSpring Bootextension-points
0 likes · 18 min read
Unlock Spring Boot’s Hidden Extension Points: A Complete Guide to Bean Lifecycle Hooks
Architect's Guide
Architect's Guide
Jan 23, 2025 · Backend Development

Integrating Apache Tika with Spring Boot for Document Parsing

This article demonstrates how to add Apache Tika dependencies to a Spring Boot project, configure tika-config.xml, create a Java configuration class, and use the injected Tika bean to detect, translate, and parse various document formats such as PDF, PPT, and XLS.

Apache TikaConfigurationSpring Boot
0 likes · 6 min read
Integrating Apache Tika with Spring Boot for Document Parsing
Top Architect
Top Architect
Jan 22, 2025 · Backend Development

Understanding Plugin Mechanisms in Java and Spring Boot

This article explains the concept of plugin mechanisms in Java and Spring Boot, covering benefits, common implementation approaches such as ServiceLoader and custom configuration, detailed code examples, and practical guidance for building extensible backend systems.

SPISpring Bootbackend development
0 likes · 22 min read
Understanding Plugin Mechanisms in Java and Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jan 22, 2025 · Backend Development

Using Lua Scripts with Spring Boot and Redis: A Comprehensive Guide

This article introduces Lua scripting in Redis, explains its fundamentals and advantages, and provides step‑by‑step instructions for integrating and executing Lua scripts within a Spring Boot application, including code examples, performance optimization, error handling, security considerations, and best practices.

LuaRedisSpring Boot
0 likes · 19 min read
Using Lua Scripts with Spring Boot and Redis: A Comprehensive Guide