Tagged articles

Spring Boot

4575 articles · Page 18 of 46
Architecture Digest
Architecture Digest
Jan 29, 2025 · Backend Development

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

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

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

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

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

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

Comprehensive Guide to Rate Limiting Strategies and Implementations in Microservice Architecture

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

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

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

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

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

Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Development

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

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

Mastering Spring Transaction Management: From JDBC to @Transactional

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

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

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

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

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

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

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

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

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

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

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

Integrating Apache Tika with Spring Boot for Document Parsing

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

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

Understanding Plugin Mechanisms in Java and Spring Boot

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

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

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

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

LuaRedisSpring Boot
0 likes · 19 min read
Using Lua Scripts with Spring Boot and Redis: A Comprehensive Guide
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 ArchitectureJavaLiteFlow
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.

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

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

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

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

@LazyDependency InjectionLazy Loading
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.

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

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

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

JavaSpring Boot
0 likes · 12 min read
Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Applications
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 ExpressionSpring Boot
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.

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

JavaRule EngineSpring Boot
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.

Spring Bootcommon mistakesrest-api
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.

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

Dependency InjectionImport AnnotationJava
0 likes · 19 min read
Using @Import for Modular Spring Boot Development
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.

RocketMQSpring Bootasynchronous-processing
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.

Dependency InjectionJavaPlugin Architecture
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.

ConfigurationMavenPackaging
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 IntelligenceBackend
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.

ConfigurationDependency InjectionSpring Boot
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.

APIJavaRequest Parameters
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-6378JavaLogback
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.

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

CSVSpring BootSpring MVC
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.

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

JavaMulti-DataSourceSpring Boot
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.

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

ConcurrencyJavaJava 21
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.

SaaS migrationSpring Bootarchitecture optimization
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 TransactionsProgrammatic TransactionsSpring Boot
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.

KubernetesSpring Bootapollo
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.

DockerSpring Bootfile upload
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 EncryptionBackend
0 likes · 12 min read
Implementing API Request and Response Encryption/Decryption with Spring Boot and ControllerAdvice
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 20, 2024 · Databases

11 Proven Ways to Keep Redis Lightning‑Fast and Avoid Latency

This guide presents eleven practical recommendations—including avoiding large keys, disabling costly commands, using UNLINK, enabling lazy free, batching operations, and configuring connection pools—to help developers maintain Redis performance and prevent latency spikes in production environments.

CachingPerformance OptimizationRedis
0 likes · 13 min read
11 Proven Ways to Keep Redis Lightning‑Fast and Avoid Latency
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 LifecycleDependency InjectionJava
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.

AOPJavaLog Auditing
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.

JavaOAuth2.0Spring Boot
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.

JavaPlugin ArchitectureSPI
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 BootYAML
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.

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

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

BackendConcurrencyEasyExcel
0 likes · 12 min read
How to Implement a FIFO Export Queue in Spring Boot to Prevent Performance Bottlenecks
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.

PollingSpring BootWebSocket
0 likes · 7 min read
Server‑Sent Events vs WebSocket vs Polling: Choosing the Right Real‑Time Communication Technique for Backend Development