Tagged articles
3838 articles
Page 9 of 39
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 1, 2025 · Backend Development

Master Spring Boot TargetSource: Custom, HotSwappable, Pooled & More

This article explains Spring Boot's TargetSource mechanism, covering the default SingletonTargetSource and demonstrating how to implement custom, hot‑swappable, pooled, prototype, and thread‑local TargetSources with full code examples and execution results, helping developers manage bean instances dynamically in AOP proxies.

TargetSourceaopbackend-development
0 likes · 8 min read
Master Spring Boot TargetSource: Custom, HotSwappable, Pooled & More
Architecture Digest
Architecture Digest
Apr 30, 2025 · Backend Development

Integrating Spring Boot with Model Context Protocol (MCP) for AI‑Powered Book Management

This article demonstrates how to transform a traditional Spring Boot book‑management service into an AI‑driven MCP service by importing Spring AI dependencies, configuring proxy and MCP server settings, annotating service methods with @Tool, registering them, and exposing a chat endpoint that lets large language models query and manipulate book data through natural language.

AIChatbotMCP
0 likes · 13 min read
Integrating Spring Boot with Model Context Protocol (MCP) for AI‑Powered Book Management
macrozheng
macrozheng
Apr 30, 2025 · Backend Development

Master Dynamic Data Permissions in Spring Boot with Easy-Data-Scope

This tutorial walks through setting up the easy-data-scope library in a Spring Boot project, configuring the database and dependencies, defining DataScopeInfo, using the @DataScope annotation, and demonstrating various permission scenarios such as filtering by ID, age, merging conditions, and custom templates.

Data Permissionannotationmybatis
0 likes · 11 min read
Master Dynamic Data Permissions in Spring Boot with Easy-Data-Scope
Lin is Dream
Lin is Dream
Apr 29, 2025 · Backend Development

When to Use Body vs Params in Spring Boot APIs: A Practical Guide

This article explains the differences between Body and Params parameters in Spring Boot, covering various Content‑Type configurations such as query, x‑www‑form‑urlencoded, form‑data, binary, and JSON, and provides code examples and a clear comparison table to help developers choose the right approach for stable and efficient API design.

Body vs ParamsContent-TypeRequest Parameters
0 likes · 6 min read
When to Use Body vs Params in Spring Boot APIs: A Practical Guide
Code Ape Tech Column
Code Ape Tech Column
Apr 29, 2025 · Backend Development

Custom SQL Injector in MyBatis‑Plus: Built‑in Extensions, Global Configuration, and How to Create Your Own

This article explains the concept of SQL injectors in MyBatis‑Plus, lists the built‑in injectable methods, shows how to configure them globally, demonstrates creating a custom mapper and injector with full code examples, and provides step‑by‑step testing procedures for extending MyBatis‑Plus functionality.

Custom MapperSQL Injectorjava
0 likes · 7 min read
Custom SQL Injector in MyBatis‑Plus: Built‑in Extensions, Global Configuration, and How to Create Your Own
Architect
Architect
Apr 28, 2025 · Backend Development

Master Real-Time Log Streaming in Spring Boot with ResponseBodyEmitter

Learn how to implement efficient real-time log streaming in Spring Boot using ResponseBodyEmitter, covering its purpose, core methods, usage scenarios, step-by-step controller code, connection lifecycle management, comparison with SSE and Streaming, and important considerations for client support, timeouts, and thread safety.

HTTP Chunked TransferReal-time StreamingResponseBodyEmitter
0 likes · 11 min read
Master Real-Time Log Streaming in Spring Boot with ResponseBodyEmitter
Selected Java Interview Questions
Selected Java Interview Questions
Apr 28, 2025 · Backend Development

Understanding Java Virtual Threads: Basics, Spring Boot Integration, and Performance Comparison

This article introduces Java 21's virtual threads, explains their lightweight and high‑concurrency advantages, demonstrates basic usage and Spring Boot integration with code examples, and compares their performance against traditional threads through practical experiments and additional optimization tips.

BackendPerformanceVirtual Threads
0 likes · 7 min read
Understanding Java Virtual Threads: Basics, Spring Boot Integration, and Performance Comparison
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 28, 2025 · Backend Development

Master Spring Boot 3 Initialization: 7 Practical Techniques Explained

This article introduces seven Spring Boot 3 initialization mechanisms—including @PostConstruct, InitializingBean, @Bean initMethod, ApplicationRunner, ContextRefreshedEvent, SmartInitializingSingleton, and SmartLifecycle—detailing their usage, code examples, execution order, and suitable scenarios for effective application startup.

Initializationjavaspring
0 likes · 8 min read
Master Spring Boot 3 Initialization: 7 Practical Techniques Explained
Java Captain
Java Captain
Apr 27, 2025 · Backend Development

Parallel Pagination Query Interceptor for MyBatis-Plus in Spring Boot

This article explains how to implement a custom MyBatis-Plus pagination interceptor that parallelizes COUNT and data queries using CompletableFuture and a configurable thread pool in Spring Boot, suitable for large single-table and complex multi-table pagination scenarios, and provides detailed configuration and code examples.

Parallel QueryThreadPooljava
0 likes · 13 min read
Parallel Pagination Query Interceptor for MyBatis-Plus in Spring Boot
Architecture Digest
Architecture Digest
Apr 27, 2025 · Backend Development

Using Java 21 Virtual Threads in Spring Boot: Basics, Performance Comparison, and Best Practices

This article introduces Java 21 virtual threads, explains their lightweight and high‑concurrency advantages, demonstrates basic and delayed creation, shows how to enable them in Spring Boot with minimal configuration, compares performance against traditional threads, and provides additional Java performance optimization tips.

Java 21PerformanceVirtual Threads
0 likes · 6 min read
Using Java 21 Virtual Threads in Spring Boot: Basics, Performance Comparison, and Best Practices
Code Ape Tech Column
Code Ape Tech Column
Apr 27, 2025 · Backend Development

Using easy-data-scope for Dynamic SQL Data Permissions in Spring Boot

This guide demonstrates how to integrate the easy-data-scope library into a Spring Boot project to implement dynamic, annotation‑driven SQL data permissions with MyBatis, covering project setup, dependency configuration, core interfaces, annotation options, and practical query examples.

BackendData Permissionannotations
0 likes · 7 min read
Using easy-data-scope for Dynamic SQL Data Permissions in Spring Boot
Java Captain
Java Captain
Apr 27, 2025 · Backend Development

Comprehensive Overview of Spring MVC, Bean, Dependency Injection, Scope, and Spring Boot Annotations

This article provides a detailed guide to the most commonly used Spring and Spring Boot annotations—including MVC mapping annotations, bean registration annotations, dependency injection and scope annotations, as well as conditional configuration annotations—explaining their purposes, key attributes, and example usages for Java backend development.

annotationsdependency-injectionjava
0 likes · 12 min read
Comprehensive Overview of Spring MVC, Bean, Dependency Injection, Scope, and Spring Boot Annotations
Java Captain
Java Captain
Apr 26, 2025 · Backend Development

Creating and Customizing a Spring Boot Starter with Auto‑Configuration Explained

This article explains the problems of traditional Spring MVC setup, introduces Spring Boot starters as a solution, details naming conventions and project structure for custom starters, and walks through the implementation of auto‑configuration classes, properties binding, and the spring.factories registration process.

BackendStarterauto-configuration
0 likes · 9 min read
Creating and Customizing a Spring Boot Starter with Auto‑Configuration Explained
Architecture Digest
Architecture Digest
Apr 25, 2025 · Information Security

Integrating Apache Tika with Spring Boot for Sensitive Information Detection and Data Leak Prevention

This guide demonstrates how to integrate Apache Tika into a Spring Boot application to automatically extract file content, detect sensitive data such as ID numbers, credit cards, and phone numbers using regular expressions, and implement data leak protection through a REST API with code examples.

Apache TikaData Leak PreventionFile Parsing
0 likes · 22 min read
Integrating Apache Tika with Spring Boot for Sensitive Information Detection and Data Leak Prevention
Architecture Digest
Architecture Digest
Apr 24, 2025 · Backend Development

Configurable Data Desensitization in Spring Boot Using Custom Annotations and Serializer

This article demonstrates how to create a configurable data‑masking solution for Spring Boot APIs by defining a custom @DataMasking annotation, implementing masking strategies, building a custom Jackson serializer, integrating it via an AnnotationIntrospector, and testing the functionality with a sample controller.

Custom AnnotationSerializerdata masking
0 likes · 8 min read
Configurable Data Desensitization in Spring Boot Using Custom Annotations and Serializer
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 24, 2025 · Backend Development

Mastering JPA with @Formula, @SQLRestriction, and @Filter in Spring Boot 3

This article explains how three Hibernate annotations—@Formula, @SQLRestriction (or @Where), and @Filter—solve common JPA pain points such as scattered query logic, duplicated calculations, and hard‑coded filters, providing code‑reduction, better performance, and easier maintenance in Spring Boot 3 projects.

Dynamic QueriesHibernatebackend-development
0 likes · 8 min read
Mastering JPA with @Formula, @SQLRestriction, and @Filter in Spring Boot 3
Java Captain
Java Captain
Apr 23, 2025 · Backend Development

Custom MyBatis TypeHandler for Automatic JSON and Enum Conversion

This article explains how to create custom MyBatis TypeHandler classes to automatically convert Java objects—such as JSON strings and enum codes—to appropriate JDBC types, simplifying data persistence in Spring Boot applications and improving code maintainability.

JSONTypeHandlerdatabase
0 likes · 9 min read
Custom MyBatis TypeHandler for Automatic JSON and Enum Conversion
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 23, 2025 · Backend Development

Master Spring Boot 3 Filters: 8 Essential Built‑in Filters Explained

This article introduces Spring Boot 3's filter mechanism, outlines core functions and application scenarios, and provides detailed code examples for eight built‑in filters such as CharacterEncodingFilter, CorsFilter, and HiddenHttpMethodFilter, helping developers build secure and efficient web applications.

ServletWeb Securitybackend-development
0 likes · 7 min read
Master Spring Boot 3 Filters: 8 Essential Built‑in Filters Explained
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 22, 2025 · Operations

Step-by-Step Guide to Deploy a Spring Boot Application with Docker and Jenkins CI/CD

This tutorial walks through installing Docker and Jenkins on CentOS, configuring system settings, creating a Jenkins job to pull, build, and package a Spring Boot project, testing the pipeline, and finally running the application via Docker, providing complete commands and configuration details for a reliable CI/CD workflow.

BackendCI/CDJenkins
0 likes · 8 min read
Step-by-Step Guide to Deploy a Spring Boot Application with Docker and Jenkins CI/CD
Architecture Digest
Architecture Digest
Apr 21, 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 a Spring Boot application to leverage Redis's atomic execution, reduce network overhead, and improve performance, covering Lua fundamentals, reasons to choose Lua, practical use‑cases, step‑by‑step implementation, error handling, security considerations, and best practices.

LuaPerformancespring-boot
0 likes · 20 min read
Using Lua Scripts in Spring Boot with Redis for Performance and Atomic Operations
Java Captain
Java Captain
Apr 21, 2025 · Backend Development

MyBatis-Plus Guide: Features, Quick Start, CRUD Extensions, and Advanced Usage

This article introduces MyBatis‑Plus, an enhancement for MyBatis, outlining its lightweight features, step‑by‑step setup including database creation, Maven dependency, configuration, entity and mapper definitions, CRUD operations, pagination, optimistic locking, logical deletion, condition wrappers, and code generation utilities for rapid backend development.

CRUDORMcode-generation
0 likes · 12 min read
MyBatis-Plus Guide: Features, Quick Start, CRUD Extensions, and Advanced Usage
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 21, 2025 · Cloud Native

Build a Clean Microservice Config Center with Nacos in One Step

This article walks through using Nacos as a centralized configuration center for Spring Cloud microservices, showing how to create configuration data, set up a Maven client, enable dynamic refresh with @RefreshScope, and manage multi‑environment and multi‑file configurations.

@RefreshScopeCloud NativeConfiguration Center
0 likes · 16 min read
Build a Clean Microservice Config Center with Nacos in One Step
Top Architect
Top Architect
Apr 18, 2025 · Backend Development

Comprehensive Guide to Using the XXL‑Job Distributed Task Scheduling Framework

This article provides a step‑by‑step tutorial on installing, configuring, and using the open‑source XXL‑Job distributed scheduling framework with Spring Boot, covering server and executor deployment, task creation via annotations, API and sharding, execution, logging, and the underlying Netty‑based communication design.

Distributed SchedulingXXL-JOBjava
0 likes · 14 min read
Comprehensive Guide to Using the XXL‑Job Distributed Task Scheduling Framework
Java Architecture Diary
Java Architecture Diary
Apr 18, 2025 · Backend Development

How to Disable Automatic HTTP Header Binding in Spring Boot 3.4 and Avoid Version Field Conflicts

This article explains why Spring Boot 3.4's new automatic HTTP header binding can corrupt DTO fields like version used for optimistic locking, and provides a global ControllerAdvice solution plus alternative strategies to prevent such conflicts in microservice environments.

ControllerAdviceHTTP Header BindingSpring Framework
0 likes · 6 min read
How to Disable Automatic HTTP Header Binding in Spring Boot 3.4 and Avoid Version Field Conflicts
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 18, 2025 · Backend Development

Discover 17 Spring Boot Return Types: From @ResponseBody to Flux & Mono

This article explains how Spring Boot controllers can return up to 17 different response types—including @ResponseBody, HttpEntity, ResponseEntity, HttpHeaders, ErrorResponse, ProblemDetail, String views, ModelAndView, @ModelAttribute, DeferredResult, Callable, CompletableFuture, ResponseBodyEmitter, SseEmitter, StreamingResponseBody, Flux and Mono—providing code examples, usage notes, and sample output images for each.

Return TypesWeb Developmentjava
0 likes · 16 min read
Discover 17 Spring Boot Return Types: From @ResponseBody to Flux & Mono
Top Architect
Top Architect
Apr 17, 2025 · Backend Development

Plugin Architecture in Java: Implementing Modular Extensions with ServiceLoader, Spring Factories, and Custom Configurations

This article explains how to design and implement a plugin mechanism in Java and Spring Boot, covering the benefits of modular decoupling, common implementation patterns such as ServiceLoader and custom configuration files, and practical code examples for building extensible backend services.

ServiceLoaderdependency-injectionjava
0 likes · 23 min read
Plugin Architecture in Java: Implementing Modular Extensions with ServiceLoader, Spring Factories, and Custom Configurations
Selected Java Interview Questions
Selected Java Interview Questions
Apr 15, 2025 · Backend Development

Design and Implementation of Data Permission in Backend Projects Using MyBatis Interceptor and Spring Boot Auto‑Configuration

This article explains a low‑intrusion data‑permission design for backend micro‑services, detailing resource and value‑rule definitions, RBAC modeling, MyBatis SQL interception implementation, Redis‑based permission retrieval, and Spring Boot auto‑configuration for easy enablement in production.

Data PermissionRBACSQL interceptor
0 likes · 9 min read
Design and Implementation of Data Permission in Backend Projects Using MyBatis Interceptor and Spring Boot Auto‑Configuration
Java Web Project
Java Web Project
Apr 15, 2025 · Backend Development

Transform a Spring Boot CRUD Service into an AI‑Powered MCP Endpoint

This guide walks through converting a traditional Spring Boot book‑management API into a Model Context Protocol (MCP) service that can be invoked via natural‑language prompts, covering dependency setup, proxy configuration, @Tool annotations, MCP server registration, chat client wiring, data initialization, and end‑to‑end testing.

AI integrationBackendChatClient
0 likes · 17 min read
Transform a Spring Boot CRUD Service into an AI‑Powered MCP Endpoint
Java Captain
Java Captain
Apr 14, 2025 · Backend Development

Project Initialization, Version Management, and Scaffold Setup for Spring Boot Backend Development

This guide walks through initializing a Spring Boot project, handling IDE setup challenges, managing version compatibility between Spring Cloud, Spring Boot, and Kafka, and provides practical code examples for global exception handling, logging, CORS configuration, Swagger integration, and useful development tools.

Exception HandlingKafkaSwagger
0 likes · 12 min read
Project Initialization, Version Management, and Scaffold Setup for Spring Boot Backend Development
Java Tech Enthusiast
Java Tech Enthusiast
Apr 13, 2025 · Backend Development

Dynamic Loading of JAR Files in Spring Boot Applications

This guide explains how Spring Boot applications can dynamically load and unload JAR files at runtime—covering the underlying concepts, benefits such as modularity and hot‑plugging, and step‑by‑step implementations using SpringBootClassLoader as well as the OSGi resource‑locator library.

Class LoaderDynamic JAR LoadingOSGi
0 likes · 9 min read
Dynamic Loading of JAR Files in Spring Boot Applications
Architect
Architect
Apr 12, 2025 · Backend Development

Secure Spring Boot APIs with Hybrid AES‑RSA Encryption, Transparent Request Wrappers, and Response‑Encryption AOP

This article walks through a complete solution for protecting data in Spring Boot applications, covering symmetric, asymmetric, and hybrid encryption schemes, utility classes for AES and RSA, a custom HttpServletRequestWrapper to enable multiple reads of the request body, a filter that transparently decrypts incoming parameters, and an AOP‑based response‑encryption mechanism triggered by a custom annotation.

AESRSAaop
0 likes · 45 min read
Secure Spring Boot APIs with Hybrid AES‑RSA Encryption, Transparent Request Wrappers, and Response‑Encryption AOP
Top Architect
Top Architect
Apr 10, 2025 · Backend Development

Measuring Heap Memory Consumption of HTTP and RPC Requests in Spring Boot

The article presents a Spring Boot experiment measuring per‑request heap memory usage for HTTP and RPC calls, details the JMeter test setup, analyzes GC logs, reports findings such as ~34KB per HTTP request and 0.5‑1MB per RPC request, offers optimization recommendations, and also includes promotional material for AI‑related products.

JVMPerformance Testingbackend-development
0 likes · 11 min read
Measuring Heap Memory Consumption of HTTP and RPC Requests in Spring Boot
Top Architect
Top Architect
Apr 10, 2025 · Backend Development

Using Spring 6 HTTP Interface (GetExchange) to Build a Demo Service

This article introduces Spring 6's new HTTP Interface feature with a step‑by‑step demo, explains the GetExchange annotation and service creation, and then shifts to promote AI‑related products and community offers, including code snippets and deployment instructions.

GetExchangeHTTP Interfacebackend-development
0 likes · 11 min read
Using Spring 6 HTTP Interface (GetExchange) to Build a Demo Service
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 10, 2025 · Artificial Intelligence

Build a RAG-Powered Knowledge Base with Spring Boot, Milvus, and Ollama

This guide walks through creating a Retrieval‑Augmented Generation (RAG) system using Spring Boot 3.4.2, Milvus vector database, and the bge‑m3 embedding model via Ollama, covering environment setup, dependency configuration, vector store operations, and integration with a large language model to deliver refined, similarity‑based answers.

EmbeddingLLMMilvus
0 likes · 11 min read
Build a RAG-Powered Knowledge Base with Spring Boot, Milvus, and Ollama
Architect
Architect
Apr 9, 2025 · Backend Development

Merging Requests and Batch Querying in Spring Boot to Reduce Database Connections

This article explains how to merge concurrent user requests into a single batch SQL query using Java's LinkedBlockingQueue, ScheduledThreadPoolExecutor and CompletableFuture in a Spring Boot application, thereby saving database connections and improving performance under high concurrency.

Batch ProcessingDatabase Optimizationrequest merging
0 likes · 13 min read
Merging Requests and Batch Querying in Spring Boot to Reduce Database Connections
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 9, 2025 · Backend Development

Master Spring Boot 3: 8 Real-World Cases to Boost Your Backend Skills

This article presents eight practical Spring Boot 3 examples—including Resilience4j protection, custom Actuator endpoints, distributed transactions, caching, asynchronous programming, API gateway, OAuth2/JWT security, and scheduled tasks—each with code snippets and configuration guidance to help developers build robust backend services.

Actuatorcachinggateway
0 likes · 8 min read
Master Spring Boot 3: 8 Real-World Cases to Boost Your Backend Skills
Architect
Architect
Apr 8, 2025 · Backend Development

Turn a Spring Boot CRUD Service into an AI‑Powered MCP Endpoint

This guide shows how to convert a traditional Spring Boot book‑management service into a Model Context Protocol (MCP) server that lets large language models interact with the service via natural‑language commands, covering dependency setup, MCP configuration, tool annotations, chat client integration, and end‑to‑end testing.

AI integrationModel Context ProtocolTool annotation
0 likes · 18 min read
Turn a Spring Boot CRUD Service into an AI‑Powered MCP Endpoint
Architect
Architect
Apr 7, 2025 · Backend Development

Master Spring 6 HTTP Interface: Build a GetExchange Demo from Scratch

This article walks through creating a Spring Boot project that uses Spring 6's new HTTP Interface feature, defines a @GetExchange‑annotated API, generates a client proxy with WebClient, demonstrates request handling, explains related annotations, and discusses why the Reactive Web dependency is required.

GetExchangeHTTP Interfacebackend-development
0 likes · 9 min read
Master Spring 6 HTTP Interface: Build a GetExchange Demo from Scratch
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 7, 2025 · Backend Development

Mastering @JsonView in Spring Boot 3: Dynamic JSON Serialization Techniques

This article explains how to use Jackson's @JsonView annotation in Spring Boot 3 to flexibly control JSON output for different REST scenarios, covering basic usage, programmatic view selection, view‑based MVC responses, deserialization restrictions, and default‑inclusion configuration with practical code examples.

Jacksonjavajsonview
0 likes · 8 min read
Mastering @JsonView in Spring Boot 3: Dynamic JSON Serialization Techniques
Architect
Architect
Apr 5, 2025 · Backend Development

Mastering WebSocket Integration in Spring Boot: Javax, WebMVC & WebFlux

This article compares six WebSocket integration approaches—Javax, WebMVC, WebFlux, Java-WebSocket, SocketIO, and Netty—showing how to configure both server and client sides in Spring Boot, with step‑by‑step code examples, key annotations, and practical tips for each method.

JavaxWebFluxbackend-development
0 likes · 17 min read
Mastering WebSocket Integration in Spring Boot: Javax, WebMVC & WebFlux
Selected Java Interview Questions
Selected Java Interview Questions
Apr 4, 2025 · Backend Development

Guide to Using Lock4j Distributed Lock Component in Spring Boot

This article introduces the Lock4j distributed lock library, explains its features, shows how to add Maven dependencies, configure Redis, use the @Lock4j annotation for simple and advanced locking scenarios, and provides custom executor, key builder, and failure‑strategy examples for Spring Boot applications.

Lock4jZooKeeperdistributed-lock
0 likes · 6 min read
Guide to Using Lock4j Distributed Lock Component in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 4, 2025 · Backend Development

Master Spring Boot Transaction Event Listeners: Code Samples & Real-World Use Cases

This article explains how to decouple business logic using Spring Boot transaction event listeners, demonstrates both manual TransactionSynchronization and @TransactionalEventListener implementations with full code examples, and shows a practical user‑registration scenario that avoids common pitfalls.

backend-developmentevent-listenerjava
0 likes · 9 min read
Master Spring Boot Transaction Event Listeners: Code Samples & Real-World Use Cases
macrozheng
macrozheng
Apr 3, 2025 · Backend Development

Java Backend Interview Secrets: Redis Cache Strategies & Spring Boot Startup

This article compiles essential Java backend interview topics, covering Redis cache pitfalls and solutions, Spring Boot initialization steps, common Spring annotations, MyBatis advantages, Git workflow commands, Java exception hierarchy, Java 8 enhancements, HashMap internals, Docker isolation mechanisms, and Jenkins CI/CD pipelines, providing a comprehensive technical reference for developers.

CI/CDDockerGit
0 likes · 23 min read
Java Backend Interview Secrets: Redis Cache Strategies & Spring Boot Startup
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 3, 2025 · Backend Development

Master Spring Boot 3 Entity Design: Best Practices & Real‑World Examples

This article walks through essential Spring Boot 3 JPA entity design techniques—including inheritance, primary‑key mapping, relationship handling, cascade operations, validation, auditing, DTO projection, and index creation—providing clear code examples and configuration tips for building robust, maintainable backend services.

AuditingEntity DesignHibernate
0 likes · 11 min read
Master Spring Boot 3 Entity Design: Best Practices & Real‑World Examples
Java Architect Essentials
Java Architect Essentials
Apr 2, 2025 · Backend Development

Integrating DeepSeek Large Language Model with Spring Boot to Build an AI Chat Application

This guide demonstrates how to create a Spring Boot backend that integrates DeepSeek's large language model via the Spring AI OpenAI starter, covering project setup, dependency configuration, API key management, and a sample controller that provides AI-powered chat responses such as weather forecasts.

AI integrationChatbotDeepSeek
0 likes · 8 min read
Integrating DeepSeek Large Language Model with Spring Boot to Build an AI Chat Application
Code Ape Tech Column
Code Ape Tech Column
Apr 2, 2025 · Backend Development

Easy Rules Java Rule Engine: Features, Usage, and Real‑World Scenarios

This article introduces the lightweight Easy Rules Java rule engine, explains why traditional if‑else logic is problematic, demonstrates core concepts such as rule, condition, action, and facts, provides step‑by‑step code examples, showcases six practical use‑cases, and shows how to integrate it with Spring Boot and Maven.

Business Ruleseasy rulesjava
0 likes · 16 min read
Easy Rules Java Rule Engine: Features, Usage, and Real‑World Scenarios
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 1, 2025 · Backend Development

Boost Spring AI with Tool Calls: Real‑World Spring Boot 3 Examples

This article explains how Spring AI's tool‑calling feature extends large language models by integrating custom Java tools for information retrieval and operations, and provides step‑by‑step Spring Boot 3 examples—including date‑time and weather tools—complete with configuration, code snippets, and execution results.

AI integrationTool Callingjava
0 likes · 9 min read
Boost Spring AI with Tool Calls: Real‑World Spring Boot 3 Examples
Java Architect Essentials
Java Architect Essentials
Mar 31, 2025 · Backend Development

Spring Boot vs Quarkus: Performance, Migration, and Real‑World Comparison

This article compares Spring Boot and Quarkus by outlining their architectures, running a reactive‑API benchmark with JMeter and VisualVM, presenting startup, build‑time, memory, CPU and response‑time results for JVM and native images, and offering a step‑by‑step guide for migrating Spring developers to Quarkus with code examples.

KubernetesMicroservicesNative Images
0 likes · 17 min read
Spring Boot vs Quarkus: Performance, Migration, and Real‑World Comparison
Cognitive Technology Team
Cognitive Technology Team
Mar 31, 2025 · Backend Development

Understanding Spring Boot Annotations and Auto‑Configuration

This article explains how Spring Boot replaces extensive XML configuration with annotation‑driven setup, detailing the purpose and usage of core annotations such as @SpringBootApplication and @EnableAutoConfiguration, as well as conditional annotations like @ConditionalOnClass, @ConditionalOnBean, @ConditionalOnProperty, @Profile, and provides best‑practice recommendations.

annotationsauto-configurationjava
0 likes · 7 min read
Understanding Spring Boot Annotations and Auto‑Configuration
Java Architecture Diary
Java Architecture Diary
Mar 31, 2025 · Backend Development

Unlock Spring Boot 3.5: 7 Game-Changing Features for Enterprise Apps

Spring Boot 3.5 introduces major enhancements such as dynamic environment‑variable configuration, enriched distributed tracing, intelligent task‑context propagation, Quartz job triggering, SSL certificate lifecycle monitoring, flexible Redis read strategies, and improved Liquibase support, all aimed at boosting enterprise‑grade application development.

Configuration ManagementDistributed TracingLiquibase
0 likes · 7 min read
Unlock Spring Boot 3.5: 7 Game-Changing Features for Enterprise Apps
Java Captain
Java Captain
Mar 29, 2025 · Backend Development

Comparative Performance Analysis of Spring Boot and Quarkus for Cloud‑Native Java Microservices

This article compares Spring Boot and Quarkus by describing their architectures, presenting a reactive test application that uses PostgreSQL, detailing a JMeter performance test plan, and analyzing results such as startup time, build size, CPU, memory, and response latency to help developers decide when to migrate from Spring Boot to Quarkus.

KubernetesMicroservicesNative Images
0 likes · 14 min read
Comparative Performance Analysis of Spring Boot and Quarkus for Cloud‑Native Java Microservices
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 29, 2025 · Backend Development

Master Spring Boot Email Activation & Password Recovery: Full Code Guide

This article provides a comprehensive Spring Boot tutorial covering user account activation, email verification, password recovery, and advanced mailing features such as attachments and inline resources, complete with QQ mail configuration, Maven dependencies, JavaMailSender setup, asynchronous sending, and full code snippets for practical implementation.

Email ActivationJavaMailSenderPassword Recovery
0 likes · 9 min read
Master Spring Boot Email Activation & Password Recovery: Full Code Guide
Java Backend Full-Stack
Java Backend Full-Stack
Mar 27, 2025 · Databases

Hands‑On Sharding: Implementing Database and Table Partitioning with Spring Boot and Sharding‑JDBC

This article walks through a complete sharding implementation that splits a user table across four MySQL databases and sixteen tables, discusses challenges such as distributed IDs, transactions, data migration and pagination, and provides full Spring Boot, Sharding‑JDBC, Elasticsearch and Redis configurations with code examples.

ElasticsearchMySQLSharding-JDBC
0 likes · 10 min read
Hands‑On Sharding: Implementing Database and Table Partitioning with Spring Boot and Sharding‑JDBC
macrozheng
macrozheng
Mar 26, 2025 · Backend Development

Master Multi‑Tenant Architecture with Spring Boot & Spring Cloud

This article explains the concept, advantages, design choices, and step‑by‑step implementation of a multi‑tenant architecture using Spring Boot and Spring Cloud, covering database design, tenant isolation, dynamic routing, and deployment scenarios for SaaS and enterprise applications.

MicroservicesSpring Cloudmulti-tenant
0 likes · 14 min read
Master Multi‑Tenant Architecture with Spring Boot & Spring Cloud
Java Architect Essentials
Java Architect Essentials
Mar 25, 2025 · Artificial Intelligence

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

The article introduces DeepSeek4j 1.4, a Java‑centric framework that overcomes Spring AI’s limitations by preserving DeepSeek’s chain‑of‑thought, supporting streaming output, and offering a simple Spring Boot starter with reactive, configurable, and ready‑to‑use APIs for AI developers.

AIDeepSeekLibrary
0 likes · 5 min read
DeepSeek4j 1.4: A Java Framework for Seamless DeepSeek AI Integration with Full Chain‑of‑Thought and Streaming Support
Architect's Tech Stack
Architect's Tech Stack
Mar 24, 2025 · Backend Development

Replacing Tomcat with Undertow in Spring Boot: Configuration and Performance Comparison

This article explains how to replace Spring Boot's default embedded Tomcat with the Undertow container, details the configuration steps, and presents benchmark results showing Undertow's superior throughput and lower memory usage under high‑concurrency workloads, making it a better choice for performance‑critical applications.

PerformanceTomcatWeb server
0 likes · 6 min read
Replacing Tomcat with Undertow in Spring Boot: Configuration and Performance Comparison
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 24, 2025 · Backend Development

Using Spring's ResponseBodyEmitter for Real‑Time Log Streaming

This article explains how Spring Framework's ResponseBodyEmitter enables real‑time, chunked HTTP responses for use cases such as log streaming, progress updates, chat, and AI output, detailing its advantages over SSE, usage scenarios, core methods, a complete controller example, and best‑practice considerations.

BackendResponseBodyEmitterStreaming
0 likes · 9 min read
Using Spring's ResponseBodyEmitter for Real‑Time Log Streaming
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 23, 2025 · Backend Development

Mastering JSON Configuration in Spring Boot 3: From CLI to Custom Property Sources

This article explains multiple ways to load JSON configuration into Spring Boot 3 applications, covering command‑line arguments, @PropertySource with custom factories, ApplicationContextInitializer, nested JSON handling, and direct @Bean approaches, complete with code examples and troubleshooting tips.

ApplicationContextInitializerJSON configurationPropertySource
0 likes · 8 min read
Mastering JSON Configuration in Spring Boot 3: From CLI to Custom Property Sources
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 22, 2025 · Artificial Intelligence

Spring AI: An Overview of Intelligent Development Trends

This article introduces Spring AI, a Spring ecosystem module that simplifies building, training, and deploying AI applications for Java developers, covering its background, goals, core components such as data processing, model training, deployment, practical code examples, use cases, advantages, challenges, and future outlook.

Artificial IntelligenceModel Deploymentjava
0 likes · 12 min read
Spring AI: An Overview of Intelligent Development Trends
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 22, 2025 · Backend Development

Mastering If‑Else: 9 Proven Techniques to Simplify Java Logic

This article presents nine practical techniques—including the Strategy pattern, lambda maps, Optional chaining, ternary operators, enums, early returns, condition merging, and rule engines—to replace cumbersome if‑else chains in Java, offering cleaner, more maintainable and performant code for Spring Boot developers.

BackendCode Optimizationif-else
0 likes · 9 min read
Mastering If‑Else: 9 Proven Techniques to Simplify Java Logic
Java Captain
Java Captain
Mar 22, 2025 · Fundamentals

Understanding the Facade Design Pattern and Its Application in a Spring Boot Travel Booking System

This article explains the Facade design pattern, illustrating its purpose of simplifying complex systems with a real‑world TV remote analogy, detailing its benefits, UML structure, and a comprehensive Spring Boot example that integrates flight, hotel, and package services through a BookingFacade to streamline travel booking logic.

Design PatternsFacade Patternjava
0 likes · 13 min read
Understanding the Facade Design Pattern and Its Application in a Spring Boot Travel Booking System
Java Captain
Java Captain
Mar 22, 2025 · Databases

Performance Comparison of UUID, Auto‑Increment, and Random Keys in MySQL

This article investigates MySQL's recommendation against using UUID or random Snowflake IDs as primary keys by creating three tables with different key strategies, running Spring Boot/JDBC performance tests, analyzing index structures, and concluding that auto‑increment keys offer superior insertion efficiency and fewer drawbacks.

Database IndexJDBCMySQL
0 likes · 10 min read
Performance Comparison of UUID, Auto‑Increment, and Random Keys in MySQL
Java Captain
Java Captain
Mar 21, 2025 · Backend Development

Request Merging and Batch Processing in Java Spring Boot to Reduce Database Connections

This article explains how to merge multiple user‑detail requests into a single database query using a blocking queue, scheduled thread pool, and CompletableFuture in Spring Boot, providing code examples, a high‑concurrency test, and discussion of trade‑offs such as added latency and timeout handling.

Batch ProcessingCompletableFutureQueue
0 likes · 13 min read
Request Merging and Batch Processing in Java Spring Boot to Reduce Database Connections
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 21, 2025 · Backend Development

Mastering Parameter Validation in Spring Boot with JSR‑303 & Hibernate Validator

This guide explains how to use JSR‑303 and Hibernate Validator in Java Spring Boot to perform comprehensive parameter validation, covering basic annotations, global exception handling, group validation, nested object checks, fast‑fail configuration, and custom validation rules, with practical code examples and testing procedures.

Hibernate ValidatorJSR-303Parameter Validation
0 likes · 15 min read
Mastering Parameter Validation in Spring Boot with JSR‑303 & Hibernate Validator
Lin is Dream
Lin is Dream
Mar 21, 2025 · Backend Development

From Postman to Spring Boot: How HTTP Requests Travel Through Nginx and Tomcat

This article walks through the complete lifecycle of an HTTP API call initiated with Postman, covering DNS resolution, TCP/IP connection, Nginx reverse proxy and load balancing, Spring Boot request handling, service layer processing, JSON serialization, and the final response delivery back to Postman.

APIHTTPNGINX
0 likes · 7 min read
From Postman to Spring Boot: How HTTP Requests Travel Through Nginx and Tomcat
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 21, 2025 · Fundamentals

Master Java Enums: From Basics to Advanced Real-World Patterns

This article introduces a Spring Boot 3 case collection and provides a comprehensive guide to Java enums, covering their definition, type safety, custom values, interface implementation, abstract methods, generics, pattern matching, functional programming, collection usage, and sealed‑class integration with clear code examples.

enumjavaprogramming
0 likes · 9 min read
Master Java Enums: From Basics to Advanced Real-World Patterns
Architecture Digest
Architecture Digest
Mar 20, 2025 · Fundamentals

Understanding the Facade Design Pattern and Its Application in Spring Boot

This article explains the Facade design pattern, illustrating its purpose, benefits, and UML structure, then demonstrates a practical implementation in a Spring Boot travel‑booking system with complete code examples for services, a facade class, and a controller, highlighting how it simplifies complex subsystem interactions.

Design PatternsFacade Patternspring-boot
0 likes · 12 min read
Understanding the Facade Design Pattern and Its Application in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 20, 2025 · Backend Development

Master REST-assured: Real‑World Spring Boot 3 API Testing Guide

Explore a rich Spring Boot 3 case collection while learning step‑by‑step how to use REST‑assured for API testing, covering dependency setup, GET/POST/PUT/DELETE requests, authentication, XML validation, file upload/download, and advanced features, with full code examples and a promise of ongoing updates.

API testingRest-Assuredbackend-development
0 likes · 8 min read
Master REST-assured: Real‑World Spring Boot 3 API Testing Guide
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Mar 19, 2025 · Backend Development

How Spring Cloud Config Works: Build and Use a Service Configuration Center

This article explains why a centralized configuration center is needed for many microservices, introduces Spring Cloud Config, and provides a step‑by‑step tutorial that creates a Git‑backed config server, a client application, and demonstrates dynamic refresh using Spring Boot Actuator.

ActuatorConfiguration CenterDynamic Refresh
0 likes · 12 min read
How Spring Cloud Config Works: Build and Use a Service Configuration Center
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 19, 2025 · Backend Development

Master Real-Time Updates with Spring Boot 3: SSE + fetch-event-source Tutorial

This article introduces a continuously updated Spring Boot 3 case collection and provides a step‑by‑step tutorial on implementing Server‑Sent Events using both the native EventSource API and the fetch‑event‑source library, covering backend controller code, frontend Vue integration, and practical code examples.

Real-TimeSSEVue
0 likes · 9 min read
Master Real-Time Updates with Spring Boot 3: SSE + fetch-event-source Tutorial
Java Architect Essentials
Java Architect Essentials
Mar 18, 2025 · Backend Development

Optimizing Spring Boot Startup Time: Interventions, Configuration Tweaks, and Performance Tips

This article provides a comprehensive guide to speeding up Spring Boot application startup by explaining configuration principles, code‑level interventions, lazy loading, dependency reduction, auto‑configuration exclusion, logging adjustments, compile‑time optimizations, and caching strategies, all illustrated with practical Java examples.

Performance Tuningbackend-developmentjava
0 likes · 30 min read
Optimizing Spring Boot Startup Time: Interventions, Configuration Tweaks, and Performance Tips
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 18, 2025 · Backend Development

Master Streaming Responses in Spring Boot 3: Real‑World Cases & Code

This article introduces Spring Boot 3’s StreamingResponseBody, explains its benefits for high‑concurrency scenarios, and provides three hands‑on examples—large file download, real‑time data streaming, and dynamic CSV export—complete with full Java code and practical tips for efficient backend development.

CSV exportFile DownloadReal-time Streaming
0 likes · 8 min read
Master Streaming Responses in Spring Boot 3: Real‑World Cases & Code