Tagged articles

Spring Boot

4358 articles · Page 16 of 44
Selected Java Interview Questions
Selected Java Interview Questions
Jan 21, 2025 · Backend Development

Integrating Alipay Sandbox Payment in a Java Backend with Ngrok Tunneling

This guide explains how to configure Alipay sandbox credentials, expose a local Java Spring Boot service via a tunneling tool, add the Alipay SDK dependency, set up configuration files, implement payment and notification endpoints, and handle common initialization errors for seamless backend payment integration.

AlipayPayment IntegrationSpring Boot
0 likes · 11 min read
Integrating Alipay Sandbox Payment in a Java Backend with Ngrok Tunneling
Su San Talks Tech
Su San Talks Tech
Jan 21, 2025 · Backend Development

Master LiteFlow: Build Scalable Component‑Based Workflow Engines in Java

This article introduces LiteFlow, a lightweight Java component‑based rule engine that decouples complex business logic, explains its workbench design, demonstrates usage in both non‑Spring and SpringBoot environments with Maven setup and XML configuration, and details its core components, parsing, chain execution, and node processing.

Component ArchitectureLiteFlowSpring Boot
0 likes · 19 min read
Master LiteFlow: Build Scalable Component‑Based Workflow Engines in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 21, 2025 · Backend Development

Mastering ConcurrentHashMap: Build High‑Performance Caches in Spring Boot 3

This article explains why ConcurrentHashMap is ideal for high‑concurrency caching, outlines its key features, and provides step‑by‑step Java examples—including a basic in‑memory cache, an expiring cache, and an auto‑loading cache—plus a recommendation to use Caffeine for production workloads.

ConcurrentHashMapSpring Bootbackend development
0 likes · 11 min read
Mastering ConcurrentHashMap: Build High‑Performance Caches in Spring Boot 3
Architect
Architect
Jan 16, 2025 · Backend Development

How to Shrink Spring Boot JARs by Extracting Dependencies and Config Files with Maven

This guide tackles the problem of oversized Spring Boot JARs by showing how to separate library JARs and configuration files from the main artifact, presenting three Maven‑based solutions—spring‑boot‑maven‑plugin, maven‑jar‑plugin, and maven‑assembly‑plugin—complete with configuration snippets, build commands, and deployment tips.

Dependency ManagementDevOpsMaven
0 likes · 16 min read
How to Shrink Spring Boot JARs by Extracting Dependencies and Config Files with Maven
Top Architect
Top Architect
Jan 16, 2025 · Backend Development

Guide to Using the XXL‑JOB Distributed Task Scheduling Framework with Spring Boot

This article introduces the XXL‑JOB open‑source distributed scheduler, compares it with Quartz and other solutions, and provides a step‑by‑step tutorial for server deployment, executor configuration, task development, execution, logging, and the underlying Netty‑based communication design, complete with code examples.

NettySpring BootXXL-JOB
0 likes · 15 min read
Guide to Using the XXL‑JOB Distributed Task Scheduling Framework with Spring Boot
Su San Talks Tech
Su San Talks Tech
Jan 16, 2025 · Backend Development

Boost Java Performance with Virtual Threads: A Hands‑On Guide

This article explains Java 21's virtual threads, their lightweight and auto‑managed nature, demonstrates basic usage and Spring Boot integration, compares performance against traditional threads, and offers additional Java performance tips for high‑concurrency applications.

Spring BootVirtual Threadsconcurrency
0 likes · 8 min read
Boost Java Performance with Virtual Threads: A Hands‑On Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 16, 2025 · Backend Development

Mastering Spring’s @Lazy: Speed Up Startup and Solve Circular Dependencies

This article introduces Spring's @Lazy annotation, explains its purpose and scenarios such as improving startup speed, breaking circular dependencies, and correctly injecting prototype beans, and provides five practical code examples while also announcing a continuously updated Spring Boot 3 case collection with a PDF ebook and source code.

@LazySpring Bootdependency injection
0 likes · 10 min read
Mastering Spring’s @Lazy: Speed Up Startup and Solve Circular Dependencies
Java Architect Essentials
Java Architect Essentials
Jan 15, 2025 · Backend Development

Designing and Implementing an OA Approval Workflow with Activiti: From BPMN Modeling to Spring Boot Integration

This article explains how to build a multi‑level office approval workflow using the Activiti engine, covering BPMN diagram design, deployment, Java code for process creation, task handling, gateway logic, database schema, API overview, framework comparisons, and further learning directions.

ActivitiBPMNProcess Automation
0 likes · 23 min read
Designing and Implementing an OA Approval Workflow with Activiti: From BPMN Modeling to Spring Boot Integration
Java Architecture Diary
Java Architecture Diary
Jan 15, 2025 · Backend Development

Validate AI-Generated JSON in Spring Boot with JSON Schema – A Step-by-Step Guide

This article explains how to integrate the networknt JSON Schema validator into a Spring Boot application to enforce structured AI output, covering dependency setup, schema definition, service implementation, custom output validator, and exception handling, ensuring reliable, correctly formatted JSON responses from AI models.

AIJSON SchemaSpring Boot
0 likes · 9 min read
Validate AI-Generated JSON in Spring Boot with JSON Schema – A Step-by-Step Guide
Java Tech Enthusiast
Java Tech Enthusiast
Jan 14, 2025 · Backend Development

Introducing LiteFlow: A Lightweight Java Rule Engine for Workflow Orchestration

LiteFlow is a lightweight Java rule engine that lets developers orchestrate serial and parallel business workflows using XML, JSON or YAML rule files stored in back‑ends like SQL or Zookeeper, offering NodeComponent, NodeSwitchComponent and NodeIfComponent types, EL syntax, Spring Boot integration, and high‑performance execution monitoring.

ELLiteFlowSpring Boot
0 likes · 8 min read
Introducing LiteFlow: A Lightweight Java Rule Engine for Workflow Orchestration
Java Web Project
Java Web Project
Jan 14, 2025 · Backend Development

Master Spring Boot CLI: Install, Run, Test, and Package Groovy Apps

This guide walks you through installing Spring Boot CLI, explains its Groovy‑based features, demonstrates creating and running a Hello World web app, shows how to use @Grab for dependencies, test with spring test, package into executable JARs, and explore init and shell commands.

CLICommand LineGroovy
0 likes · 13 min read
Master Spring Boot CLI: Install, Run, Test, and Package Groovy Apps
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 14, 2025 · Backend Development

Mastering Spring Plugin: Build Dynamic Payment Strategies with Spring Boot 3

This article demonstrates how to use Spring Plugin in Spring Boot 3 to create a modular, extensible payment system supporting multiple methods, covering dependency setup, interface definitions, implementations, plugin registration, metadata handling, ordering, and testing, with complete code examples and diagrams.

Payment StrategySpring BootSpring Plugin
0 likes · 10 min read
Mastering Spring Plugin: Build Dynamic Payment Strategies with Spring Boot 3
Top Architect
Top Architect
Jan 13, 2025 · Backend Development

Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Applications

This article presents LiteFlow, a lightweight yet powerful rule engine built on Spring Boot, explains its architecture, component types, EL rule file syntax, data context handling, configuration options, and demonstrates a practical e‑commerce workflow example with full code snippets and deployment tips.

Spring Bootjava
0 likes · 12 min read
Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Applications
Top Architect
Top Architect
Jan 13, 2025 · Backend Development

Understanding Server‑Sent Events (SSE) vs WebSocket vs Polling: Choosing the Right Real‑Time Communication Technique

This article compares Server‑Sent Events, WebSocket, and traditional polling, explains why SSE can replace heavyweight WebSocket in one‑way push scenarios, provides configuration and code examples for Spring Boot, and shares practical lessons from real project experiences.

PollingReal‑time communicationSSE
0 likes · 12 min read
Understanding Server‑Sent Events (SSE) vs WebSocket vs Polling: Choosing the Right Real‑Time Communication Technique
Shepherd Advanced Notes
Shepherd Advanced Notes
Jan 13, 2025 · Backend Development

Practical Issues and Solutions for Spring Boot Scheduled Tasks, Plus Implementation Details

The article examines common pitfalls of Spring Boot scheduled tasks—such as missing logs, single‑threaded execution, and distributed conflicts—offers trace‑ID logging via AOP, discusses async handling, outlines multi‑threading and distributed scheduling options, and explains the inner workings of @Scheduled and cron expressions.

AOPCron ExpressionScheduled Tasks
0 likes · 16 min read
Practical Issues and Solutions for Spring Boot Scheduled Tasks, Plus Implementation Details
Selected Java Interview Questions
Selected Java Interview Questions
Jan 12, 2025 · Information Security

Encrypting and Dynamically Decrypting Spring Boot JAR Files for Secure Deployment

This article demonstrates a practical approach to protect sensitive Spring Boot applications by encrypting the JAR with AES, storing the key in a secure vault, and using a custom ClassLoader to decrypt and load classes at runtime, while highlighting key management, performance, and additional hardening considerations.

AESClassLoaderJAR encryption
0 likes · 8 min read
Encrypting and Dynamically Decrypting Spring Boot JAR Files for Secure Deployment
Architecture Digest
Architecture Digest
Jan 12, 2025 · Backend Development

Introducing magic-api: A Java Rapid Development Framework for Backend Interfaces

This article introduces magic-api, a Java‑based rapid development framework that lets developers create HTTP APIs without writing traditional Controllers, Services, or DAOs, and provides a UI for designing endpoints, extensive database support, clustering, Swagger integration, and a quick‑start guide with Maven and configuration examples.

APISpring Bootframework
0 likes · 4 min read
Introducing magic-api: A Java Rapid Development Framework for Backend Interfaces
Top Architect
Top Architect
Jan 11, 2025 · Backend Development

Liteflow Rule Engine: Concepts, Usage, and Business Practice

This article introduces the Liteflow rule engine, explains its architecture and supported file formats, demonstrates how to configure and use it with Spring Boot, details component types and EL rule files, and showcases a practical e‑commerce workflow example with code snippets.

Spring BootWorkflowjava
0 likes · 11 min read
Liteflow Rule Engine: Concepts, Usage, and Business Practice
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 10, 2025 · Backend Development

Java String Tricks: replace vs replaceAll, Integer Caching, BigDecimal Precision

This article explains the differences between replace and replaceAll, how Integer caching affects equality checks, why constructing BigDecimal with double can cause precision loss, the nuances of string concatenation, the distinction between isEmpty and isBlank, when to check for null in MyBatis mapper results, and the correct way to use indexOf in Java.

BigDecimalIntegerSpring Boot
0 likes · 13 min read
Java String Tricks: replace vs replaceAll, Integer Caching, BigDecimal Precision
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 9, 2025 · Backend Development

Top 10 Common Spring Boot REST API Mistakes and How to Fix Them

This article examines the ten most frequent errors developers make when building Spring Boot REST APIs, explains the negative impact of each mistake, and offers concrete, up‑to‑date solutions with code examples, while also highlighting a continuously updated collection of over 70 Spring Boot 3 practical case studies.

REST APISpring Bootcommon mistakes
0 likes · 15 min read
Top 10 Common Spring Boot REST API Mistakes and How to Fix Them
Top Architect
Top Architect
Jan 7, 2025 · Backend Development

Integrating Flowable Workflow Engine with Spring Boot: A Step‑by‑Step Guide

This article introduces the evolution of Java workflow engines, explains core BPMN concepts, and provides a comprehensive tutorial on integrating Flowable with Spring Boot—including Maven dependencies, database configuration, BPMN diagram creation, service task implementation, diagram viewing API, and unit testing.

BPMNFlowableSpring Boot
0 likes · 21 min read
Integrating Flowable Workflow Engine with Spring Boot: A Step‑by‑Step Guide
Top Architect
Top Architect
Jan 7, 2025 · Backend Development

Implementing OAuth2.0 Authorization and Resource Servers with Spring Boot

This article explains OAuth2.0 fundamentals, outlines its roles and grant types, and provides step‑by‑step Spring Boot code to build an authentication server, configure security, set up a resource server, and test the full authorization flow with token handling.

OAuth2.0Spring Bootbackend development
0 likes · 12 min read
Implementing OAuth2.0 Authorization and Resource Servers with Spring Boot
Java Tech Enthusiast
Java Tech Enthusiast
Jan 7, 2025 · Backend Development

Using @Import for Modular Spring Boot Development

Spring Boot enables modular backend development by placing each feature in its own Maven module and using @Import (or custom annotations, ImportSelector, ImportBeanDefinitionRegistrar, and @ConditionalOnProperty) to load configuration classes, scan components, and conditionally register beans while keeping the application a single monolithic program.

Import AnnotationMavenModular Development
0 likes · 19 min read
Using @Import for Modular Spring Boot Development
Selected Java Interview Questions
Selected Java Interview Questions
Jan 7, 2025 · Backend Development

Spring Boot Asynchronous Processing: Principles, Configuration, and Practical Use Cases

This article explains Spring Boot’s asynchronous processing mechanism, covering its purpose, the @Async annotation, configuration steps, custom thread pool setup, handling return values, and typical use cases, enabling developers to improve performance and responsiveness in backend applications.

Spring BootThread Poolasynchronous processing
0 likes · 9 min read
Spring Boot Asynchronous Processing: Principles, Configuration, and Practical Use Cases
macrozheng
macrozheng
Jan 7, 2025 · Backend Development

8 Real-World Scenarios for Using Message Queues in Modern Applications

This article explores eight practical use cases for message queues—including asynchronous processing, service decoupling, traffic shaping, delayed tasks, log collection, distributed transactions, remote calls, and broadcast notifications—providing code examples and architectural guidance for building robust backend systems.

Delayed TasksMessage QueueRocketMQ
0 likes · 13 min read
8 Real-World Scenarios for Using Message Queues in Modern Applications
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 7, 2025 · Backend Development

Master Spring AOP’s @DeclareParents: Dynamic Interface Injection in Spring Boot 3

This article explains how Spring AOP’s @DeclareParents introduces new interfaces to proxied beans at runtime, walks through defining interfaces, implementations, aspect configuration, testing with Spring Boot 3, and also covers perthis and pertarget aspect instantiation models for fine‑grained lifecycle control.

AspectJDynamic InterfaceSpring AOP
0 likes · 8 min read
Master Spring AOP’s @DeclareParents: Dynamic Interface Injection in Spring Boot 3
Java Architect Essentials
Java Architect Essentials
Jan 6, 2025 · Backend Development

Using @Import for Modular Spring Boot Applications

This article explains how to modularize a Spring Boot monolith by splitting it into Maven modules, leveraging @ComponentScan, @Import, custom annotations, ImportSelector, ImportBeanDefinitionRegistrar, and conditional loading to dynamically include or exclude functionality at runtime.

ComponentScanConfigurationMaven
0 likes · 18 min read
Using @Import for Modular Spring Boot Applications
Architect
Architect
Jan 6, 2025 · Backend Development

Unlocking Java Plugin Architecture: From SPI to Spring Factories

This article explains why plugin mechanisms improve modularity, extensibility, and third‑party integration, then walks through practical Java SPI implementations, custom configuration loading, and Spring Boot’s spring.factories approach, providing complete code examples and step‑by‑step guidance for building a robust plugin system.

Plugin architectureSPISpring Boot
0 likes · 21 min read
Unlocking Java Plugin Architecture: From SPI to Spring Factories
macrozheng
macrozheng
Jan 3, 2025 · Backend Development

Master Real-Time Push with Spring SseEmitter and Vue 3: A Step-by-Step Guide

This article introduces Spring's SseEmitter for server‑sent events, outlines its key features and use cases, and provides a complete end‑to‑end example—including Vue 3 front‑end setup, JavaScript client, and Spring Boot controller code—to enable real‑time message pushing between server and browser.

Real-time PushServer‑Sent EventsSpring Boot
0 likes · 8 min read
Master Real-Time Push with Spring SseEmitter and Vue 3: A Step-by-Step Guide
Code Ape Tech Column
Code Ape Tech Column
Jan 3, 2025 · Backend Development

Optimizing Spring Boot Deployment: Separating Dependencies and Configurations with Maven Plugins

This article explains how to streamline Spring Boot production releases by extracting libraries and configuration files from the main JAR, using various Maven plugins such as spring-boot-maven-plugin, maven-dependency-plugin, maven-assembly-plugin, and maven-jar-plugin to create lightweight, fast‑deployable packages.

ConfigurationDependency ManagementMaven
0 likes · 13 min read
Optimizing Spring Boot Deployment: Separating Dependencies and Configurations with Maven Plugins
Architecture Digest
Architecture Digest
Jan 2, 2025 · Operations

Deploying Portainer for Docker Management and Setting Up Redis Sentinel with Spring Boot Integration

This article guides readers through installing the Portainer Docker management UI, creating Docker‑Compose files for Portainer, deploying a Redis master‑slave cluster with Sentinel, configuring custom bridge networks, and integrating the Sentinel setup into a Spring Boot application using Lettuce and RedisTemplate.

Container ManagementDockerDocker Compose
0 likes · 15 min read
Deploying Portainer for Docker Management and Setting Up Redis Sentinel with Spring Boot Integration
Selected Java Interview Questions
Selected Java Interview Questions
Jan 2, 2025 · Artificial Intelligence

Integrating Chinese Open‑Source AI Platforms with Java SDK and Prompt Engineering

This article introduces several Chinese open‑source AI platforms, shows how to import their Java SDKs, obtain API keys, run test demos, encapsulate a reusable AI module with Spring Boot configuration, and apply prompt‑engineering techniques to generate AI‑driven questionnaire content.

AI SDKArtificial IntelligencePrompt Engineering
0 likes · 13 min read
Integrating Chinese Open‑Source AI Platforms with Java SDK and Prompt Engineering
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 2, 2025 · Backend Development

7 Essential Spring Boot 3 Practices Every Backend Developer Should Know

This article highlights seven often‑overlooked Spring Boot 3 details—ranging from dependency injection and controller design to configuration, constructor simplicity, environment profiles, exception handling, and response handling—providing concrete code examples and best‑practice recommendations to improve code quality and maintainability.

ConfigurationSpring Bootbackend development
0 likes · 10 min read
7 Essential Spring Boot 3 Practices Every Backend Developer Should Know
Architect
Architect
Jan 1, 2025 · Backend Development

Six Common Ways to Read Request Parameters in Spring Boot

This article explains six typical techniques—@RequestParam, @PathVariable, @MatrixVariable, @RequestBody, @RequestHeader, and @CookieValue—for extracting request data in Spring Boot APIs, providing usage scenarios and concrete code examples for each method.

APIRequest ParametersSpring Boot
0 likes · 5 min read
Six Common Ways to Read Request Parameters in Spring Boot
Java Tech Enthusiast
Java Tech Enthusiast
Jan 1, 2025 · Information Security

Fixing Logback CVE-2023-6378 in Spring Boot 2.7.x

To remediate CVE‑2023‑6378 in a Spring Boot 2.7.x application, you must replace the default logging starter with a direct Logback 1.2.x dependency (e.g., 1.2.13), because Spring Boot 2.7 cannot use Logback 1.3.x due to the removed StaticLoggerBinder class; the only other option is to upgrade the whole stack to Spring Boot 3.x, Logback 1.4.x, and JDK 11.

CVE-2023-6378Dependency ManagementSpring Boot
0 likes · 14 min read
Fixing Logback CVE-2023-6378 in Spring Boot 2.7.x
Su San Talks Tech
Su San Talks Tech
Jan 1, 2025 · Backend Development

What’s New in Spring Boot 3.4? Key Upgrades, Config Changes, and Migration Tips

Spring Boot 3.4 introduces extensive updates—including RestClient and RestTemplate auto‑configuration, revised HTTP client factories, refined bean validation, graceful shutdown defaults, a new Paketo tiny builder for OCI images, deprecations, and numerous configuration and observability enhancements—providing developers with a comprehensive guide to upgrade and leverage the latest features.

ConfigurationMigrationSpring Boot
0 likes · 20 min read
What’s New in Spring Boot 3.4? Key Upgrades, Config Changes, and Migration Tips
Architect
Architect
Dec 31, 2024 · Operations

Integrating Prometheus with Spring Boot and Visualizing Metrics Using Grafana

This guide explains how to monitor a Spring Boot application using Prometheus, configure Spring Boot Actuator, run Prometheus (including Docker deployment), set up Grafana for visualizing metrics, and create custom metrics with Micrometer, providing step‑by‑step instructions and code examples.

ActuatorDockerGrafana
0 likes · 10 min read
Integrating Prometheus with Spring Boot and Visualizing Metrics Using Grafana
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 31, 2024 · Backend Development

Master CSV Processing in Spring Boot 3 with Super CSV – Full Code Guide

This article provides a comprehensive tutorial on using the Super CSV library in Spring Boot 3, covering Maven dependencies, core APIs for reading and writing CSV files, cell processors, handling irregular data, and a complete Spring MVC controller example for CSV download, all illustrated with code snippets and screenshots.

CSVData ProcessingFile I/O
0 likes · 14 min read
Master CSV Processing in Spring Boot 3 with Super CSV – Full Code Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 30, 2024 · Backend Development

Which Java Bean Mapping Tool Is Fastest? Spring BeanUtils vs MapStruct vs Others

This article compares the performance of several Java bean‑mapping utilities—including Spring BeanUtils, Apache BeanUtils, Orika, Cglib BeanCopier, ModelMapper, MapStruct, and manual getter/setter code—by converting a sample Entity to a DTO 10,000 times and summarizing the results and best‑use recommendations.

CGLIBDTOPerformance Test
0 likes · 10 min read
Which Java Bean Mapping Tool Is Fastest? Spring BeanUtils vs MapStruct vs Others
Su San Talks Tech
Su San Talks Tech
Dec 28, 2024 · Backend Development

Master Spring Boot Multi‑DataSource Integration with MyBatis

This tutorial explains how to combine Spring Boot, MyBatis, and multiple databases using Druid connection pools, dynamic routing data sources, custom annotations, and AOP, providing complete configuration examples, code snippets, and best‑practice guidance for backend developers.

Multi-DataSourceSpring Bootdynamic-datasource
0 likes · 17 min read
Master Spring Boot Multi‑DataSource Integration with MyBatis
Top Architect
Top Architect
Dec 26, 2024 · Information Security

OAuth2.0 Overview and Spring Boot Implementation Guide

This article introduces OAuth2.0 concepts, outlines its roles and grant types, and provides a step‑by‑step Spring Boot implementation of an authorization server, resource server, and test client, followed by test results and promotional information.

Spring Bootauthorizationjava
0 likes · 12 min read
OAuth2.0 Overview and Spring Boot Implementation Guide
Architecture Digest
Architecture Digest
Dec 26, 2024 · Backend Development

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

This article introduces Java 21 virtual threads, explains their lightweight, high‑concurrency and automatic management advantages, demonstrates basic and delayed usage with code examples, shows how to enable them in Spring Boot, and compares their performance against traditional threads in various scenarios.

Java 21Spring BootVirtual Threads
0 likes · 7 min read
Understanding Java 21 Virtual Threads: Basics, Spring Boot Integration, and Performance Comparison
Tencent Cloud Developer
Tencent Cloud Developer
Dec 26, 2024 · Operations

Migrating a Large‑Scale SaaS Service to a Single Server: Architecture, Challenges, and Solutions

The article details how a high‑traffic SaaS platform was migrated from a public‑cloud micro‑service architecture to a single on‑premise server using Tencent’s WeDa low‑code platform, describing service merging, bean and configuration refactoring, database synchronization, and automated testing that reduced over thirty services to a single process and cut hardware costs to an 8‑CPU, 16‑GB machine.

MicroservicesSaaS migrationSpring Boot
0 likes · 13 min read
Migrating a Large‑Scale SaaS Service to a Single Server: Architecture, Challenges, and Solutions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 26, 2024 · Backend Development

Programmatic vs Declarative Transactions in Spring Boot 3: When Performance Matters

This article compares Spring Boot's declarative @Transactional annotation with programmatic transaction management using TransactionTemplate, TransactionalOperator, and TransactionManager, explains their suitable scenarios, provides code examples, and presents JMeter performance tests that show how the right choice can dramatically improve throughput.

Declarative TransactionsPerformance TestingProgrammatic Transactions
0 likes · 10 min read
Programmatic vs Declarative Transactions in Spring Boot 3: When Performance Matters
Architect
Architect
Dec 25, 2024 · Operations

Comprehensive Guide to Using Apollo Configuration Center with Spring Boot

This article provides a step‑by‑step tutorial on Apollo, an open‑source configuration center, covering its core concepts, dimensions, client design, Maven integration, Spring Boot setup, JVM parameters, testing scenarios, cluster/namespace usage, Docker image creation, and Kubernetes deployment for microservice applications.

ApolloKubernetesMicroservices
0 likes · 30 min read
Comprehensive Guide to Using Apollo Configuration Center with Spring Boot
Architecture Digest
Architecture Digest
Dec 23, 2024 · Backend Development

Deploy kkfileviewer with Docker and Integrate MinIO in Spring Boot

This guide walks through installing the kkfileviewer Docker container, building its image, running it, and then shows how to add MinIO support to a Spring Boot application with Maven dependencies, configuration, utility classes, and REST endpoints for file upload and preview.

DockerMinIOSpring Boot
0 likes · 6 min read
Deploy kkfileviewer with Docker and Integrate MinIO in Spring Boot
Architect's Guide
Architect's Guide
Dec 23, 2024 · Backend Development

Implementing API Request and Response Encryption/Decryption with Spring Boot and ControllerAdvice

This article walks through the design and implementation of symmetric AES encryption for both GET and POST API endpoints in a Spring Boot application, covering requirement analysis, data model definition, custom RequestBodyAdvice and ResponseBodyAdvice, serialization challenges with FastJSON vs Jackson, and final configuration to ensure consistent JSON output across encrypted and non‑encrypted responses.

AESAPI EncryptionControllerAdvice
0 likes · 12 min read
Implementing API Request and Response Encryption/Decryption with Spring Boot and ControllerAdvice
Architecture Digest
Architecture Digest
Dec 19, 2024 · Backend Development

Comprehensive Overview of Spring Bean Lifecycle Extension Points

This article explains the Spring container's refresh process, details every extensible hook in a bean's lifecycle—from ApplicationContextInitializer to DisposableBean—provides usage scenarios, and includes complete Java code snippets illustrating how to implement each extension point for custom middleware and application development.

Bean LifecycleSpringSpring Boot
0 likes · 18 min read
Comprehensive Overview of Spring Bean Lifecycle Extension Points
Zhuanzhuan Tech
Zhuanzhuan Tech
Dec 18, 2024 · Backend Development

Design and Implementation of a Spring Boot Log Auditing Plugin Using AOP

This article details the design, architecture, and step‑by‑step implementation of a Spring Boot log auditing plugin built with AOP, Maven plugins, auto‑configuration, thread‑pool execution, and optional message‑queue streaming to improve operation logging and exception tracing in backend services.

AOPLog AuditingMaven
0 likes · 18 min read
Design and Implementation of a Spring Boot Log Auditing Plugin Using AOP
Top Architect
Top Architect
Dec 18, 2024 · Backend Development

OAuth 2.0 Introduction and Spring Boot Implementation Guide

This article provides a comprehensive overview of OAuth 2.0 concepts, grant types, and step‑by‑step instructions for building an authorization server and a resource server using Spring Boot, including configuration classes, token services, security settings, and testing procedures.

OAuth2.0Spring Bootauthorization-server
0 likes · 12 min read
OAuth 2.0 Introduction and Spring Boot Implementation Guide
Top Architect
Top Architect
Dec 17, 2024 · Backend Development

Understanding Plugin Mechanisms in Java and Spring Boot

This article explains Java and Spring Boot plugin mechanisms, covering benefits, common implementation strategies such as ServiceLoader, custom configuration files, and Spring Factories, and provides practical code examples and a real‑world case study to illustrate extensible architecture design.

Plugin architectureSPIServiceLoader
0 likes · 21 min read
Understanding Plugin Mechanisms in Java and Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Dec 17, 2024 · Backend Development

Enhanced Configuration Property Support in Spring Boot 3.4.0

Spring Boot 3.4.0 introduces stronger type‑safe configuration, unified multi‑source support (YAML, properties, environment variables, command‑line), and improved IDE assistance, providing developers with clearer, safer, and more flexible ways to manage application settings compared with version 3.3.

IDE SupportSpring Bootconfiguration-properties
0 likes · 11 min read
Enhanced Configuration Property Support in Spring Boot 3.4.0
Shepherd Advanced Notes
Shepherd Advanced Notes
Dec 17, 2024 · Backend Development

Spring Boot Scheduling: Timer vs ScheduledExecutorService vs @Scheduled

This article compares three single‑node scheduling approaches in Spring Boot—Java's legacy Timer, the modern ScheduledExecutorService, and Spring's @Scheduled annotation—showing their implementations, execution characteristics, thread handling, error behavior, and when to prefer each solution.

@ScheduledJava concurrencyScheduledExecutorService
0 likes · 19 min read
Spring Boot Scheduling: Timer vs ScheduledExecutorService vs @Scheduled
Ubiquitous Tech
Ubiquitous Tech
Dec 17, 2024 · Backend Development

Refactoring E‑Commerce Login Using Strategy, Template, Chain‑of‑Responsibility & Decorator Patterns

The article examines how a growing e‑commerce login module becomes tangled with duplicated code and scattered logic, then demonstrates a step‑by‑step refactor using strategy‑factory, template method, chain‑of‑responsibility and decorator patterns to achieve clear responsibilities, extensibility, and easier maintenance.

Chain of ResponsibilityDecorator PatternDesign Patterns
0 likes · 18 min read
Refactoring E‑Commerce Login Using Strategy, Template, Chain‑of‑Responsibility & Decorator Patterns
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 16, 2024 · Backend Development

Building a Japanese Language Analysis Tool with Java, Kotlin, Spring Boot, and Gradle (Multi‑module Project)

This article details the creation of a Japanese language analysis tool using Java, Kotlin, Spring Boot, and Gradle, explaining the multi‑module project structure, parent and child Gradle configurations, integration of Swing UI with an embedded Chromium engine, and practical tips for mixing Java and Kotlin code.

ChromiumGradleKotlin
0 likes · 11 min read
Building a Japanese Language Analysis Tool with Java, Kotlin, Spring Boot, and Gradle (Multi‑module Project)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 16, 2024 · Backend Development

Master Spring Boot 3 Configuration: Multi‑File Profiles & Cloud Platform Activation

This article explains how to manage environment‑specific configuration in Spring Boot 3 using profile‑based YAML files, the spring.profiles.active property, the newer spring.config.activate.on‑profile feature, multi‑document files, and conditional activation for cloud platforms such as Kubernetes.

ConfigurationKubernetesMulti-Document
0 likes · 7 min read
Master Spring Boot 3 Configuration: Multi‑File Profiles & Cloud Platform Activation
Top Architect
Top Architect
Dec 15, 2024 · Backend Development

Deep Dive into Spring Boot 2.7.10 Embedded Tomcat Configuration, Thread Management and Performance Testing

This article provides a comprehensive analysis of Spring Boot 2.7.10's embedded Tomcat 9.0.73 default settings, core parameters, internal thread architecture, configuration examples, performance testing with various concurrent connections, and includes detailed code snippets and diagrams, while also containing promotional material for AI services.

ConfigurationSpring BootThread Pool
0 likes · 17 min read
Deep Dive into Spring Boot 2.7.10 Embedded Tomcat Configuration, Thread Management and Performance Testing
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 14, 2024 · Backend Development

Spring Boot Request Logging, Request/Response Wrappers, OncePerRequestFilter, and AOP Utility Classes

This article explains how Spring Boot's built‑in logging filter, request and response caching wrappers, the OncePerRequestFilter base class, and AOP helper classes such as AopContext, AopUtils, and ReflectionUtils can be configured and used to record, modify, and monitor HTTP traffic and simplify proxy‑based programming.

AOPOncePerRequestFilterRequest Logging
0 likes · 11 min read
Spring Boot Request Logging, Request/Response Wrappers, OncePerRequestFilter, and AOP Utility Classes
macrozheng
macrozheng
Dec 13, 2024 · Backend Development

How to Implement a FIFO Export Queue in Spring Boot to Prevent Performance Bottlenecks

To avoid performance degradation caused by simultaneous large‑scale data exports, this guide demonstrates building a fixed‑size FIFO export queue in Spring Boot, integrating EasyExcel for million‑row exports, handling asynchronous processing, and providing sample code for the queue, export service, and controller.

EasyExcelExport QueueFIFO
0 likes · 12 min read
How to Implement a FIFO Export Queue in Spring Boot to Prevent Performance Bottlenecks
Java Architect Essentials
Java Architect Essentials
Dec 12, 2024 · Backend Development

Build a Secure SMS Verification Service with Spring Boot and Redis

This tutorial walks through creating a simulated SMS verification system using Spring Boot, Redis, and scheduled tasks, covering requirements, dependency setup, controller and service implementation, rate limiting, code expiration, validation logic, and daily reset of usage counters.

Code ExampleRedisSMS verification
0 likes · 7 min read
Build a Secure SMS Verification Service with Spring Boot and Redis
Architecture Digest
Architecture Digest
Dec 12, 2024 · Backend Development

Server‑Sent Events vs WebSocket vs Polling: Choosing the Right Real‑Time Communication Technique for Backend Development

This article compares Server‑Sent Events, traditional polling, and WebSocket for server‑to‑client real‑time messaging, explains why WebSocket may be overkill for one‑way push scenarios, and provides a Spring Boot example of an SSE endpoint with code and configuration details.

PollingReal‑time communicationSpring Boot
0 likes · 7 min read
Server‑Sent Events vs WebSocket vs Polling: Choosing the Right Real‑Time Communication Technique for Backend Development
Programmer XiaoFu
Programmer XiaoFu
Dec 12, 2024 · Backend Development

4 Elegant Ways to Transfer Data Between Async Threads in Spring Boot

The article compares four techniques—manual ThreadLocal copying, TaskDecorator, InheritableThreadLocal, and Alibaba's TransmittableThreadLocal—for passing user context and other data from parent to child threads in Spring Boot async execution, recommending the TaskDecorator and TransmittableThreadLocal approaches for production use.

Spring BootTaskDecoratorThreadLocal
0 likes · 13 min read
4 Elegant Ways to Transfer Data Between Async Threads in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 12, 2024 · Backend Development

How to Use Multiple @RequestBody Parameters in Spring Boot 3

This article explains why a Spring Boot controller can read the request body only once, demonstrates wrapping multiple objects in a DTO, and provides a custom HttpServletRequestWrapper with a filter to enable multiple @RequestBody parameters while noting the performance impact.

HttpServletRequestWrapperRequestBodySpring Boot
0 likes · 6 min read
How to Use Multiple @RequestBody Parameters in Spring Boot 3
Java Architect Essentials
Java Architect Essentials
Dec 11, 2024 · Databases

Redis Expiration Listener: Scenario Testing and Performance Analysis

This article examines the pitfalls of using Redis key‑expiration notifications for delayed business actions, presents a Docker‑based benchmark, provides Spring‑Boot code for scheduling and listening to expirations, and analyzes how notification latency grows as the number of keys increases.

DatabaseKey ExpirationPerformance Testing
0 likes · 11 min read
Redis Expiration Listener: Scenario Testing and Performance Analysis
Architecture Digest
Architecture Digest
Dec 10, 2024 · Backend Development

Understanding Java Virtual Threads and Their Use in Spring Boot

This article explains Java 21's virtual threads, their lightweight and high‑concurrency advantages, demonstrates basic creation and Spring Boot integration, compares performance against traditional threads, and offers additional Java performance optimization techniques.

Java 21Spring BootVirtual Threads
0 likes · 7 min read
Understanding Java Virtual Threads and Their Use in Spring Boot
Java Tech Enthusiast
Java Tech Enthusiast
Dec 10, 2024 · Backend Development

Implementing a FIFO Export Queue in Spring Boot for Large Data Exports

The article demonstrates how to implement a bounded FIFO export queue in a Spring Boot application, using synchronized wait/notify methods to limit concurrent large‑data exports to ten threads, integrating with an abstract EasyExcel exporter and a controller that spawns export tasks, while noting future enhancements such as persistent storage and Redis‑based queues.

EasyExcelExport QueueSpring Boot
0 likes · 11 min read
Implementing a FIFO Export Queue in Spring Boot for Large Data Exports
Selected Java Interview Questions
Selected Java Interview Questions
Dec 10, 2024 · Backend Development

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

Java 21's virtual threads provide lightweight, high‑concurrency execution managed by the JVM, and this article explains their fundamentals, demonstrates basic creation, shows how to enable them in Spring Boot, and presents performance benchmarks comparing virtual threads to traditional threads.

JVMSpring BootVirtual Threads
0 likes · 8 min read
Introducing Java 21 Virtual Threads: Basics, Spring Boot Integration, and Performance Comparison
Architect
Architect
Dec 9, 2024 · Backend Development

Step‑by‑Step Guide: Integrating Flowable BPMN with Spring Boot for Leave Approval Workflow

This article walks through the evolution of Java‑based workflow engines, compares Activiti, Flowable and Camunda, and provides a complete Spring Boot integration tutorial—including Maven setup, BPMN modeling, service task implementation, diagram generation, unit testing and common troubleshooting—using a concrete leave‑request example.

BPMNFlowableSpring Boot
0 likes · 22 min read
Step‑by‑Step Guide: Integrating Flowable BPMN with Spring Boot for Leave Approval Workflow
Selected Java Interview Questions
Selected Java Interview Questions
Dec 9, 2024 · Backend Development

Hot Deployment Techniques for Spring Boot: IDEA Configuration, Spring DevTools, and JRebel

This article explains three hot‑deployment methods for Spring Boot—IDEA's configuration options, the spring‑boot‑devtools library, and the JRebel plugin—detailing how to set them up, their underlying mechanisms, and best‑practice recommendations to avoid costly full restarts during development.

DevToolsHot DeploymentIDEA
0 likes · 4 min read
Hot Deployment Techniques for Spring Boot: IDEA Configuration, Spring DevTools, and JRebel
macrozheng
macrozheng
Dec 9, 2024 · Backend Development

Why Replacing MyBatis with MyBatis-Plus Can Break Your Java App—and How to Fix It

This article walks through replacing MyBatis with MyBatis-Plus in a Spring Boot project, explains the LocalDateTime conversion error caused by MyBatis 3.5.1 and an outdated MySQL connector, and shows how upgrading the connector resolves the issue while highlighting the risks of component upgrades.

DebuggingORMSpring Boot
0 likes · 8 min read
Why Replacing MyBatis with MyBatis-Plus Can Break Your Java App—and How to Fix It
Java Tech Enthusiast
Java Tech Enthusiast
Dec 8, 2024 · Backend Development

Performance Comparison of Spring Boot Native Image, JAR, Go, and Rust Deployments

The article benchmarks a Spring Boot 3 service as a GraalVM native image, a traditional JAR, and Go and Rust versions, showing the native binary starts in under a second with ~70 MB memory and 7 k requests/s, the JAR needs seconds and 200 MB, while Go and Rust use 10 MB and 3 MB respectively with throughput, illustrating native images’ fast startup and lower runtime footprint despite longer compilation.

GoGraalVMNative Image
0 likes · 9 min read
Performance Comparison of Spring Boot Native Image, JAR, Go, and Rust Deployments
Top Architect
Top Architect
Dec 7, 2024 · Information Security

OAuth 2.0 Overview and Spring Boot Implementation Guide

This article introduces OAuth 2.0 concepts, roles, and grant types, then provides a step‑by‑step Spring Boot implementation for an authorization server and a resource server, including configuration classes, Maven dependencies, test endpoints, and screenshots of the authentication and token‑validation process.

Spring Bootauthorization-serverjava
0 likes · 12 min read
OAuth 2.0 Overview and Spring Boot Implementation Guide
Java Tech Enthusiast
Java Tech Enthusiast
Dec 7, 2024 · Backend Development

Elegant Parameter Validation in Spring Boot with Hibernate Validator

Spring Boot leverages Hibernate Validator to replace repetitive manual checks with declarative annotations on DTO fields, automatically enforcing constraints via @Valid, while a global exception handler formats failures into clear JSON, and advanced features such as validation groups and custom annotations further enhance maintainability and user‑friendly error reporting.

Hibernate ValidatorSpring Bootjava
0 likes · 9 min read
Elegant Parameter Validation in Spring Boot with Hibernate Validator
ITPUB
ITPUB
Dec 6, 2024 · Backend Development

Why ChatGPT Uses Server-Sent Events (SSE) and How to Implement SSE in Spring Boot

This article explains why ChatGPT adopts Server-Sent Events for streaming responses, compares SSE with WebSocket, outlines SSE's core principles and best‑practice considerations, and provides a complete Spring Boot example—including server‑side Java code and client‑side HTML—to demonstrate real‑time data push.

Real‑time communicationSSEServer‑Sent Events
0 likes · 14 min read
Why ChatGPT Uses Server-Sent Events (SSE) and How to Implement SSE in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Dec 5, 2024 · Operations

One-Click Automated Deployment of Spring Boot with Jenkins and Docker

This tutorial provides a step‑by‑step guide to set up a fully automated CI/CD pipeline on CentOS 7 that installs Docker, deploys Jenkins in a container, configures Maven and required plugins, creates a Jenkins job, builds a Spring Boot application with Dockerfile, and runs the resulting container, all with minimal pitfalls.

CI/CDCentOSJenkins
0 likes · 7 min read
One-Click Automated Deployment of Spring Boot with Jenkins and Docker
Java Architect Essentials
Java Architect Essentials
Dec 4, 2024 · Backend Development

Spring Boot Project Initialization, Version Management, and Common Scaffold Code Guide

This article walks through initializing a Spring Boot project, handling version compatibility between Spring Cloud, Spring Boot, and Kafka, demonstrates common scaffolding code such as global exception handling, logging, CORS configuration, and recommends useful tools like Maven, embedded Redis, MyBatis‑Plus, and MapStruct for backend development.

KafkaMavenSpring Boot
0 likes · 9 min read
Spring Boot Project Initialization, Version Management, and Common Scaffold Code Guide