Tagged articles
3874 articles
Page 10 of 39
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 RulesJavaMaven
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 IntegrationJavaSpring AI
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.

JavaMicroservicesNative 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.

JavaSpring Bootannotations
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 ManagementLiquibaseSSL Monitoring
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.

JavaMicroservicesNative 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.

Backend DevelopmentEmail ActivationJavaMailSender
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.

ElasticsearchMySQLRedis
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.

MicroservicesMulti‑tenantSpring Boot
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.

AIDeepSeekJava
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.

JavaSpring BootTomcat
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.

BackendJavaResponseBodyEmitter
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 configurationJava
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 IntelligenceJavaModel Deployment
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 OptimizationJava
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 processingCompletableFutureConcurrency
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-303Java
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.

APIHTTPPostman
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.

EnumJavaSpring Boot
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 testingBackend DevelopmentJava
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.

JavaSSESpring Boot
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.

Backend DevelopmentJavaPerformance tuning
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.

Backend DevelopmentCSV exportFile Download
0 likes · 8 min read
Master Streaming Responses in Spring Boot 3: Real‑World Cases & Code
Top Architect
Top Architect
Mar 17, 2025 · Information Security

OAuth 2.0 Overview and Spring Boot Implementation Guide

This article introduces OAuth 2.0 fundamentals, explains its roles and four grant types, and provides a step‑by‑step Spring Boot implementation with configuration classes, code snippets, and testing procedures, while also containing promotional material for AI‑related products and services.

APIAuthenticationOAuth2
0 likes · 12 min read
OAuth 2.0 Overview and Spring Boot Implementation Guide
Selected Java Interview Questions
Selected Java Interview Questions
Mar 16, 2025 · Information Security

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

This article explains Apache Tika's core features, architecture, and multiple application scenarios, then provides a step‑by‑step guide to embed Tika in a Spring Boot project to extract file content, detect personal data such as ID numbers, credit cards and phone numbers using regular expressions, and protect against data leakage.

Apache TikaInformation SecuritySpring Boot
0 likes · 23 min read
Integrating Apache Tika with Spring Boot for Sensitive Information Detection and Data Leakage Prevention
IT Services Circle
IT Services Circle
Mar 16, 2025 · Backend Development

Comprehensive Java Backend Interview Guide: Redis, Spring Boot, Annotations, Git, Exceptions, Java 8, HashMap, Docker, and CI/CD

This article provides a detailed Java backend interview guide covering Redis cache problems and solutions, Spring Boot startup process, common annotations, Git workflow commands, Java exception hierarchy, Java 8 enhancements, HashMap implementation, Docker containerization, and Jenkins CI/CD practices, along with practical examples and code snippets.

Backend DevelopmentDockerJava
0 likes · 19 min read
Comprehensive Java Backend Interview Guide: Redis, Spring Boot, Annotations, Git, Exceptions, Java 8, HashMap, Docker, and CI/CD
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 16, 2025 · Backend Development

Master Spring Boot 3 Parameter Validation with Real‑World Code Examples

This article introduces annotation‑based parameter validation in Spring Boot 3, explains built‑in constraints, shows how to use @Valid and @Validated in controllers, and provides multiple practical code snippets—including record types, error handling, collection validation, and return‑value checks—along with screenshots of validation errors.

Backend DevelopmentJavaParameter Validation
0 likes · 7 min read
Master Spring Boot 3 Parameter Validation with Real‑World Code Examples
Java Tech Enthusiast
Java Tech Enthusiast
Mar 15, 2025 · Cloud Native

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

The article compares Spring Boot and Quarkus for cloud‑native Java apps, showing Quarkus’s faster startup, smaller builds and lower memory usage (especially in native mode) while Spring Boot slightly leads latency, and outlines migration paths leveraging Quarkus’s Spring‑compatible extensions and native‑image advantages.

JavaQuarkusSpring Boot
0 likes · 14 min read
Comparative Analysis of Spring Boot and Quarkus for Cloud‑Native Java Applications
Selected Java Interview Questions
Selected Java Interview Questions
Mar 15, 2025 · Artificial Intelligence

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

DeepSeek4j 1.4 introduces a Java‑centric, Spring Boot‑compatible framework that fully preserves DeepSeek's chain‑of‑thought capabilities, adds reactive streaming, and provides simple one‑line API integration, addressing previous limitations in mainstream frameworks and offering ready‑to‑use configuration and code examples.

AI IntegrationDeepSeekSpring Boot
0 likes · 5 min read
DeepSeek4j 1.4: Java Spring Boot Integration for DeepSeek with Full Chain‑of‑Thought and Streaming Support
Architecture Digest
Architecture Digest
Mar 14, 2025 · Backend Development

Spring Boot vs Quarkus: Performance Comparison, Migration Guide, and Practical Code Samples

This article compares Spring Boot and Quarkus across architecture, startup speed, memory usage, and native image support, presents a JMeter‑based performance test suite, shares migration tips for Spring developers, and provides concrete Java code examples for building reactive microservices on both frameworks.

JavaQuarkusSpring Boot
0 likes · 13 min read
Spring Boot vs Quarkus: Performance Comparison, Migration Guide, and Practical Code Samples
Code Ape Tech Column
Code Ape Tech Column
Mar 13, 2025 · Backend Development

Understanding CRaC: Fast JVM Startup with Checkpoint/Restore

This article explains the CRaC (Coordinated Restore at Checkpoint) technology for Java applications, describing its principles, supported environments, practical steps for enabling it with Spring Boot, and use‑case scenarios that dramatically reduce JVM startup time.

CRaCJVMJava
0 likes · 9 min read
Understanding CRaC: Fast JVM Startup with Checkpoint/Restore
Architect
Architect
Mar 12, 2025 · Backend Development

DataSource Switching in Spring Boot with ThreadLocal & AbstractRoutingDataSource

Facing the need to query multiple databases in a Spring Boot application, this guide walks through building a custom dynamic datasource solution using ThreadLocal and AbstractRoutingDataSource, covering core implementations, annotation‑based switching, dynamic datasource addition, configuration, and comprehensive test results.

JavaMyBatis-PlusSpring Boot
0 likes · 18 min read
DataSource Switching in Spring Boot with ThreadLocal & AbstractRoutingDataSource
Java Tech Enthusiast
Java Tech Enthusiast
Mar 12, 2025 · Artificial Intelligence

Open-Source Enterprise Knowledge Base and Intelligent Dialogue Platform Based on Spring Boot and DeepSeek

The open‑source DeepSeek‑Flow‑AI platform combines Spring Boot 3.4 back‑end APIs with a Vue 3 front‑end to deliver an enterprise‑grade knowledge base and intelligent multi‑turn dialogue system, supporting private deployment, role‑based access, analytics, CRM/ERP integration, and easy installation via Maven and Yarn.

AIDeepSeekKnowledge Base
0 likes · 5 min read
Open-Source Enterprise Knowledge Base and Intelligent Dialogue Platform Based on Spring Boot and DeepSeek
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 12, 2025 · Backend Development

10 Proven Spring Boot 3 Performance Tweaks to Supercharge Your Apps

Discover ten validated Spring Boot 3 performance optimization techniques—including lazy initialization, JVM tuning, connection pooling, caching, async processing, virtual threads, and Actuator monitoring—complete with configuration snippets and code examples, to accelerate startup, reduce memory usage, and improve response times for Java backend services.

JavaOptimizationPerformance tuning
0 likes · 9 min read
10 Proven Spring Boot 3 Performance Tweaks to Supercharge Your Apps
Java Web Project
Java Web Project
Mar 12, 2025 · Backend Development

Accelerate Java API Development with Magic‑API: A Hands‑On Guide

This article introduces Magic‑API, a Java‑based rapid API development framework, outlines its extensive feature set, and provides step‑by‑step instructions—including Maven integration, configuration, and visual UI usage—to help developers create HTTP endpoints without writing traditional controller or DAO code.

APIBackend DevelopmentJava
0 likes · 5 min read
Accelerate Java API Development with Magic‑API: A Hands‑On Guide
Code Ape Tech Column
Code Ape Tech Column
Mar 12, 2025 · Backend Development

AviatorScript: Features, Usage, and Spring Boot Integration for Expression Evaluation and Validation

This article introduces AviatorScript, a lightweight high‑performance JVM‑based scripting language, outlines its core features and limitations, demonstrates how to add it to a Maven project, shows expression evaluation, variable handling, custom functions, script files, and provides a practical Spring Boot AOP validation example with full code snippets.

AOPExpression EngineJava
0 likes · 18 min read
AviatorScript: Features, Usage, and Spring Boot Integration for Expression Evaluation and Validation
Java Architect Essentials
Java Architect Essentials
Mar 11, 2025 · Information Security

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

This article 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 regex, and implement data leakage protection through RESTful file upload endpoints and optional front‑end UI.

Apache TikaJavaSpring Boot
0 likes · 24 min read
Integrating Apache Tika with Spring Boot for Sensitive Information Detection and Data Leakage Prevention
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 11, 2025 · Backend Development

Boost Spring Boot Performance with a Deflate Compression Filter

This article explains what Deflate compression is, why it improves performance, when to use it, and provides a step‑by‑step Spring Boot 3 implementation—including a custom filter, response wrapper, registration, testing, and optional GZIP configuration—to reduce response size and enhance user experience.

Deflate compressionHTTP CompressionJava filter
0 likes · 10 min read
Boost Spring Boot Performance with a Deflate Compression Filter
Architect's Tech Stack
Architect's Tech Stack
Mar 10, 2025 · Backend Development

Improving Spring Boot Controllers: From Messy to Elegant with @Valid and Global Exception Handling

This article examines common pitfalls in Spring Boot controller implementations—such as excessive try‑catch blocks, inline validation, and business logic—then demonstrates cleaner alternatives using @Valid, validation annotations, and global exception handling to produce concise, maintainable controllers.

ControllerException HandlingJava
0 likes · 8 min read
Improving Spring Boot Controllers: From Messy to Elegant with @Valid and Global Exception Handling
Architecture Digest
Architecture Digest
Mar 10, 2025 · Backend Development

Implementing a Plugin Architecture in Java and Spring Boot Using SPI and Spring Factories

This article explains how to design and implement a flexible plugin mechanism for Java applications, covering the benefits of decoupling, common implementation strategies such as ServiceLoader (SPI), custom configuration loading, and Spring Boot integration via spring.factories, with complete code examples and a real‑world case study.

JavaSPISpring Boot
0 likes · 19 min read
Implementing a Plugin Architecture in Java and Spring Boot Using SPI and Spring Factories
macrozheng
macrozheng
Mar 10, 2025 · Backend Development

Build a Spring Boot + Flowable Leave Approval System: Step‑by‑Step Guide

This tutorial walks through setting up a Spring Boot 2.7.5 project with Flowable 6.6.0 and MySQL8, covering environment setup, Maven dependencies, application properties, core Java classes, REST endpoints, process diagram generation, BPMN definition, database tables, and demo screenshots for a complete leave‑approval workflow.

BPMNFlowableMySQL
0 likes · 20 min read
Build a Spring Boot + Flowable Leave Approval System: Step‑by‑Step Guide
Java Architect Essentials
Java Architect Essentials
Mar 9, 2025 · Backend Development

Building an AI-Powered Chatbot with Spring Boot and DeepSeek

This tutorial demonstrates how to create an AI-driven Spring Boot application by integrating DeepSeek's large language model, covering project setup, dependency configuration, API key management, and implementing a REST controller that provides weather forecasts via a conversational interface.

AIChatbotDeepSeek
0 likes · 8 min read
Building an AI-Powered Chatbot with Spring Boot and DeepSeek
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 9, 2025 · Backend Development

Spring Boot 3 Security Tutorial: AOP, Custom Annotations & JWT

This article presents a continuously updated collection of over 100 Spring Boot 3 practical cases, demonstrating how to implement permission authentication using Spring AOP, custom annotations, JWT utilities, interceptors, a global exception handler, a security context, and a custom argument resolver, complete with test examples and screenshots.

AOPJWTJava
0 likes · 12 min read
Spring Boot 3 Security Tutorial: AOP, Custom Annotations & JWT
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 8, 2025 · Backend Development

Simplify Spring Boot 3 HTTP Calls with RestTemplateAdapter & RestClientAdapter

An extensive Spring Boot 3 case collection featuring over 100 practical examples is now available, accompanied by a detailed tutorial that demonstrates how RestTemplateAdapter and RestClientAdapter simplify HTTP request handling, improve code readability, and ensure seamless integration with third‑party APIs, with a commitment to permanent updates.

Backend DevelopmentHTTPJava
0 likes · 8 min read
Simplify Spring Boot 3 HTTP Calls with RestTemplateAdapter & RestClientAdapter
Java Backend Technology
Java Backend Technology
Mar 8, 2025 · Backend Development

How to Merge Concurrent Requests in Spring Boot and Save Database Connections

This article explains how to batch multiple user‑info requests on the server side, merge them into a single SQL query using a blocking queue and ScheduledThreadPoolExecutor, and return the results individually, thereby reducing database connection usage and improving performance under high concurrency.

Batch processingCompletableFutureJava concurrency
0 likes · 13 min read
How to Merge Concurrent Requests in Spring Boot and Save Database Connections
Java Architect Essentials
Java Architect Essentials
Mar 7, 2025 · Artificial Intelligence

Introducing DeepSeek4j 1.4: A Java Spring Boot Integration for DeepSeek AI with Chain‑of‑Thought and Streaming Support

The article introduces DeepSeek4j 1.4, a Java Spring Boot library that overcomes existing framework limitations by preserving DeepSeek's chain‑of‑thought capabilities, adding full reactive streaming, and providing a simple one‑line API along with quick‑start instructions and code examples.

AI IntegrationDeepSeekJava
0 likes · 5 min read
Introducing DeepSeek4j 1.4: A Java Spring Boot Integration for DeepSeek AI with Chain‑of‑Thought and Streaming Support
Java Tech Enthusiast
Java Tech Enthusiast
Mar 7, 2025 · Backend Development

Implementing a Responsibility Chain Pattern with Spring Boot and MyBatis Plus

The article demonstrates how to build a dynamic Chain of Responsibility in a Spring Boot and MyBatis‑Plus application by defining an abstract handler, implementing concrete @Component beans that modify a shared Lombok‑based context, retrieving them via an ApplicationContext‑aware proxy utility, and invoking them in a client‑specified order through a REST endpoint, while suggesting LiteFlow as a production alternative.

JavaMyBatis-PlusREST API
0 likes · 9 min read
Implementing a Responsibility Chain Pattern with Spring Boot and MyBatis Plus
JD Tech Talk
JD Tech Talk
Mar 7, 2025 · Fundamentals

1. Introduction to SPI

This article introduces Java's Service Provider Interface (SPI) mechanism, explaining its role in decoupling interface definitions from implementations, with examples in JDBC, Spring Boot, and Dubbo.

JDBCJava FundamentalsJava SPI
0 likes · 11 min read
1. Introduction to SPI
macrozheng
macrozheng
Mar 6, 2025 · Backend Development

Dynamic Service Switching in Spring Boot Using spring‑smart‑di

This article explains how to implement dynamic switching of service implementations in a Spring Boot application by leveraging the spring‑smart‑di library, covering configuration setup, custom annotations, and code examples that enable runtime changes without restarting the service.

Dynamic ConfigurationSpring Bootdependency-injection
0 likes · 8 min read
Dynamic Service Switching in Spring Boot Using spring‑smart‑di
Architecture Digest
Architecture Digest
Mar 5, 2025 · Backend Development

Understanding Java Virtual Threads and Their Performance Benefits in Spring Boot

This article introduces Java 21's virtual threads, explains their lightweight and high‑concurrency advantages, demonstrates basic and delayed usage with code examples, shows how to enable them in Spring Boot, compares performance against traditional threads, and offers additional Java performance‑tuning techniques.

ConcurrencyJavaSpring Boot
0 likes · 7 min read
Understanding Java Virtual Threads and Their Performance Benefits in Spring Boot
Java High-Performance Architecture
Java High-Performance Architecture
Mar 5, 2025 · Backend Development

Unlock Massive Concurrency: How Java 21 Virtual Threads Supercharge Spring Boot

Java 21’s virtual threads provide lightweight, high‑concurrency execution managed by the JVM, enabling developers to create hundreds of thousands of threads with minimal overhead; this article explains their basics, demonstrates Spring Boot integration, compares performance against traditional threads, and shares additional Java optimization techniques.

ConcurrencyJavaSpring Boot
0 likes · 8 min read
Unlock Massive Concurrency: How Java 21 Virtual Threads Supercharge Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Mar 5, 2025 · Backend Development

Spring Boot Project Initialization, Version Management, and Common Backend Tools

This article walks through setting up a Spring Boot project, handling version compatibility with Spring Cloud, Kafka, and Maven, demonstrates global exception handling, logging, CORS and Swagger configurations, and recommends useful backend utilities such as embedded Redis, MyBatis Plus, and Redisson.

Backend DevelopmentCORSException Handling
0 likes · 9 min read
Spring Boot Project Initialization, Version Management, and Common Backend Tools
macrozheng
macrozheng
Mar 5, 2025 · Backend Development

How to Merge Concurrent Requests in Spring Boot to Save Database Connections

This article explains how to combine multiple simultaneous user requests on the server side using a queue, scheduled thread pool and CompletableFuture in Spring Boot, reducing database connections while handling high concurrency, and discusses implementation details, testing, and potential pitfalls.

Batch processingConcurrencySpring Boot
0 likes · 15 min read
How to Merge Concurrent Requests in Spring Boot to Save Database Connections
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Mar 5, 2025 · Backend Development

Spring Cloud Ribbon: Hands‑On Guide to Client‑Side Load Balancing

This article walks through the background of Spring Cloud Ribbon, explains its client‑side load‑balancing role, provides step‑by‑step code to create multiple provider services and a consumer that uses Ribbon, and shows how to configure different balancing algorithms and retry mechanisms.

MicroservicesRibbonSpring Boot
0 likes · 12 min read
Spring Cloud Ribbon: Hands‑On Guide to Client‑Side Load Balancing
Architect
Architect
Mar 4, 2025 · Backend Development

Apache Tika: Extract Multi-Format Content & Detect Sensitive Data in Spring Boot

This article introduces Apache Tika's capabilities for parsing a wide range of file formats, automatic type detection, OCR and language detection, then demonstrates how to integrate Tika into a Spring Boot service to extract text and identify sensitive information such as ID numbers, credit cards, and phone numbers.

Apache TikaContent ExtractionFile Parsing
0 likes · 22 min read
Apache Tika: Extract Multi-Format Content & Detect Sensitive Data in Spring Boot
macrozheng
macrozheng
Mar 4, 2025 · Backend Development

How to Implement Data Isolation in Spring Boot with MyBatis and JSqlParser

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

Data IsolationJSqlParserMyBatis
0 likes · 14 min read
How to Implement Data Isolation in Spring Boot with MyBatis and JSqlParser
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 ArchitectureJavaMicroservices
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.

CQRSEvent SourcingJava
0 likes · 12 min read
Understanding CQRS and Implementing It with Spring Microservices
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Mar 3, 2025 · Backend Development

Understanding Spring Cloud Eureka Architecture and Building a High‑Availability Cluster – A Hands‑On Guide

This article explains the core concepts of Spring Cloud Eureka, demonstrates how to create a Eureka server, a provider, and a consumer with full code examples, and shows how to configure a two‑node and multi‑node Eureka cluster for high availability in micro‑service environments.

ClusterMicroservicesSpring Boot
0 likes · 13 min read
Understanding Spring Cloud Eureka Architecture and Building a High‑Availability Cluster – A Hands‑On Guide
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 AnnotationsJava
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.

JavaSpring BootStream API
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.

BackendMavenSpring 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.

MicroservicesNetflix OSSSpring Boot
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.

NacosSpring BootSpring Cloud Alibaba
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.

BackendJavaLogin Rate Limiting
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.

JDBCMyBatisSQL Logging
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 PatternSoftware Architecture
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.

ConcurrencyRetrySpring Boot
0 likes · 13 min read
Mastering Optimistic Locking in Spring Boot 3: From Pitfalls to Proven Solutions