Tagged articles
1047 articles
Page 2 of 11
Java Tech Enthusiast
Java Tech Enthusiast
Aug 23, 2025 · Backend Development

Master Complex Business Logic with LiteFlow: A Lightweight Java Flow Engine

This article introduces LiteFlow, a lightweight Java flow engine, demonstrating how to replace verbose if‑else logic with concise rule files, covering its main features, IDEA plugin support, rule expression syntax, integration steps, component implementation, and a complete order‑price calculation example.

Backend DevelopmentLiteFlowSpringBoot
0 likes · 12 min read
Master Complex Business Logic with LiteFlow: A Lightweight Java Flow Engine
Architect
Architect
Aug 21, 2025 · Artificial Intelligence

Implement OCR in Java with Tess4j and SpringBoot in Just a Few Lines

This tutorial walks you through adding optical character recognition to a Java SpringBoot project using the Tess4j library, covering prerequisites, dependency setup, engine initialization, RESTful API creation, and tips for improving accuracy with custom training data or third‑party services.

Image ProcessingJavaOCR
0 likes · 8 min read
Implement OCR in Java with Tess4j and SpringBoot in Just a Few Lines
Java Architect Essentials
Java Architect Essentials
Aug 19, 2025 · Backend Development

Mastering Asynchronous Requests in Spring Boot: Callable, WebAsyncTask & DeferredResult

This article explains how Spring Boot supports asynchronous request handling using Servlet 3.0 features, detailing four implementation approaches—Callable, WebAsyncTask, DeferredResult, and thread‑pool configuration—while outlining when async processing improves throughput and how to apply it effectively.

AsyncBackendCallable
0 likes · 10 min read
Mastering Asynchronous Requests in Spring Boot: Callable, WebAsyncTask & DeferredResult
Code Ape Tech Column
Code Ape Tech Column
Aug 12, 2025 · Operations

How to Use Meteor for Real-Time Java App Diagnosis and Performance Tuning

Meteor, built on Alibaba's Arthas, is a non‑intrusive Java diagnostic console that lets developers monitor running applications, locate performance bottlenecks, memory leaks, and thread deadlocks without restarting services, offering a SpringBoot‑based architecture, quick start commands, and features such as class inspection, live code editing, method monitoring, thread management, and dashboards.

ArthasJavaPerformance Monitoring
0 likes · 4 min read
How to Use Meteor for Real-Time Java App Diagnosis and Performance Tuning
macrozheng
macrozheng
Aug 6, 2025 · Backend Development

Build Real‑Time Chat with RabbitMQ MQTT in SpringBoot and Pure Front‑End

This guide explains how to use the lightweight MQTT protocol with RabbitMQ, covering Docker setup, enabling the MQTT plugin, testing with MQTTX, creating a front‑end chat using MQTT.js, and integrating MQTT into a SpringBoot application for server‑side messaging, all without writing custom back‑end code.

DockerInstant MessagingMQTT
0 likes · 13 min read
Build Real‑Time Chat with RabbitMQ MQTT in SpringBoot and Pure Front‑End
macrozheng
macrozheng
Aug 5, 2025 · Databases

Migrate SpringBoot MyBatis from MySQL to PostgreSQL: A Complete Guide

This guide walks you through converting a SpringBoot + MyBatisPlus project from MySQL to PostgreSQL, covering driver setup, JDBC configuration changes, common SQL syntax pitfalls, and provides helper scripts for bulk column adjustments and default value settings.

JDBCPostgreSQLSQL pitfalls
0 likes · 12 min read
Migrate SpringBoot MyBatis from MySQL to PostgreSQL: A Complete Guide
macrozheng
macrozheng
Aug 1, 2025 · Backend Development

Deploy SpringBoot Apps Instantly with IDEA + Docker: One-Click Remote Setup

This tutorial shows how to use IntelliJ IDEA and Docker to remotely deploy SpringBoot applications with a single click, comparing traditional jar uploads with modern containerized deployment, and provides step‑by‑step configuration, Dockerfile creation, and troubleshooting tips.

DockerIDEARemote Deployment
0 likes · 7 min read
Deploy SpringBoot Apps Instantly with IDEA + Docker: One-Click Remote Setup
macrozheng
macrozheng
Jul 31, 2025 · Cloud Computing

Unlock RustFS: High‑Performance Distributed Storage with Docker & SpringBoot

This guide introduces RustFS, a high‑performance Rust‑based distributed object storage system, covering its key features, Docker installation, console usage, and step‑by‑step integration with SpringBoot for file upload and deletion, including code snippets and configuration details.

DockerRustFSS3 Compatibility
0 likes · 11 min read
Unlock RustFS: High‑Performance Distributed Storage with Docker & SpringBoot
Architect's Guide
Architect's Guide
Jul 24, 2025 · Backend Development

7 Proven Strategies to Prevent Overselling in High‑Concurrency Flash Sales (SpringBoot)

This article explores high‑concurrency flash‑sale scenarios, demonstrates why naïve @Transactional and lock usage can still cause overselling, and presents seven concrete implementations—including improved lock, AOP lock, two pessimistic‑lock variants, optimistic lock, a blocking queue, and a Disruptor queue—complete with SpringBoot code, JMeter testing results, and performance analysis.

Distributed SystemsSpringBootconcurrency
0 likes · 23 min read
7 Proven Strategies to Prevent Overselling in High‑Concurrency Flash Sales (SpringBoot)
Top Architect
Top Architect
Jul 22, 2025 · Backend Development

Unlock Spring Task: Turn Your Java App into a Personal Scheduler

This article explains what Spring Task is, shows how to add the necessary dependency, enable scheduling with annotations, write cron‑based methods, explore common use cases, avoid typical pitfalls, and apply performance tricks to make scheduled jobs reliable and efficient.

SchedulingSpringBootcron
0 likes · 11 min read
Unlock Spring Task: Turn Your Java App into a Personal Scheduler
Code Ape Tech Column
Code Ape Tech Column
Jul 15, 2025 · Backend Development

Why SpringBoot 3.0 Dropped spring.factories and How to Migrate to Imports

SpringBoot 3.0 removed the traditional spring.factories file to improve startup performance, modularity, and GraalVM native image support, and introduces a new imports‑based registration mechanism with detailed migration steps, code examples, and best‑practice guidance for developers.

Spring FactoriesSpringBootauto-configuration
0 likes · 20 min read
Why SpringBoot 3.0 Dropped spring.factories and How to Migrate to Imports
macrozheng
macrozheng
Jul 14, 2025 · Backend Development

Master Domain-Driven Design: From Theory to a Real SpringBoot Project

This article explains the fundamentals of Domain-Driven Design, compares it with traditional MVC, details DDD’s layered architecture, core concepts such as entities, value objects, aggregates, services and events, and walks through a complete SpringBoot demo project with code, directory layout, database schema and deployment steps.

DDDDomain-Driven DesignJava
0 likes · 29 min read
Master Domain-Driven Design: From Theory to a Real SpringBoot Project
Java Tech Enthusiast
Java Tech Enthusiast
Jul 13, 2025 · Artificial Intelligence

Build a Java SpringBoot 3.x License Plate Recognition System with OCR

This article walks through creating a server‑side license‑plate recognition solution using Java SpringBoot 3.x, Tesseract OCR, and OpenCV, covering project goals, Maven dependencies, image‑processing services, special‑plate handling, and a REST API for real‑time plate detection.

JavaOCROpenCV
0 likes · 8 min read
Build a Java SpringBoot 3.x License Plate Recognition System with OCR
Code Ape Tech Column
Code Ape Tech Column
Jul 12, 2025 · Backend Development

Mastering OKHttpUtil: Simplify Java HTTP Requests with Ready‑to‑Use Code

This article introduces the lightweight OKHttpUtil wrapper for Java and Kotlin, outlines its key features such as automatic protocol detection, cookie handling, proxy and header configuration, GZIP decompression, and Spring Boot integration, and provides comprehensive code examples for GET, POST, file upload, download, chained requests, and custom API client creation.

APIHTTPJava
0 likes · 10 min read
Mastering OKHttpUtil: Simplify Java HTTP Requests with Ready‑to‑Use Code
Top Architect
Top Architect
Jul 10, 2025 · Backend Development

How Much Heap Memory Does a Single SpringBoot HTTP Request Use? A Practical Experiment

This article shows how a senior architect measured the exact heap memory allocated by individual HTTP and RPC requests in a SpringBoot 2.5.4 application using JMeter load testing and detailed GC logs, revealing that a minimal HTTP call consumes about 34 KB while an RPC call can use up to 1 MB, and discusses the performance implications of payload size and logging.

Backend DevelopmentJMeterJVM
0 likes · 11 min read
How Much Heap Memory Does a Single SpringBoot HTTP Request Use? A Practical Experiment
Practical DevOps Architecture
Practical DevOps Architecture
Jul 8, 2025 · Big Data

Master High‑Performance E‑Commerce Search with Elasticsearch & SpringBoot

This comprehensive course teaches developers how to design and implement a high‑throughput, scalable search engine for e‑commerce platforms using Elasticsearch and SpringBoot, covering architecture, data modeling, performance tuning, and advanced features such as autocomplete, fuzzy correction, price filtering, and sales reporting.

Distributed SystemsElasticsearchSpringBoot
0 likes · 8 min read
Master High‑Performance E‑Commerce Search with Elasticsearch & SpringBoot
Su San Talks Tech
Su San Talks Tech
Jul 3, 2025 · Backend Development

Why Workflow Engines Are Essential for Scalable Backend Systems

The article explains how over‑design can be avoided by using workflow orchestration and plugin extensions to isolate business logic, reduce if‑else sprawl, and improve extensibility, illustrated with the open‑source MemberClub project and its Java flow‑engine implementation.

Backend ArchitectureJavaProcess Engine
0 likes · 8 min read
Why Workflow Engines Are Essential for Scalable Backend Systems
macrozheng
macrozheng
Jul 2, 2025 · Backend Development

Master LiteFlow: Simplify Complex Business Logic in SpringBoot

This article introduces LiteFlow, a lightweight Java workflow engine, explains its key features, rule syntax, IDE plugin, integration steps with SpringBoot, component development, context handling, and provides practical code examples for building a complex order‑price calculation flow.

JavaLiteFlowSpringBoot
0 likes · 10 min read
Master LiteFlow: Simplify Complex Business Logic in SpringBoot
Su San Talks Tech
Su San Talks Tech
Jul 2, 2025 · Backend Development

Unlocking Java Plugin Architecture: From SPI to SpringBoot Extensions

This article explains the concept and benefits of plugin-based development in Java, introduces common implementation approaches such as SPI, custom configuration, and Spring Boot's spring.factories, and provides step‑by‑step code examples and a real‑world case study to help developers build extensible backend systems.

Backend DevelopmentJavaSPI
0 likes · 21 min read
Unlocking Java Plugin Architecture: From SPI to SpringBoot Extensions
Java Architect Essentials
Java Architect Essentials
Jul 1, 2025 · Backend Development

How @Validated Simplifies SpringBoot Parameter Validation

This article explains how the @Validated annotation in SpringBoot can automatically enforce request parameter validation, reducing boilerplate code, supporting group validation, and improving code readability and maintainability for backend developers.

BackendJavaSpringBoot
0 likes · 9 min read
How @Validated Simplifies SpringBoot Parameter Validation
macrozheng
macrozheng
Jun 26, 2025 · Backend Development

Mastering Workflow Engines: Simplify Business Logic with Flow Chains in SpringBoot

This article explains why over‑design hurts maintainability, demonstrates how a workflow engine and plugin extension can isolate business logic and enable scalable process chains, and provides step‑by‑step code examples and configuration guidance for SpringBoot projects.

MicroservicesSpringBootprocess chain
0 likes · 8 min read
Mastering Workflow Engines: Simplify Business Logic with Flow Chains in SpringBoot
Architect's Alchemy Furnace
Architect's Alchemy Furnace
Jun 17, 2025 · Backend Development

How to Run Multiple SpringBoot Microservices on a Single Tomcat with Minimal Resources

This guide explains how to adapt a distributed micro‑service architecture to run all SpringBoot services inside one external Tomcat instance by changing packaging to WAR, configuring server.xml, setting memory options, adjusting virtual addresses, handling logs, and registering services with Nacos for low‑memory environments.

DeploymentJavaNacos
0 likes · 17 min read
How to Run Multiple SpringBoot Microservices on a Single Tomcat with Minimal Resources
Su San Talks Tech
Su San Talks Tech
Jun 14, 2025 · Operations

Master Apollo Config Center: From Core Concepts to SpringBoot Integration

This comprehensive guide walks you through Apollo's background, core model, four‑dimensional configuration management, client design, local caching, and deployment steps—including Maven setup, SpringBoot client implementation, Kubernetes Dockerization, and practical tests across environments, clusters, and namespaces.

ApolloConfiguration ManagementDevOps
0 likes · 26 min read
Master Apollo Config Center: From Core Concepts to SpringBoot Integration
macrozheng
macrozheng
Jun 13, 2025 · Backend Development

Why MyBatis-Plus saveBatch Triggers Unexpected Transaction Rollback and How to Fix It

This article explains a puzzling Spring Boot transaction rollback caused by MyBatis-Plus's saveBatch method, reproduces the error with nested @Transactional calls, analyzes why the rollback flag is set, and offers a practical workaround by replacing the framework batch operation with a custom mapper implementation.

BackendJavaSpringBoot
0 likes · 6 min read
Why MyBatis-Plus saveBatch Triggers Unexpected Transaction Rollback and How to Fix It
Code Ape Tech Column
Code Ape Tech Column
Jun 13, 2025 · Backend Development

5 SpringBoot Multi‑Tenant Architecture Patterns You Must Know

This article explains multi‑tenancy as a software architecture pattern, describes why it reduces operational costs and improves resource utilization, and presents five concrete SpringBoot designs—including separate databases, shared databases with separate schemas, shared tables, shared‑table with tenant ID, and a hybrid model—along with implementation steps, code samples, pros and cons, and suitable scenarios.

Backend ArchitectureSpringBootdatabase isolation
0 likes · 41 min read
5 SpringBoot Multi‑Tenant Architecture Patterns You Must Know
Lin is Dream
Lin is Dream
Jun 13, 2025 · Backend Development

How to Seamlessly Integrate SFTP Upload/Download in Spring Boot

This guide walks you through adding SFTP capabilities to a Spring Boot application, covering Maven dependencies, configuration properties, a reusable SFTP helper class, service and controller layers for file transfer, optional ZIP compression, and practical tips like retries, multithreading, and scheduling.

BackendFileUploadJSch
0 likes · 9 min read
How to Seamlessly Integrate SFTP Upload/Download in Spring Boot
Architect
Architect
Jun 11, 2025 · Backend Development

Why SpringBoot 3.0 Dropped spring.factories and What to Use Instead

SpringBoot 3.0 removes the long‑standing spring.factories file due to performance, modularity, and GraalVM native image challenges, introduces a new imports‑file mechanism, and provides detailed migration steps, code examples, performance comparisons, and best practices for GraalVM integration.

Spring FactoriesSpringBootauto-configuration
0 likes · 21 min read
Why SpringBoot 3.0 Dropped spring.factories and What to Use Instead
Architect's Tech Stack
Architect's Tech Stack
Jun 4, 2025 · Backend Development

Retrofit Spring Boot Starter: Lightweight HTTP Client Integration with Advanced Features

This article introduces the Retrofit Spring Boot Starter, a lightweight HTTP client framework for Spring Boot that simplifies HTTP request handling, supports custom OkHttpClient injection, annotation‑based interceptors, logging, retry, error decoding, circuit‑breaker integration, connection‑pool management, global interceptors, microservice calls, and flexible call adapters and converters.

CircuitBreakerHTTPJava
0 likes · 19 min read
Retrofit Spring Boot Starter: Lightweight HTTP Client Integration with Advanced Features
Top Architect
Top Architect
Jun 4, 2025 · Backend Development

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

This article explains how to replace the default embedded Tomcat container in Spring Boot with Undertow, details the configuration steps and Maven dependencies, compares performance and memory usage between the two servers, and concludes with a recommendation for high‑concurrency applications, while also promoting related AI resources and services.

BackendJavaSpringBoot
0 likes · 10 min read
Replacing Tomcat with Undertow in Spring Boot: Configuration, Performance Comparison, and Recommendations
Selected Java Interview Questions
Selected Java Interview Questions
Jun 3, 2025 · Artificial Intelligence

Implementing OCR in Java with SpringBoot and Tess4j

This article demonstrates how to build a lightweight OCR service in Java using SpringBoot and the Tess4j library, covering dependency setup, Tesseract engine initialization, RESTful API creation, training data options, and deployment considerations.

Image ProcessingOCRRESTful API
0 likes · 7 min read
Implementing OCR in Java with SpringBoot and Tess4j
Top Architect
Top Architect
May 26, 2025 · Databases

Design and Implementation of MySQL Table Sharding with ShardingSphere and Spring Boot

This article walks through the full process of designing, configuring, and implementing a sharding solution for large loan and repayment tables using ShardingSphere, Spring Boot 3, MySQL, and MyBatis‑Plus, covering schema planning, data migration, DBA coordination, code examples, common pitfalls, and operational considerations.

BackendSpringBootcode
0 likes · 19 min read
Design and Implementation of MySQL Table Sharding with ShardingSphere and Spring Boot
Java Web Project
Java Web Project
May 26, 2025 · Backend Development

How to Integrate WebSocket with Spring Boot for Real‑Time Messaging

This guide walks through the problem of server‑initiated push in a Spring Boot project, explains why WebSocket is needed over HTTP, and provides step‑by‑step Maven setup, configuration classes, controller code, a test HTML page, and troubleshooting tips for proper initialization.

BackendJavaMessaging
0 likes · 12 min read
How to Integrate WebSocket with Spring Boot for Real‑Time Messaging
Java Architect Essentials
Java Architect Essentials
May 25, 2025 · Backend Development

Simplifying Asynchronous Tasks in Spring Boot with @Async Annotation

Spring Boot's @Async annotation enables developers to replace manual thread and thread‑pool management with simple method annotations, providing automatic asynchronous execution, customizable thread pools, and flexible return types such as Future and CompletableFuture, thereby streamlining code, improving efficiency, and reducing complexity in backend services.

AsyncJavaSpringBoot
0 likes · 7 min read
Simplifying Asynchronous Tasks in Spring Boot with @Async Annotation
Su San Talks Tech
Su San Talks Tech
May 24, 2025 · Backend Development

12 Proven SpringBoot Performance Hacks to Boost Your API Speed

Discover twelve practical SpringBoot performance optimization techniques—from connection pool tuning and JVM memory settings to caching, async processing, and full‑stack monitoring—each illustrated with code snippets and actionable guidance to prevent full‑table scans, OOM errors, and latency spikes in high‑traffic applications.

JVMJavaPerformance Optimization
0 likes · 13 min read
12 Proven SpringBoot Performance Hacks to Boost Your API Speed
Java Architect Essentials
Java Architect Essentials
May 23, 2025 · Backend Development

Master SpringBoot Caching: How @Cacheable Simplifies Cache Management

This article explains how SpringBoot’s @Cacheable annotation automates cache handling, reducing boilerplate code, improving performance, and simplifying maintenance, while also covering related annotations like @CacheEvict and @CachePut, with practical code examples for user and product data caching in real-world applications.

@CacheableBackendJava
0 likes · 6 min read
Master SpringBoot Caching: How @Cacheable Simplifies Cache Management
Java Architect Essentials
Java Architect Essentials
May 21, 2025 · Backend Development

How @Slf4j Instantly Simplifies Logging in Spring Boot

This article explains why repetitive logger boilerplate in Spring Boot is a problem, introduces Lombok's @Slf4j annotation that auto‑generates a logger, shows basic and advanced usage with code examples, and outlines the benefits for real‑world backend projects.

BackendJavaLombok
0 likes · 7 min read
How @Slf4j Instantly Simplifies Logging in Spring Boot
Java Architect Essentials
Java Architect Essentials
May 20, 2025 · Backend Development

How @ModelAttribute Simplifies SpringBoot Form Data Binding

When handling complex forms in SpringBoot, developers often write repetitive code to extract each field, but the @ModelAttribute annotation automatically binds all form parameters to Java objects, reducing boilerplate, improving readability, and supporting custom binding scenarios.

@ModelAttributeBackend DevelopmentForm Binding
0 likes · 7 min read
How @ModelAttribute Simplifies SpringBoot Form Data Binding
Architect
Architect
May 20, 2025 · Backend Development

Why Is Spring Boot So Slow to Start? A Deep Dive into Its Startup Process

This article analyses why Spring Boot startup can take dozens of seconds, breaks down the most time‑consuming phases such as prepareEnvironment and refreshContext, shows profiling code and screenshots, compares a simple MVC demo with a real‑world project, and identifies external client connections and configuration loading as the biggest bottlenecks.

Backend DevelopmentJavaPerformance Optimization
0 likes · 13 min read
Why Is Spring Boot So Slow to Start? A Deep Dive into Its Startup Process
Top Architecture Tech Stack
Top Architecture Tech Stack
May 20, 2025 · Backend Development

Global Exception Handling in Spring Boot: Techniques and Code Examples

This article explains how to efficiently handle exceptions in Spring Boot applications by using @ControllerAdvice and @ExceptionHandler annotations, providing step-by-step code examples for custom global exception classes, error response structures, and handling specific exceptions such as business, null pointer, and type conversion errors.

BackendJavaSpringBoot
0 likes · 9 min read
Global Exception Handling in Spring Boot: Techniques and Code Examples
Java Architect Essentials
Java Architect Essentials
May 17, 2025 · Backend Development

Simplify SpringBoot Time Handling with @DateTimeFormat Annotation

This article explains how SpringBoot’s @DateTimeFormat annotation automatically converts timestamps and date strings to Date, LocalDate, or LocalDateTime objects, eliminating manual parsing code, and provides practical examples ranging from simple date parameters to custom datetime patterns for more efficient backend development.

@DateTimeFormatBackend DevelopmentJava
0 likes · 7 min read
Simplify SpringBoot Time Handling with @DateTimeFormat Annotation
Java Architect Essentials
Java Architect Essentials
May 16, 2025 · Backend Development

Simplifying Session Management in Spring Boot with @SessionAttributes

Spring Boot's @SessionAttributes annotation enables automatic session data handling, eliminating repetitive HttpSession code, simplifying development, improving maintainability, and supporting multi-attribute management and cleanup, as demonstrated through detailed examples and best practices for user login and shopping cart scenarios.

@SessionAttributesBackendJava
0 likes · 7 min read
Simplifying Session Management in Spring Boot with @SessionAttributes
Java Architect Essentials
Java Architect Essentials
May 15, 2025 · Backend Development

How @PageableDefault Simplifies SpringBoot Pagination

The article explains how the SpringBoot @PageableDefault annotation automatically provides default pagination parameters, reducing boilerplate code, improving readability, and offering flexible control for various query endpoints in Java backend development.

BackendJavaSpringBoot
0 likes · 6 min read
How @PageableDefault Simplifies SpringBoot Pagination
Java Architect Essentials
Java Architect Essentials
May 14, 2025 · Backend Development

Master SpringBoot @RequestHeader: Simplify HTTP Header Binding

This article explains how SpringBoot's @RequestHeader annotation automatically binds HTTP request headers to controller method parameters, reducing boilerplate code, supporting default values and optional headers, and improving readability and development efficiency with clear code examples.

@RequestHeaderBackendJava
0 likes · 6 min read
Master SpringBoot @RequestHeader: Simplify HTTP Header Binding
Java Captain
Java Captain
May 14, 2025 · Databases

Guide to Setting Up ShardingSphere with Docker for Database Sharding, Read‑Write Splitting, and SpringBoot Integration

This guide demonstrates how to set up Docker‑based MySQL instances, configure ShardingSphere‑Proxy for database sharding and read‑write splitting, and integrate ShardingSphere‑JDBC with SpringBoot 2.x using YAML configurations and Maven dependencies, providing complete code snippets and default connection details.

DockerShardingSphereSpringBoot
0 likes · 11 min read
Guide to Setting Up ShardingSphere with Docker for Database Sharding, Read‑Write Splitting, and SpringBoot Integration
Java Tech Enthusiast
Java Tech Enthusiast
May 14, 2025 · Backend Development

Understanding SpringBoot Interceptors: Filters, HandlerInterceptor, AOP, RestTemplate, Feign, and WebFilter

This article introduces the six main types of interceptors in SpringBoot—Filter, HandlerInterceptor, AOP, RestTemplate, Feign, and WebFilter—explaining their typical use‑cases, implementation details, common pitfalls, and best‑practice ordering to help developers choose the right tool for each scenario.

Backend DevelopmentInterceptorJava
0 likes · 8 min read
Understanding SpringBoot Interceptors: Filters, HandlerInterceptor, AOP, RestTemplate, Feign, and WebFilter
Java Architect Essentials
Java Architect Essentials
May 8, 2025 · Backend Development

How @Encrypt Simplifies API Security in SpringBoot

This article explains how the @Encrypt annotation in SpringBoot can automatically handle encryption and decryption of sensitive API parameters, eliminating repetitive manual code, improving maintainability, and allowing custom encryption strategies for real‑world applications.

API SecurityJavaSpringBoot
0 likes · 7 min read
How @Encrypt Simplifies API Security in SpringBoot
Architecture Digest
Architecture Digest
May 7, 2025 · Backend Development

Analyzing Why Spring Boot Startup Is Slow: Detailed Breakdown and Profiling

This article investigates the reasons behind Spring Boot's slow startup by tracing the execution timeline, examining the prepareEnvironment and refreshContext phases, profiling bean creation, configuration loading, and external client initialization, and provides sample Java code for measuring and visualizing each step.

JavaProfilingSpringBoot
0 likes · 13 min read
Analyzing Why Spring Boot Startup Is Slow: Detailed Breakdown and Profiling
Java Architect Essentials
Java Architect Essentials
May 6, 2025 · Backend Development

How @Authenticated Simplifies SpringBoot API Security

The article explains how the @Authenticated annotation in SpringBoot can replace repetitive manual authentication code, offering automatic request validation, role‑based checks, and streamlined error handling, with practical examples and a clear list of benefits for developers.

API SecurityAuthenticationBackend
0 likes · 7 min read
How @Authenticated Simplifies SpringBoot API Security
Java Architect Essentials
Java Architect Essentials
May 4, 2025 · Backend Development

Mastering Request Timeouts in SpringBoot with @Timeout Annotation

Learn how the @Timeout annotation in SpringBoot simplifies request timeout management by eliminating repetitive configuration code, offering automatic timeout control, customizable fallback methods, and improved maintainability, with practical examples and step-by-step guidance for integrating it into your APIs.

BackendJavaSpringBoot
0 likes · 7 min read
Mastering Request Timeouts in SpringBoot with @Timeout Annotation
Java Architect Essentials
Java Architect Essentials
May 3, 2025 · Backend Development

Simplifying CORS Handling in Spring Boot with the @CrossOrigin Annotation

Spring Boot developers can eliminate complex CORS configurations by applying the @CrossOrigin annotation directly on controllers or methods, which simplifies cross‑origin request handling, supports custom origins, methods, and headers, and can be globally configured for consistent, secure API access across environments.

CORSJavaSpringBoot
0 likes · 8 min read
Simplifying CORS Handling in Spring Boot with the @CrossOrigin Annotation
Java Architect Essentials
Java Architect Essentials
May 2, 2025 · Backend Development

Simplifying Request Parameter Binding in SpringBoot with @RequestParam

This article explains how the @RequestParam annotation in SpringBoot automatically binds request parameters—whether from forms, query strings, or URLs—to controller method arguments, reducing boilerplate code, improving readability, and enhancing development efficiency, with practical code examples and advanced usage tips.

JavaParameterBindingRequestParam
0 likes · 8 min read
Simplifying Request Parameter Binding in SpringBoot with @RequestParam
Java Captain
Java Captain
May 2, 2025 · Databases

Implementing Dynamic MySQL Master‑Slave Switching in SpringBoot Using AOP and Custom Annotations

This article demonstrates how to use SpringBoot 3.0.4 with AOP and a custom @DataSource annotation to dynamically switch between MySQL master and slave databases, ensuring high availability by automatically falling back to the master when a slave fails, and provides configuration and code examples for multiple data sources.

Database SwitchingSpringBootaop
0 likes · 14 min read
Implementing Dynamic MySQL Master‑Slave Switching in SpringBoot Using AOP and Custom Annotations
Java Architect Essentials
Java Architect Essentials
Apr 28, 2025 · Backend Development

Simplifying SpringBoot Controllers with the @RestController Annotation

The article explains how using SpringBoot's @RestController annotation can replace the verbose combination of @Controller and @ResponseBody, reducing configuration overhead, aligning with convention‑over‑configuration principles, and streamlining backend development for faster, cleaner API implementations.

JavaRestControllerSpringBoot
0 likes · 7 min read
Simplifying SpringBoot Controllers with the @RestController Annotation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 27, 2025 · Backend Development

Implementing MCP over SSE/HTTP in a SpringBoot Backend

This article explains how to extend an open‑source smart production management system with MCP support by creating SSE/HTTP endpoints, a token‑based MAP, and a McpService that scans, executes, and pushes results, and demonstrates client configuration using CherryStudio.

BackendHTTPMCP
0 likes · 6 min read
Implementing MCP over SSE/HTTP in a SpringBoot Backend
Selected Java Interview Questions
Selected Java Interview Questions
Apr 25, 2025 · Backend Development

Applying a Flow Engine and Plugin Extension Engine for Business Isolation and Extensibility in Backend Systems

The article explains why over‑designing with workflow orchestration is harmful, introduces a flow‑engine and plugin‑extension approach to achieve clean code isolation and easy business extension, and provides concrete Java examples from the open‑source MemberClub project.

Backend ArchitectureSpringBootflow engine
0 likes · 10 min read
Applying a Flow Engine and Plugin Extension Engine for Business Isolation and Extensibility in Backend Systems
Selected Java Interview Questions
Selected Java Interview Questions
Apr 22, 2025 · Backend Development

Generating and Merging PDF Invoices with iTextPdf in Java

This article explains how to use the iTextPdf library in a Java SpringBoot project to create PDF invoice templates, fill fixed and dynamic product data, merge multiple PDFs, and output the final document, providing full Maven dependencies, code examples, and implementation steps.

Backend DevelopmentSpringBootiTextPDF
0 likes · 12 min read
Generating and Merging PDF Invoices with iTextPdf in Java
Java Captain
Java Captain
Apr 22, 2025 · Backend Development

Implementing Asynchronous Calls in SpringBoot with @Async

This article explains why asynchronous programming improves concurrency in SpringBoot applications, describes how to enable @Async support, configure a custom ThreadPoolTaskExecutor, annotate methods for async execution, and outlines the underlying proxy mechanism that powers @Async.

AsyncAsyncJava
0 likes · 5 min read
Implementing Asynchronous Calls in SpringBoot with @Async
Java Captain
Java Captain
Apr 20, 2025 · Backend Development

Dynamic Adjustment of Scheduled Tasks in SpringBoot Using ThreadPoolTaskScheduler

This article explains how to dynamically modify the execution time of SpringBoot scheduled tasks by combining ScheduledTaskRegistrar with ThreadPoolTaskScheduler, decoupling business logic from triggers, and provides complete code examples for adding, updating, and removing tasks at runtime.

Backend DevelopmentDynamic SchedulingJava
0 likes · 9 min read
Dynamic Adjustment of Scheduled Tasks in SpringBoot Using ThreadPoolTaskScheduler
Code Ape Tech Column
Code Ape Tech Column
Apr 18, 2025 · Backend Development

Dynamic Cron Expression Management in SpringBoot Scheduling

This article explains how to enable SpringBoot scheduling with @EnableScheduling and @Scheduled, describes the three scheduling modes (cron, fixedDelay, fixedRate), and provides a complete solution for dynamically updating, disabling, and re‑enabling Cron expressions at runtime using custom interfaces and configuration classes.

BackendJavaScheduling
0 likes · 10 min read
Dynamic Cron Expression Management in SpringBoot Scheduling
Architect
Architect
Apr 16, 2025 · Backend Development

Flow Engine and Plugin Extension Engine for Business Isolation and Extensibility in MemberClub

The article explains how the MemberClub open‑source project leverages a flow engine and plugin extension engine to achieve business code isolation and extensibility, illustrating the problems of if‑else branching in multi‑business systems, providing configuration examples, execution principles, and Java code snippets.

Business IsolationJavaSpringBoot
0 likes · 8 min read
Flow Engine and Plugin Extension Engine for Business Isolation and Extensibility in MemberClub
Java Tech Enthusiast
Java Tech Enthusiast
Apr 15, 2025 · Backend Development

Four Techniques for Handling CORS in SpringBoot Applications

The article explains what CORS is and presents four main approaches—using simple and pre‑flight request headers, configuring Nginx as a reverse proxy, adding a SpringBoot CorsConfig or CorsFilter bean, and delegating CORS to an API gateway—so developers can resolve cross‑origin issues in SpringBoot applications.

BackendCORSConfiguration
0 likes · 5 min read
Four Techniques for Handling CORS in SpringBoot Applications
Java Architect Essentials
Java Architect Essentials
Apr 10, 2025 · Backend Development

Master Dynamic Data Source Switching in SpringBoot: A Step‑by‑Step Guide

This article walks through the complete process of implementing dynamic data source switching in a SpringBoot application, covering the core concepts of thread‑local context, abstract routing, custom annotations with AOP, configuration, code examples, and important considerations such as transaction management and performance.

JavaSpringBootThreadLocal
0 likes · 6 min read
Master Dynamic Data Source Switching in SpringBoot: A Step‑by‑Step Guide
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 10, 2025 · Backend Development

Hands‑On Guide: Build Your Own Code Generator (Can You Keep Up?)

This article walks through why repetitive CRUD code wastes development time, reviews existing generators like MyBatis‑Generator and MyBatis‑Plus, and then demonstrates step‑by‑step how to create a custom Java code generator using Freemarker, Maven, and SpringBoot, complete with template and demo code.

Code GenerationFreemarkerJava
0 likes · 11 min read
Hands‑On Guide: Build Your Own Code Generator (Can You Keep Up?)
Java Captain
Java Captain
Apr 9, 2025 · Backend Development

Implementing Dynamic MySQL Master‑Slave Data Source Switching in SpringBoot with AOP and Custom Annotations

This tutorial explains how to use SpringBoot, AOP, and a custom @DataSource annotation to dynamically switch between MySQL master and slave databases—covering configuration, code implementation, multiple slave handling, and an Oracle example—to ensure high availability and flexible data source management.

JavaMaster‑SlaveMulti-DataSource
0 likes · 13 min read
Implementing Dynamic MySQL Master‑Slave Data Source Switching in SpringBoot with AOP and Custom Annotations
Java Backend Technology
Java Backend Technology
Apr 9, 2025 · Backend Development

Master Spring Annotations: From @RequestMapping to @Conditional – A Complete Backend Guide

This comprehensive guide explains the most common Spring MVC and Spring Boot annotations—including @RequestMapping, @GetMapping, @Autowired, @Component, @Scope, and conditional annotations—detailing their purposes, configuration attributes, and practical code examples to help Java backend developers write cleaner, more maintainable code.

BackendDependencyInjectionSpringBoot
0 likes · 14 min read
Master Spring Annotations: From @RequestMapping to @Conditional – A Complete Backend Guide
Java Architect Essentials
Java Architect Essentials
Apr 7, 2025 · Backend Development

Comprehensive Guide to Using Ctrip’s Apollo Distributed Configuration Center with Spring Boot

This article provides a detailed tutorial on Apollo, Ctrip’s open‑source distributed configuration center, covering its core concepts, features, model, four‑dimensional management, client design, deployment architecture, high‑availability considerations, step‑by‑step project creation, Spring Boot integration, Kubernetes deployment, and practical testing procedures.

ApolloConfiguration ManagementKubernetes
0 likes · 26 min read
Comprehensive Guide to Using Ctrip’s Apollo Distributed Configuration Center with Spring Boot
Architect's Guide
Architect's Guide
Apr 2, 2025 · Backend Development

Implementing High‑Concurrency SecKill (Flash Sale) in SpringBoot: Locking, Transaction, and Queue Strategies

This article demonstrates how to simulate a high‑concurrency flash‑sale scenario with SpringBoot and MySQL, analyzes why naive lock‑and‑transaction code causes overselling, and presents six refined solutions—including early locking, AOP, pessimistic and optimistic database locks, blocking queues, and Disruptor queues—along with performance observations and a concise summary.

LockQueueSeckill
0 likes · 22 min read
Implementing High‑Concurrency SecKill (Flash Sale) in SpringBoot: Locking, Transaction, and Queue Strategies
Architecture Digest
Architecture Digest
Mar 28, 2025 · Backend Development

One-Click Deployment of SpringBoot Projects Using IntelliJ IDEA and Docker

This tutorial demonstrates how to configure IntelliJ IDEA for remote one‑click deployment of a SpringBoot application with Docker, covering environment setup, SSH and Docker daemon configuration, Dockerfile creation, Maven build steps, firewall adjustments, and troubleshooting common deployment issues.

DevOpsDockerIntelliJ IDEA
0 likes · 8 min read
One-Click Deployment of SpringBoot Projects Using IntelliJ IDEA and Docker
Top Architect
Top Architect
Mar 27, 2025 · Backend Development

Why SpringBoot 3.0 Removed spring.factories and Introduced the Imports Mechanism

SpringBoot 3.0 eliminates the long‑standing spring.factories file due to startup performance penalties, lack of modular support, static configuration limits, and incompatibility with GraalVM native images, and replaces it with a set of imports files that provide clearer, faster, and more modular auto‑configuration registration.

BackendSpring FactoriesSpringBoot
0 likes · 15 min read
Why SpringBoot 3.0 Removed spring.factories and Introduced the Imports Mechanism
Java Backend Technology
Java Backend Technology
Mar 26, 2025 · Databases

Why UUID Primary Keys Slow Down MySQL Inserts: A Performance Deep Dive

This article investigates why MySQL discourages UUID or non‑sequential Snowflake IDs as primary keys, compares auto_increment, UUID, and random‑key tables through SpringBoot‑JdbcTemplate benchmarks, analyzes their index structures, and explains the performance trade‑offs and security considerations.

SpringBootauto_incrementindexing
0 likes · 10 min read
Why UUID Primary Keys Slow Down MySQL Inserts: A Performance Deep Dive
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 26, 2025 · Backend Development

Global Exception Handling in SpringBoot: Custom Handlers, Enums, and Response Wrappers

This article explains how to implement unified global exception handling in SpringBoot by using @ControllerAdvice with @ExceptionHandler, defining a base error interface, custom enums, exception classes, and a standardized response wrapper, while also providing test code examples and best‑practice recommendations.

CustomExceptionGlobalExceptionJava
0 likes · 10 min read
Global Exception Handling in SpringBoot: Custom Handlers, Enums, and Response Wrappers