Tagged articles

Spring Boot

4358 articles · Page 11 of 44
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 15, 2025 · Cloud Native

Master Docker Deployment: From Dockerfile to Running Containers

This article walks through Docker’s essential role in modern cloud-native architectures, explaining why containerization solves environment inconsistencies, and provides a step‑by‑step guide—including writing a Dockerfile, building images, running containers, and accessing services—for deploying Spring Boot microservices efficiently.

DevOpsDockerMicroservices
0 likes · 3 min read
Master Docker Deployment: From Dockerfile to Running Containers
Programmer XiaoFu
Programmer XiaoFu
Aug 12, 2025 · Backend Development

Deep Dive into an Asynchronous Spring Boot + Tesseract OCR Pipeline for Invoice Recognition

This article presents a comprehensive, step‑by‑step analysis of a high‑throughput, asynchronous OCR pipeline built with Spring Boot and Tesseract, covering system architecture, thread‑pool tuning, custom invoice‑specific model training, multi‑engine fusion, structured data extraction, performance optimizations, GPU acceleration, Kubernetes deployment, monitoring, security compliance, chaos testing, and future evolution plans.

AsynchronousGPUKubernetes
0 likes · 12 min read
Deep Dive into an Asynchronous Spring Boot + Tesseract OCR Pipeline for Invoice Recognition
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 12, 2025 · Backend Development

Master Dynamic Bean Switching in Spring Boot 3: 10 Real‑World Solutions

This article presents ten complete solutions for dynamically switching implementations of a Spring Boot interface—ranging from simple @Profile usage to advanced AOP and custom annotation techniques—complete with code examples, configuration snippets, and a free PDF ebook of 155 practical cases.

Dynamic Bean SwitchingSpring Bootdependency injection
0 likes · 11 min read
Master Dynamic Bean Switching in Spring Boot 3: 10 Real‑World Solutions
Code Ape Tech Column
Code Ape Tech Column
Aug 11, 2025 · Backend Development

Why Store All Spring Boot Configurations in a Database? Benefits and Implementation Guide

This article explores the drawbacks of static YAML files in production, compares traditional configuration centers, and presents a database‑driven approach that offers zero extra infrastructure, full control, and simplified architecture, while detailing layered bootstrapping, entity design, dynamic loading, encryption, versioning, and monitoring.

Database ConfigDynamic ConfigurationSpring Boot
0 likes · 27 min read
Why Store All Spring Boot Configurations in a Database? Benefits and Implementation Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 11, 2025 · Backend Development

Boost Excel Processing in Spring Boot 3 with FastExcel – High‑Performance Read/Write Guide

This article introduces the FastExcel library as a high‑performance alternative to Apache POI for handling massive Excel files in Spring Boot 3, presents benchmark results, and provides detailed code examples for writing, reading, and uploading large spreadsheets with multithreading and memory‑efficient settings.

Apache POI alternativeExcel performanceFastExcel
0 likes · 13 min read
Boost Excel Processing in Spring Boot 3 with FastExcel – High‑Performance Read/Write Guide
Lin is Dream
Lin is Dream
Aug 8, 2025 · Backend Development

How to Build a Low‑Cost Private Object Storage Service with Nginx and MinIO

This article walks through creating a self‑hosted object storage solution by configuring Nginx for static file serving, implementing secure downloads with X‑Accel‑Redirect and signed URLs, and deploying MinIO as an S3‑compatible service, complete with Spring Boot integration and sample code.

MinIONginxSigned URL
0 likes · 17 min read
How to Build a Low‑Cost Private Object Storage Service with Nginx and MinIO
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 7, 2025 · Backend Development

Mastering Date Formatting in Spring Boot 3: 5 Practical Solutions

This article explains why proper date formatting matters in Spring Boot applications, compares the default Jackson behavior, and presents five concrete approaches—including global configuration, @JsonFormat, custom ObjectMapper, @JsonComponent, and @JsonSerialize—detailing their implementations, advantages, and drawbacks.

JacksonSpring Bootdate-formatting
0 likes · 8 min read
Mastering Date Formatting in Spring Boot 3: 5 Practical Solutions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 6, 2025 · Backend Development

Dynamic Business Rule Validation in Spring Boot 3 Using AOP

This article demonstrates how to decouple business logic from validation in Spring Boot 3 by creating a custom @BusinessValidation annotation, defining rule interfaces, implementing concrete validators, and using an AOP aspect to execute them with configurable fast‑fail and exception handling, complete with code examples and testing.

AOPCustom AnnotationDynamic Validation
0 likes · 9 min read
Dynamic Business Rule Validation in Spring Boot 3 Using AOP
Programmer1970
Programmer1970
Aug 5, 2025 · Backend Development

Logback Configuration in Spring Boot: Multi‑Env, Dynamic Levels, Async, Masking, MDC & Trace Integration

This guide walks through a complete Logback setup for Spring Boot, covering multi‑environment profiles, runtime log‑level changes via Actuator, async appender tuning, structured JSON output, sensitive‑data masking, MDC‑based distributed tracing, exception stack filtering, performance metrics and best‑practice recommendations.

AsyncAppenderMDCSpring Boot
0 likes · 17 min read
Logback Configuration in Spring Boot: Multi‑Env, Dynamic Levels, Async, Masking, MDC & Trace Integration
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 5, 2025 · Backend Development

Master Spring Boot Lifecycle: Init & Destroy Callbacks Explained

This article explains Spring Boot’s bean lifecycle callbacks, covering InitializingBean and DisposableBean interfaces, @PostConstruct and @PreDestroy annotations, initMethod and destroyMethod configurations, as well as alternative approaches like SmartInitializingSingleton, ContextRefreshedEvent, and AutoCloseable, with code examples and execution order details.

DisposableBeanInitializingBeanLifecycle
0 likes · 7 min read
Master Spring Boot Lifecycle: Init & Destroy Callbacks Explained
Ubiquitous Tech
Ubiquitous Tech
Aug 4, 2025 · Backend Development

Is SmartAdmin the Ideal Starting Point for Your Next Project?

This article introduces the open‑source admin platform SmartAdmin, outlines its high‑quality code, security features, technology stack, and provides a step‑by‑step guide to set up the development environment and run the backend and frontend components.

Open SourceSmartAdminSpring Boot
0 likes · 10 min read
Is SmartAdmin the Ideal Starting Point for Your Next Project?
Ubiquitous Tech
Ubiquitous Tech
Aug 2, 2025 · Artificial Intelligence

Exploring JoyAgent‑JDGenie: Core Workflow and Prompt Engineering (Part 2)

This article walks through the JoyAgent‑JDGenie open‑source AI agent framework, detailing its multi‑agent architecture, backend and frontend components, deployment steps, configuration files, and the comprehensive prompt templates that drive planning, execution, and ReAct‑style reasoning.

AI agentsJoyAgent-JDGenieMCP integration
0 likes · 27 min read
Exploring JoyAgent‑JDGenie: Core Workflow and Prompt Engineering (Part 2)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 1, 2025 · Backend Development

Master Spring Boot 3: 151 Real‑World Cases on Retry, Concurrency, and HttpClient

This article introduces a continuously updated collection of 151 Spring Boot 3 practical examples, covering built‑in retry mechanisms, concurrency limits, and automatic HTTP client registration, complete with configuration snippets, code samples, and visual illustrations to help developers implement resilient backend services.

HttpClientSpring Bootbackend
0 likes · 9 min read
Master Spring Boot 3: 151 Real‑World Cases on Retry, Concurrency, and HttpClient
macrozheng
macrozheng
Jul 30, 2025 · Backend Development

Unlock Spring Boot: Hidden Default Settings That Can Crash Your App

This article reveals the hidden default configurations of Spring Boot—such as Tomcat connection limits, HikariCP pool sizes, Jackson timezone handling, logging, caching, file upload limits, async thread pools, static resource caching, and transaction timeouts—and provides practical YAML adjustments to prevent performance bottlenecks and production failures.

ConfigurationOptimizationSpring Boot
0 likes · 12 min read
Unlock Spring Boot: Hidden Default Settings That Can Crash Your App
macrozheng
macrozheng
Jul 28, 2025 · Backend Development

Mastering FlowLong: A Lightweight Open‑Source Workflow Engine for Chinese Enterprises

FlowLong is a domestically developed, high‑performance workflow engine that uses JSON‑based process models and a visual designer to simplify complex approval scenarios, integrates seamlessly with Spring Boot and Mybatis‑Plus, provides extensive BPMN features, and includes detailed installation, architecture, and database schema documentation.

BPMSpring BootWorkflow
0 likes · 15 min read
Mastering FlowLong: A Lightweight Open‑Source Workflow Engine for Chinese Enterprises
macrozheng
macrozheng
Jul 25, 2025 · Backend Development

Boost Java Persistence with MyBatis-Flex: Features, Comparison, and Quick Start

This article introduces MyBatis-Flex, a lightweight yet powerful MyBatis enhancement framework, outlines its key characteristics, compares it with MyBatis-Plus and Fluent-MyBatis, presents performance benchmarks, lists supported databases, and provides a step‑by‑step quick‑start guide for Spring Boot integration.

MyBatis-FlexORMSpring Boot
0 likes · 14 min read
Boost Java Persistence with MyBatis-Flex: Features, Comparison, and Quick Start
Java Architect Essentials
Java Architect Essentials
Jul 24, 2025 · Backend Development

Boost Spring Boot Performance: Proven Tips & Code Samples

This article provides a comprehensive guide to optimizing Spring Boot applications, covering application‑level tweaks, JVM tuning, database connection and query improvements, caching strategies, asynchronous and reactive programming, as well as monitoring and diagnostics, all illustrated with practical code examples.

JVM TuningSpring Bootasync
0 likes · 22 min read
Boost Spring Boot Performance: Proven Tips & Code Samples
Top Architect
Top Architect
Jul 24, 2025 · Databases

How to Efficiently Shard Billion‑Row Tables with ShardingSphere and Spring Boot

This article walks through the end‑to‑end design, configuration, and implementation of splitting massive loan and repayment tables into 50 sharded MySQL tables using ShardingSphere, Spring Boot, and a custom suffix algorithm, while covering data migration, DBA coordination, dynamic switches, and scheduled consistency checks.

Data MigrationMySQLSharding
0 likes · 19 min read
How to Efficiently Shard Billion‑Row Tables with ShardingSphere and Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Jul 24, 2025 · Backend Development

Unlock Spring Boot’s Hidden Power: 9 Built‑In Features Every Backend Dev Needs

This article walks through nine essential Spring Boot built‑in capabilities—including request logging, content caching, filter execution control, AOP utilities, starter auto‑configuration, flexible property binding, async/scheduled tasks, Actuator monitoring, and SpEL expressions—showing how they boost backend development productivity without extra dependencies.

AOPActuatorConfiguration
0 likes · 13 min read
Unlock Spring Boot’s Hidden Power: 9 Built‑In Features Every Backend Dev Needs
Ubiquitous Tech
Ubiquitous Tech
Jul 23, 2025 · Artificial Intelligence

How to Set Up JoyAgent‑JDGenie on macOS – Lesson 1

This article introduces JD's open‑source general‑agent project JoyAgent‑JDGenie, outlines its multi‑agent architecture and key features, and provides a step‑by‑step guide for configuring the required macOS environment, including frontend, backend, and Python services, to get the system up and running.

General AI AgentJoyAgent-JDGenieMCP
0 likes · 12 min read
How to Set Up JoyAgent‑JDGenie on macOS – Lesson 1
Architect's Guide
Architect's Guide
Jul 23, 2025 · Backend Development

Simplify HTTP Calls in Java with OKHttpUtil: A Complete Guide

This article introduces OKHttpUtil, a lightweight Java HTTP client wrapper, outlines its key features, provides Maven setup and code examples for GET, POST, file upload/download, demonstrates fluent HttpRequest usage, shows Spring Boot integration, and explains how to quickly encapsulate external APIs such as eBay.

API wrapperHTTP clientSpring Boot
0 likes · 9 min read
Simplify HTTP Calls in Java with OKHttpUtil: A Complete Guide
Lin is Dream
Lin is Dream
Jul 23, 2025 · Backend Development

Why Maven's Resource Filtering Breaks Binary Certificates and How to Fix It

The article explains how Maven's default resource filtering corrupts binary .p12 certificates during packaging, causing Spring Boot startup failures, and provides a step‑by‑step solution using dual resource configurations and best practices for handling binary files in Java backend projects.

MavenResource FilteringSpring Boot
0 likes · 7 min read
Why Maven's Resource Filtering Breaks Binary Certificates and How to Fix It
Su San Talks Tech
Su San Talks Tech
Jul 23, 2025 · Backend Development

Unlock Spring Boot’s Hidden Power: 9 Built‑In Features Every Backend Developer Should Master

Spring Boot offers a suite of built‑in tools—from request logging and content caching to AOP utilities, starter dependencies, auto‑configuration, async scheduling, Actuator monitoring, and SpEL expressions—that streamline development, improve maintainability, and boost production‑grade performance for backend applications.

Spring Bootbackend developmentspring-framework
0 likes · 13 min read
Unlock Spring Boot’s Hidden Power: 9 Built‑In Features Every Backend Developer Should Master
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 23, 2025 · Backend Development

Mastering Spring Boot Lifecycle: Practical SmartLifecycle Examples

Explore the Spring Boot 3 lifecycle mechanisms, including the core Lifecycle and SmartLifecycle interfaces, with detailed code samples that demonstrate bean start/stop control, phase ordering, shutdown timeouts, and scheduled task management, enabling developers to fine‑tune application behavior during startup and shutdown.

LifecycleSmartLifecycleSpring Boot
0 likes · 8 min read
Mastering Spring Boot Lifecycle: Practical SmartLifecycle Examples
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 21, 2025 · Backend Development

Master Dynamic Data Permissions in Spring Boot 3 with Custom Annotations & AOP

This article demonstrates how to implement flexible, decoupled data permission control in Spring Boot 3 by defining a @DataPermission annotation, creating strategy classes for different scopes, wiring them through an AOP aspect, and integrating the solution with JPA entities, MyBatis mappers, and comprehensive test cases.

AOPCustom AnnotationData Permission
0 likes · 13 min read
Master Dynamic Data Permissions in Spring Boot 3 with Custom Annotations & AOP
Architect
Architect
Jul 20, 2025 · Databases

Master Druid Monitoring: Configure, Filter, and Remove Ads in Spring Boot

This guide explains how to integrate Alibaba Druid as a Java database connection pool, add Maven dependencies, configure core properties, enable SQL and slow‑SQL monitoring, set up WebStatFilter and Spring AOP monitoring, remove the built‑in advertisement, and retrieve monitoring data via DruidStatManagerFacade.

Connection PoolDatabase MonitoringDruid
0 likes · 15 min read
Master Druid Monitoring: Configure, Filter, and Remove Ads in Spring Boot
Su San Talks Tech
Su San Talks Tech
Jul 20, 2025 · Backend Development

Build CRUD APIs Instantly with Magic-API in Spring Boot

This tutorial introduces the magic‑api Java framework, shows how to integrate it with Spring Boot, configure data sources, create the necessary MySQL tables, and implement full CRUD operations, parameter validation, result transformation, transaction handling, and Swagger documentation using concise scripts.

CRUDSpring BootSwagger
0 likes · 10 min read
Build CRUD APIs Instantly with Magic-API in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 19, 2025 · Backend Development

How Virtual Threads Boost Spring Boot 3 Performance: Real-World Benchmarks

This article demonstrates how Spring Boot 3.2.5 leverages JDK 21 virtual threads to improve asynchronous request handling, comparing platform‑thread and virtual‑thread performance with JMeter, exploring thread‑pool configurations, database access tests, and providing practical code examples and tuning tips.

Async RequestsJMeterPerformance Testing
0 likes · 9 min read
How Virtual Threads Boost Spring Boot 3 Performance: Real-World Benchmarks
Architect's Guide
Architect's Guide
Jul 19, 2025 · Backend Development

Mastering Unified Login, Interceptors, and Exception Handling in Spring Boot

This tutorial walks through implementing unified user login verification, request interception, global exception handling, and a consistent response format in Spring Boot using AOP, HandlerInterceptor, @ControllerAdvice, and ResponseBodyAdvice, complete with code examples and architectural explanations.

AOPHandlerInterceptorSpring Boot
0 likes · 20 min read
Mastering Unified Login, Interceptors, and Exception Handling in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 18, 2025 · Backend Development

How to Process Excel Files with Spring Batch in Spring Boot 3

This tutorial demonstrates how to use Spring Batch in Spring Boot 3 to read Excel files with PoiItemReader, map rows to Java objects, process and write data, and optimize memory usage by switching to StreamingXlsxItemReader for large datasets, complete with full code examples and configuration details.

ExcelPOISpring Batch
0 likes · 10 min read
How to Process Excel Files with Spring Batch in Spring Boot 3
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 18, 2025 · Backend Development

How to Enable OpenID Connect in Spring Boot 3: Full Configuration Guide

This guide walks you through configuring Spring Boot 3 with Spring Security OAuth2 Authorization Server to enable OpenID Connect, covering bean setup, client registration, token retrieval, user info customization, and accessing the OpenID configuration endpoint, complete with code examples and essential notes.

OAuth2OpenID ConnectSpring Boot
0 likes · 7 min read
How to Enable OpenID Connect in Spring Boot 3: Full Configuration Guide
Selected Java Interview Questions
Selected Java Interview Questions
Jul 17, 2025 · Backend Development

How to Fix Spring Static Injection NPE: Real-World Demo & Solutions

This article explains why static fields injected with @Autowired in Spring can become null, causing NPEs in production, and presents six practical solutions—including removing static fields, using @PostConstruct, static setters, ApplicationContext, singleton patterns, and @Lazy loading—to ensure reliable static dependency injection.

SpringSpring BootStatic Injection
0 likes · 9 min read
How to Fix Spring Static Injection NPE: Real-World Demo & Solutions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 17, 2025 · Backend Development

Unlock 10 Powerful Spring Boot 3 Starters: Real‑World Cases & Code

This article introduces ten practical Spring Boot 3 starter libraries—ShedLock, p6spy, Logbook, Jasypt, Bucket4j, gRPC, Retrofit, MapStruct‑Plus, Redisson, and Resilience4j—detailing their purpose, Maven coordinates, configuration snippets, core usage code, and links to official documentation, helping developers quickly enhance performance, security, and reliability in backend projects.

MicroservicesSpring BootStarters
0 likes · 17 min read
Unlock 10 Powerful Spring Boot 3 Starters: Real‑World Cases & Code
Java Architect Essentials
Java Architect Essentials
Jul 16, 2025 · Backend Development

Master Spring Boot Auto‑Configuration: 4 Layers Every Developer Should Know

This article demystifies Spring Boot's auto‑configuration by breaking it into four layers—annotation composition, loading engine, conditional assembly, and property binding—providing clear explanations, code examples, and common pitfalls to help developers ace interview questions and master backend development.

@ConditionalSpring Bootannotations
0 likes · 6 min read
Master Spring Boot Auto‑Configuration: 4 Layers Every Developer Should Know
Selected Java Interview Questions
Selected Java Interview Questions
Jul 16, 2025 · Cloud Computing

Implement Chunked Large File Upload with Tencent Cloud COS, Vue2 & Spring Boot

This guide demonstrates how to configure Tencent Cloud COS for both simple and multipart large‑file uploads in a front‑end/back‑end separated architecture, using Vue2 on the client side and Spring Boot with YML configuration on the server, covering bucket setup, security, CORS, concurrency, and resumable upload techniques.

Chunked UploadSpring BootTencent Cloud COS
0 likes · 12 min read
Implement Chunked Large File Upload with Tencent Cloud COS, Vue2 & Spring Boot
macrozheng
macrozheng
Jul 16, 2025 · Databases

Why Auto‑Increment Beats UUID in MySQL: Performance Tests and Deep Dive

An in‑depth MySQL study compares auto‑increment, UUID, and random Snowflake keys by building three identical tables, running insert‑performance tests with Spring Boot/JdbcTemplate, and analyzing index structures, revealing why auto‑increment keys outperform UUIDs despite the latter’s uniqueness.

MySQLSpring Bootauto_increment
0 likes · 11 min read
Why Auto‑Increment Beats UUID in MySQL: Performance Tests and Deep Dive
Code Ape Tech Column
Code Ape Tech Column
Jul 16, 2025 · Backend Development

7 Proven Spring Boot Performance Optimizations for Faster Apps

This article presents seven practical Spring Boot performance tuning techniques—including asynchronous execution, Tomcat connection tuning, component scanning, switching to Undertow, BufferedWriter usage, DeferredResult handling, and AsyncHandlerInterceptor interception—each illustrated with concise Java code examples to help developers boost application speed and scalability.

AsynchronousSpring BootTomcat
0 likes · 9 min read
7 Proven Spring Boot Performance Optimizations for Faster Apps
Java Captain
Java Captain
Jul 16, 2025 · Backend Development

How to Deploy Graylog with Docker‑Compose and Integrate It into Spring Boot

Learn how to set up Graylog for centralized log aggregation using Docker‑Compose, configure its inputs, and seamlessly integrate it with a Spring Boot application via Logback‑GELF, including necessary code snippets, configuration files, and query examples for efficient log searching.

DockerGraylogMicroservices
0 likes · 7 min read
How to Deploy Graylog with Docker‑Compose and Integrate It into Spring Boot
JakartaEE China Community
JakartaEE China Community
Jul 15, 2025 · Cloud Native

Choosing a Technology Stack for Cloud‑Native Microservices: MicroProfile vs Spring

This article explains why cloud‑native microservices are beneficial, defines their key characteristics, and provides a detailed, side‑by‑side comparison of MicroProfile and Spring frameworks—including REST APIs, dependency injection, configuration, fault tolerance, security, health checks, metrics, and tracing—along with concrete code examples and starter resources.

Cloud NativeConfigurationFault Tolerance
0 likes · 27 min read
Choosing a Technology Stack for Cloud‑Native Microservices: MicroProfile vs Spring
Selected Java Interview Questions
Selected Java Interview Questions
Jul 15, 2025 · Backend Development

Why MyBatis-Flex Outperforms MyBatis-Plus: Features, Benchmarks, and Quick Start

MyBatis-Flex is a lightweight, high‑performance MyBatis enhancement framework that offers flexible CRUD, powerful query capabilities, extensive database support, and significant speed advantages over MyBatis‑Plus, with detailed feature comparisons, performance benchmarks, and a step‑by‑step quick‑start guide.

DatabaseMyBatis-FlexORM
0 likes · 9 min read
Why MyBatis-Flex Outperforms MyBatis-Plus: Features, Benchmarks, and Quick Start
Architect's Tech Stack
Architect's Tech Stack
Jul 15, 2025 · Backend Development

Mastering Graceful Shutdown in Spring Boot 2.3: A Complete Guide

This article explains Spring Boot 2.3's built‑in graceful shutdown feature, how to enable it with server.shutdown=graceful, configure timeout‑per‑shutdown‑phase, compare container behaviors, use the Actuator /shutdown endpoint, and provides code examples and practical steps to avoid data loss during termination.

ActuatorSpring Bootgraceful-shutdown
0 likes · 6 min read
Mastering Graceful Shutdown in Spring Boot 2.3: A Complete Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 15, 2025 · Backend Development

9 Proven Ways to Speed Up Spring Boot 3 Startup Time

This article explains nine practical techniques—including narrowing component scans, enabling lazy initialization, excluding unused auto‑configurations, using a component indexer, tuning the database pool, avoiding heavy bean init tasks, leveraging CDS, running exploded jars, and employing GraalVM native images—to dramatically reduce Spring Boot 3 application startup time.

Spring Bootjavaperformance-tuning
0 likes · 11 min read
9 Proven Ways to Speed Up Spring Boot 3 Startup Time
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 14, 2025 · Backend Development

Unlock 24 Powerful Spring Boot Utilities with Real‑World Code Samples

This article introduces 24 essential Spring Boot utility classes—covering bean handling, AOP support, core framework helpers, and common I/O and conversion tools—providing concise explanations and runnable code snippets that demonstrate how each utility simplifies everyday backend development.

Spring BootUtility Classesbackend development
0 likes · 17 min read
Unlock 24 Powerful Spring Boot Utilities with Real‑World Code Samples
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 11, 2025 · Backend Development

How to Solve Spring Boot Bidirectional JSON Recursion with 6 Jackson Techniques

This article explains why bidirectional entity relationships cause infinite JSON recursion in Spring Boot, demonstrates the problem with sample code and console output, and presents six practical Jackson solutions—including @JsonManagedReference, @JsonIdentityInfo, @JsonIgnore, @JsonView, and custom serializers—complete with code snippets and result screenshots.

Bidirectional relationshipJSON recursionJackson
0 likes · 9 min read
How to Solve Spring Boot Bidirectional JSON Recursion with 6 Jackson Techniques
Architect
Architect
Jul 10, 2025 · Backend Development

7 Proven Techniques to Slash Spring Boot Startup Time by 70%

Learn seven practical strategies—including lazy initialization, precise component scanning, JVM tuning, auto‑configuration pruning, dependency slimming, delayed datasource connections, and AOT/layered compilation—to dramatically reduce Spring Boot application startup time, memory usage, and class loading, with real‑world performance comparisons.

AOT compilationJVM TuningLazy Initialization
0 likes · 9 min read
7 Proven Techniques to Slash Spring Boot Startup Time by 70%
Java Captain
Java Captain
Jul 10, 2025 · Backend Development

Mastering AOP in Spring Boot: From Basics to Practical Code

This article explains Aspect Oriented Programming, contrasts it with Object Oriented Programming, illustrates cross‑cutting concerns with real‑world examples, and provides a step‑by‑step guide—including Maven dependencies, annotation definitions, and execution expressions—to implement AOP in a Spring Boot application.

AOPSpring Bootaspect-oriented-programming
0 likes · 6 min read
Mastering AOP in Spring Boot: From Basics to Practical Code
JD Cloud Developers
JD Cloud Developers
Jul 9, 2025 · Backend Development

Boost Java Backend Performance with MyBatis-Plus LambdaQueryWrapper and Spring @Async

Learn how to combine MyBatis-Plus's type‑safe LambdaQueryWrapper with Spring Boot's @Async annotation to build readable, maintainable queries and execute them asynchronously, including configuration of custom thread pools, exception handling, transaction management, and practical use cases such as reporting and batch processing.

LambdaQueryWrapperSpring Bootasync
0 likes · 8 min read
Boost Java Backend Performance with MyBatis-Plus LambdaQueryWrapper and Spring @Async
Java Architect Essentials
Java Architect Essentials
Jul 8, 2025 · Backend Development

Diagnose Java Memory Leaks in Minutes with Spring Boot Actuator and Arthas

This article explains why traditional heap dump and stack trace analysis are cumbersome, and shows how combining Spring Boot Actuator metrics with the Arthas diagnostic tool provides real‑time monitoring, rapid object inspection, and precise leak root‑cause identification, dramatically speeding up Java OOM troubleshooting.

ActuatorArthasSpring Boot
0 likes · 14 min read
Diagnose Java Memory Leaks in Minutes with Spring Boot Actuator and Arthas
Zhuanzhuan Tech
Zhuanzhuan Tech
Jul 8, 2025 · Backend Development

How to Build a Silent Printing Proxy for Windows Using Java and Spring Boot

This article explains the challenges of printing in a hybrid store‑warehouse environment, outlines the limitations of JavaScript‑based printing, and details a custom Java‑powered printing proxy that uses Spring Boot, printable APIs, executable packaging, and offset files to achieve silent, multi‑scenario printing on Windows.

Print OffsetPrint ServiceSpring Boot
0 likes · 18 min read
How to Build a Silent Printing Proxy for Windows Using Java and Spring Boot
Java Tech Enthusiast
Java Tech Enthusiast
Jul 8, 2025 · Backend Development

Master Global Date Formatting in Spring Boot: Simple Tips

This article explains how to achieve consistent date and time formatting in Spring Boot applications by using SimpleDateFormat, configuring Jackson globally with spring.jackson properties, and applying @JsonFormat, @JsonComponent, and @Configuration annotations to handle various Java date types efficiently.

Spring Bootannotationsdate-formatting
0 likes · 7 min read
Master Global Date Formatting in Spring Boot: Simple Tips
Code Ape Tech Column
Code Ape Tech Column
Jul 8, 2025 · Backend Development

Mastering Spring Batch: Real-World Use Cases and Hands‑On Guide

This comprehensive guide explains why batch processing is essential, walks through typical banking, e‑commerce, logging and medical data scenarios, details Spring Batch's core architecture and components, provides step‑by‑step setup and code examples, and presents a production‑grade bank reconciliation case with monitoring and troubleshooting tips.

Batch ProcessingData IntegrationJob Scheduling
0 likes · 27 min read
Mastering Spring Batch: Real-World Use Cases and Hands‑On Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 8, 2025 · Backend Development

Mastering Jackson: 5 Ways to Exclude Fields in Spring Boot JSON

This article explains five practical techniques for ignoring specific fields during JSON serialization and deserialization in Spring Boot using Jackson, covering class‑level, field‑level, type‑level, filter‑based, @JsonView, and custom serializer approaches with complete code examples and result screenshots.

Field IgnoringSpring Boot
0 likes · 8 min read
Mastering Jackson: 5 Ways to Exclude Fields in Spring Boot JSON
Java Architect Essentials
Java Architect Essentials
Jul 7, 2025 · Backend Development

6 Proven Spring Boot Performance Hacks to Slash Response Time

Discover six practical Spring Boot optimization techniques—including Tomcat thread‑pool tuning, @Async asynchronous processing, HTTP caching, switching to Undertow, HikariCP connection pooling, and JVM memory settings—that transformed a sluggish e‑commerce service from 5‑second delays to sub‑1.5‑second response times.

HTTP CachingHikariCPSpring Boot
0 likes · 11 min read
6 Proven Spring Boot Performance Hacks to Slash Response Time
Top Architect
Top Architect
Jul 7, 2025 · Backend Development

Simplify Excel Import/Export in Spring Boot with an EasyExcel Wrapper

This article walks through building a reusable EasyExcel wrapper for Spring Boot, covering environment setup, step‑by‑step usage, full source code, common pitfalls like date formatting and POI version conflicts, and practical solutions to ensure reliable Excel import and export.

EasyExcelExcel exportExcel import
0 likes · 20 min read
Simplify Excel Import/Export in Spring Boot with an EasyExcel Wrapper
Architect's Guide
Architect's Guide
Jul 7, 2025 · Backend Development

Dynamic Data Source Switching in Spring Boot Using ThreadLocal & AbstractRoutingDataSource

This tutorial explains how to implement dynamic data source switching in Spring Boot by combining ThreadLocal with AbstractRoutingDataSource, covering custom context holders, configuration, annotation‑driven switching, dynamic addition of data sources, and complete code examples with test results.

Dynamic Data SourceSpring BootThreadLocal
0 likes · 16 min read
Dynamic Data Source Switching in Spring Boot Using ThreadLocal & AbstractRoutingDataSource
Tech Freedom Circle
Tech Freedom Circle
Jul 7, 2025 · Backend Development

Elegant Spring Boot Parameter Validation: A P7 Engineer’s Guide

This article walks through Spring Boot’s built‑in parameter validation using JSR‑303/JSR‑380, compares @Valid and @Validated, shows how to configure global exception handling, implement group validation, fast‑fail mode, and custom constraints, and demonstrates both controller‑level and service‑level validation with complete code examples.

@Valid@ValidatedHibernate Validator
0 likes · 39 min read
Elegant Spring Boot Parameter Validation: A P7 Engineer’s Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 7, 2025 · Backend Development

6 Practical Ways to Load External Configurations in Spring Boot 3

This article demonstrates six different techniques for loading external configuration data into Spring Boot 3 applications, covering command‑line arguments, spring.config.import, @PropertySource, EnvironmentPostProcessor, @TestPropertySource, and a custom PropertySourceLocator with complete code examples and expected outputs.

ConfigurationPropertiesEnvironmentPostProcessorExternal Configuration
0 likes · 9 min read
6 Practical Ways to Load External Configurations in Spring Boot 3
Java Architect Essentials
Java Architect Essentials
Jul 6, 2025 · Backend Development

How to Slash Spring Boot Startup Time by 80%: 10 Proven Optimizations

This article shares ten practical techniques—including lazy bean loading, removing unused auto‑configurations, classloader tweaks, thread‑pool tuning, logging reduction, health‑check disabling, SSD upgrades, Maven packaging fixes, and Arthas monitoring—that together can reduce Spring Boot startup from minutes to seconds, dramatically boosting developer productivity.

Spring Bootperformance-tuningstartup-optimization
0 likes · 7 min read
How to Slash Spring Boot Startup Time by 80%: 10 Proven Optimizations
Cognitive Technology Team
Cognitive Technology Team
Jul 6, 2025 · Backend Development

Why Spring WebClient Throws OutOfMemoryError and How to Fix It

Upgrading Spring Boot's RestTemplate to the NIO‑based WebClient improves concurrency and performance, but can trigger a java.lang.OutOfMemoryError: Direct buffer memory; this article explains the cause, diagnostic steps using yCrash, and how adjusting -XX:MaxDirectMemorySize resolves the issue.

Java NIOOutOfMemoryErrorSpring Boot
0 likes · 10 min read
Why Spring WebClient Throws OutOfMemoryError and How to Fix It
Top Architect
Top Architect
Jul 5, 2025 · Backend Development

Master Distributed Task Scheduling with XXL‑Job: Step‑by‑Step Guide and Code Walkthrough

This article introduces the lightweight open‑source XXL‑Job framework, walks through server and executor setup, demonstrates three task creation methods, explains how to trigger and monitor jobs, and highlights the dynamic‑proxy and asynchronous design that enable high‑throughput distributed scheduling in Spring Boot applications.

Dynamic ProxySpring BootXXL-JOB
0 likes · 15 min read
Master Distributed Task Scheduling with XXL‑Job: Step‑by‑Step Guide and Code Walkthrough
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 5, 2025 · Artificial Intelligence

Building Multi-Agent Systems with Spring AI and Langgraph4j: A Hands‑On Guide

This article introduces multi‑agent architectures and the Agents Handoff pattern, then demonstrates a complete implementation using Spring Boot 3.4.2, Langgraph4j, and Spring AI, including code for a marketplace agent, a payment agent, configuration, testing, and suggestions for further improvement.

Artificial IntelligenceLangGraph4jSpring Boot
0 likes · 10 min read
Building Multi-Agent Systems with Spring AI and Langgraph4j: A Hands‑On Guide
Su San Talks Tech
Su San Talks Tech
Jul 5, 2025 · Backend Development

Mastering Spring Web MVC Annotations: A Complete Guide

This article provides a comprehensive overview of Spring Web MVC and Spring Boot annotations—including @RequestMapping, its attribute set, shortcut mapping annotations, controller advice, dependency injection, bean scopes, conditional configuration, and related component stereotypes—illustrated with code snippets and diagrams for Java backend developers.

Java AnnotationsSpring Bootbackend development
0 likes · 17 min read
Mastering Spring Web MVC Annotations: A Complete Guide
Java Architect Essentials
Java Architect Essentials
Jul 4, 2025 · Backend Development

Avoid Dependency Nightmares: Best Practices for Building Reusable Spring Boot Starters

The article shares real‑world experiences and step‑by‑step guidelines for creating robust, modular Spring Boot starters—especially for logging and monitoring—covering dependency conflict detection, strict dependency scopes, SPI design, configuration conventions, documentation standards to dramatically improve reuse and reduce integration headaches.

Custom StarterDependency ManagementMonitoring
0 likes · 11 min read
Avoid Dependency Nightmares: Best Practices for Building Reusable Spring Boot Starters
Architect
Architect
Jul 4, 2025 · Backend Development

Async Requests in Spring Boot: Callable, WebAsyncTask & DeferredResult

This article explains how Spring Boot supports asynchronous request processing, comparing pre‑Servlet 3.0 synchronous handling with post‑Servlet 3.0 async features, and demonstrates four implementation approaches—Callable, WebAsyncTask, DeferredResult, and thread‑pool configuration—while outlining when asynchronous requests improve throughput and how to manage their lifecycle.

AsynchronousSpring BootThread Pool
0 likes · 10 min read
Async Requests in Spring Boot: Callable, WebAsyncTask & DeferredResult
Java Captain
Java Captain
Jul 4, 2025 · Backend Development

Master Spring Boot Configuration with Enums for Cleaner, Maintainable Code

This guide explains how to improve Spring Boot configuration management by mapping external properties to Java enums using @ConfigurationProperties, demonstrating a complete example with Maven dependencies, YAML settings, enum definitions, configuration classes, a controller, and a Thymeleaf view to achieve flexible and readable code.

ConfigurationPropertiesEnumMaven
0 likes · 11 min read
Master Spring Boot Configuration with Enums for Cleaner, Maintainable Code
Java Captain
Java Captain
Jul 4, 2025 · Backend Development

How to Load External JARs into Spring Boot: Simple 2‑Step Solutions

This guide explains two straightforward steps to load external JAR files into the JVM and make Spring Boot scan them, covering three implementation options—extending the classpath, using Spring Boot’s loader.path parameter, and creating a custom classloader—along with configuration details, Maven settings, and runtime considerations.

ClassLoaderJAR LoadingMaven
0 likes · 9 min read
How to Load External JARs into Spring Boot: Simple 2‑Step Solutions
Selected Java Interview Questions
Selected Java Interview Questions
Jul 4, 2025 · Backend Development

Integrating MinIO with Spring Boot: Full Guide to File Upload, Download, and Large‑File Handling

This article walks through the complete process of integrating MinIO into a Spring Boot project, covering why MinIO is chosen, environment setup, configuration, utility and controller implementation for simple and batch uploads, downloads, previews, large‑file multipart uploads, instant upload checks, and testing procedures.

File DownloadInstant UploadLarge Files
0 likes · 22 min read
Integrating MinIO with Spring Boot: Full Guide to File Upload, Download, and Large‑File Handling
Java Tech Enthusiast
Java Tech Enthusiast
Jul 4, 2025 · Backend Development

Mastering Large File Uploads: Spring Boot Chunked Upload Guide

Learn how to efficiently handle large file uploads in web applications by implementing a robust chunked upload solution with Spring Boot, covering the need for chunking, core principles, detailed server and Vue.js client code, performance optimizations, enterprise-level features, and best-practice recommendations.

Chunked UploadResumable UploadSpring Boot
0 likes · 12 min read
Mastering Large File Uploads: Spring Boot Chunked Upload Guide
Java Captain
Java Captain
Jul 4, 2025 · Backend Development

Why Getting Spring Beans in Non‑Spring Classes Causes NullPointerExceptions

This article explains why retrieving Spring beans from classes not managed by Spring can cause NullPointerExceptions and failed autowiring, demonstrates two code examples—using a utility class and @Autowired in a plain class—and recommends registering such classes as Spring components to ensure proper dependency management.

Bean RetrievalSpringSpring Boot
0 likes · 5 min read
Why Getting Spring Beans in Non‑Spring Classes Causes NullPointerExceptions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 4, 2025 · Backend Development

Master Distributed Transactions in Spring Boot 3 with Atomikos – Full Code Guide

This article walks through integrating Atomikos with Spring Boot 3 to implement JTA‑based distributed transactions, covering the concepts of Atomikos and JTA, detailed configuration of multiple data sources, domain and repository definitions, service implementation, and comprehensive test cases with expected outcomes.

AtomikosJTASpring Boot
0 likes · 14 min read
Master Distributed Transactions in Spring Boot 3 with Atomikos – Full Code Guide
Java Architect Essentials
Java Architect Essentials
Jul 3, 2025 · Backend Development

Tame Maven Dependency Chaos with Custom Spring Boot Starters

This article shares real‑world stories and step‑by‑step techniques for diagnosing Maven dependency conflicts, enforcing version control, and building reusable Spring Boot starters to streamline configuration, improve team efficiency, and prevent costly runtime failures.

Custom StarterDependency ManagementMaven
0 likes · 7 min read
Tame Maven Dependency Chaos with Custom Spring Boot Starters
Ubiquitous Tech
Ubiquitous Tech
Jul 3, 2025 · Backend Development

Understanding Spring AI MCP Client Startup Auto‑Configuration Flow

This article walks through the Spring AI MCP Client source code, showing how to set up a Java project, configure the MCP client, implement a demo controller, and dissect the auto‑configuration classes that assemble transport, client, and tool‑callback components during application startup.

MCP ClientOpenAISpring AI
0 likes · 16 min read
Understanding Spring AI MCP Client Startup Auto‑Configuration Flow
Architecture Digest
Architecture Digest
Jul 3, 2025 · Backend Development

How to Implement Efficient MyBatis Streaming Queries in Spring Boot

This article explains what streaming queries are, why MyBatis's Cursor requires an open database connection, and presents three practical solutions—using SqlSessionFactory, TransactionTemplate, or @Transactional—to correctly implement MyBatis streaming queries in Spring applications while avoiding common pitfalls.

CursorDatabase ConnectionMyBatis
0 likes · 6 min read
How to Implement Efficient MyBatis Streaming Queries in Spring Boot
Java Tech Enthusiast
Java Tech Enthusiast
Jul 3, 2025 · Backend Development

Mastering Large File Uploads with Spring Boot: Chunked Upload Guide

This article explains why traditional single-file uploads fail for large files, outlines the benefits of chunked uploading, and provides a complete Spring Boot implementation—including core dependencies, controller logic, high‑performance merging, Vue front‑end code, enterprise‑level optimizations, and performance test results.

Chunked UploadLarge FilesSpring Boot
0 likes · 11 min read
Mastering Large File Uploads with Spring Boot: Chunked Upload Guide