Tagged articles
5000 articles
Page 15 of 50
Java Architect Essentials
Java Architect Essentials
Jul 15, 2025 · Fundamentals

Avoid Constructor Pitfalls and Cut Code in Half with Builder Pattern

This article explains common constructor mistakes such as starting threads, calling overridable methods, and using too many parameters, demonstrates how the Builder pattern and default-value constructors can dramatically reduce boilerplate, improve readability and performance, and offers practical guidelines for safe constructor design.

Builder PatternCode RefactoringConstructor
0 likes · 6 min read
Avoid Constructor Pitfalls and Cut Code in Half with Builder Pattern
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.

MyBatis-FlexORMdatabase
0 likes · 9 min read
Why MyBatis-Flex Outperforms MyBatis-Plus: Features, Benchmarks, and Quick Start
Su San Talks Tech
Su San Talks Tech
Jul 15, 2025 · Information Security

Master the 7 Most Essential Encryption Algorithms for Secure Systems

Explore the seven most commonly used encryption algorithms—including MD5, SHA families, HMAC, AES, DES/3DES, RSA, and DSA—detailing their principles, Java implementations, performance, and practical security guidelines, while highlighting real-world attack scenarios and best‑practice recommendations for robust information protection.

HashingInformation Securityasymmetric encryption
0 likes · 9 min read
Master the 7 Most Essential Encryption Algorithms for Secure Systems
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.

ActuatorGraceful Shutdownjava
0 likes · 6 min read
Mastering Graceful Shutdown in Spring Boot 2.3: A Complete Guide
Tech Freedom Circle
Tech Freedom Circle
Jul 15, 2025 · Databases

One‑Order Four‑Split: Solving MySQL Deadlocks in Million‑Row Imports

During massive daily imports of up to one million reconciliation records, MySQL deadlocks can cripple performance; this article dissects the four classic deadlock conditions, then presents a systematic “One‑Order Four‑Split” strategy—ordered writes, transaction splitting, index management, partitioning, and gap‑lock removal—backed by benchmarks, code samples, and configuration tweaks that cut lock rates by up to 90% and reduce batch times to under ten minutes.

Batch InsertIndex OptimizationPartitioning
0 likes · 27 min read
One‑Order Four‑Split: Solving MySQL Deadlocks in Million‑Row Imports
Lin is Dream
Lin is Dream
Jul 15, 2025 · Backend Development

Stream Real‑Time File Import Progress with Spring WebFlux and SSE

This article shows how to replace inefficient front‑end polling with a Spring WebFlux server‑sent events (SSE) solution that pushes file‑import progress to the browser in real time, providing complete code for the progress service, import logic, controller, and a vanilla‑JS front‑end example, plus deployment tips.

File ImportSSEjava
0 likes · 9 min read
Stream Real‑Time File Import Progress with Spring WebFlux and SSE
FunTester
FunTester
Jul 15, 2025 · Backend Development

How to Use JMH for Precise Java Microbenchmarking and Performance Optimization

This article explains microbenchmarking concepts, demonstrates how to use the Java Microbenchmark Harness (JMH) to accurately measure and compare the performance of specific code snippets such as synchronized methods, and provides practical guidance for integrating JMH into Java projects for reliable performance testing and regression analysis.

JMHMicrobenchmarkingPerformance Testing
0 likes · 11 min read
How to Use JMH for Precise Java Microbenchmarking and Performance Optimization
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.

javaperformance tuningspring-boot
0 likes · 11 min read
9 Proven Ways to Speed Up Spring Boot 3 Startup Time
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 DesignSpringBoot
0 likes · 29 min read
Master Domain-Driven Design: From Theory to a Real SpringBoot Project
macrozheng
macrozheng
Jul 14, 2025 · Backend Development

Master Spring Batch: Core Concepts, Architecture, and Best Practices

This article provides a comprehensive guide to Spring Batch, covering its purpose, architecture, core components such as Job, Step, ItemReader/Writer/Processor, chunk processing, skip strategies, and practical tips for configuring and optimizing batch jobs in Java applications.

Batch ProcessingChunkJob
0 likes · 21 min read
Master Spring Batch: Core Concepts, Architecture, and Best Practices
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.

Code ExamplesSpring FrameworkUtility Classes
0 likes · 17 min read
Unlock 24 Powerful Spring Boot Utilities with Real‑World Code Samples
Programmer Null's Self-Cultivation
Programmer Null's Self-Cultivation
Jul 13, 2025 · Backend Development

Unlocking the Secrets of Java’s ConcurrentHashMap: From JDK 7 to JDK 8

This article provides a comprehensive, step‑by‑step analysis of Java's ConcurrentHashMap, covering its evolution from JDK 7’s segment‑lock design to JDK 8’s bucket‑level CAS and synchronized approach, complete with macro diagrams, microscopic source‑code walkthroughs, hash calculations, resizing mechanisms, and practical usage tips.

ConcurrentHashMapHashMapJDK7
0 likes · 16 min read
Unlocking the Secrets of Java’s ConcurrentHashMap: From JDK 7 to JDK 8
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.

OCROpenCVSpringBoot
0 likes · 8 min read
Build a Java SpringBoot 3.x License Plate Recognition System with OCR
Architect's Guide
Architect's Guide
Jul 13, 2025 · Backend Development

Static vs Dynamic Proxy in Java: When and How to Use Each

This article explains the differences between static and dynamic proxies in Java, demonstrates how to implement static proxies, JDK dynamic proxies, and CGLib proxies with complete code examples, and compares their advantages, limitations, and typical use cases in backend development.

Dynamic ProxyJDKProxy
0 likes · 9 min read
Static vs Dynamic Proxy in Java: When and How to Use Each
Top Architect
Top Architect
Jul 12, 2025 · Cloud Native

How Nacos Implements Long‑Polling for Dynamic Config Updates

This article explains Nacos Config Center's long‑polling mechanism, detailing both client‑side scheduling and server‑side handling, with code walkthroughs, architecture diagrams, and the flow of configuration change detection and notification.

Configuration Managementjavalong polling
0 likes · 18 min read
How Nacos Implements Long‑Polling for Dynamic Config Updates
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.

APIHTTPOkHttp
0 likes · 10 min read
Mastering OKHttpUtil: Simplify Java HTTP Requests with Ready‑to‑Use Code
Java Captain
Java Captain
Jul 12, 2025 · Operations

Master JVM Tuning: Practical Guide to Setting Memory and GC Parameters

This article walks through essential JVM memory and garbage‑collection settings, explaining each flag—such as -Xms, -Xmx, -XX:NewSize, and GC options—through a concrete example on an 8 GB server, and provides a complete command line configuration for optimal performance and OOM diagnostics.

Garbage CollectionJVMMemory Tuning
0 likes · 7 min read
Master JVM Tuning: Practical Guide to Setting Memory and GC Parameters
Alibaba Cloud Native
Alibaba Cloud Native
Jul 12, 2025 · Artificial Intelligence

Transform Dify Low‑Code AI Workflows into High‑Performance Spring AI Alibaba Projects

This article demonstrates how to convert a Dify‑built product‑review classification workflow into a Spring AI Alibaba project, detailing the visual design in Dify, DSL export, code generation via Studio or CLI, and showcasing performance gains, flexibility improvements, and practical deployment steps.

AI workflowDifySpring AI Alibaba
0 likes · 11 min read
Transform Dify Low‑Code AI Workflows into High‑Performance Spring AI Alibaba Projects
Cognitive Technology Team
Cognitive Technology Team
Jul 12, 2025 · Backend Development

Mastering Apache HttpClient Connection Pool: Limits, Pitfalls, and Optimization

This article explores Apache HttpClient’s connection pool mechanism, detailing key parameters such as maxConnTotal, maxConnPerRoute, and timeToLive, explains how connections are allocated and reused, highlights common misconfigurations, and provides best‑practice tuning recommendations for high‑concurrency Java applications.

Apache HttpClientConnection Poolconcurrency
0 likes · 9 min read
Mastering Apache HttpClient Connection Pool: Limits, Pitfalls, and Optimization
Java One
Java One
Jul 12, 2025 · Backend Development

Mastering Alibaba Sentinel: Flow Control, Circuit Breaking, and Hotspot Rules in Production

This guide walks through Alibaba Sentinel's core protection strategies—flow‑control rules (including QPS and concurrency limits, modes, and effects), circuit‑breaker mechanisms (principles and three strategies), and hotspot parameter limiting—providing detailed configuration steps, code samples, and visual illustrations for real‑world microservice environments.

Alibaba SentinelFlow ControlHotspot Limiting
0 likes · 18 min read
Mastering Alibaba Sentinel: Flow Control, Circuit Breaking, and Hotspot Rules in Production
Java Architect Essentials
Java Architect Essentials
Jul 12, 2025 · Backend Development

Why Reactive Programming Fails Without Backpressure and How to Fix It

During high‑traffic spikes, traditional servlet‑based services often crash due to thread‑pool exhaustion, while reactive systems using Reactor can still fail if backpressure is ignored; this article explains the pitfalls, compares models, and provides practical backpressure solutions such as dynamic rate limiting, bounded buffering, and circuit breaking.

Circuit BreakingReactorbackpressure
0 likes · 11 min read
Why Reactive Programming Fails Without Backpressure and How to Fix It
Cognitive Technology Team
Cognitive Technology Team
Jul 12, 2025 · Backend Development

Java 25 Unveiled: Key Language, API, and Performance Enhancements

Java 25, the upcoming LTS release slated for September 2025, introduces a suite of language and compiler upgrades such as pattern matching for primitive types, module import declarations, flexible constructor bodies, compact source files, plus new APIs like ScopedValue, Structured Concurrency, Vector, PEM handling, and numerous performance and platform improvements, all illustrated with practical code examples.

API EnhancementsJDKJava 25
0 likes · 19 min read
Java 25 Unveiled: Key Language, API, and Performance Enhancements
Architecture Digest
Architecture Digest
Jul 11, 2025 · Fundamentals

Master CheckStyle in IntelliJ: A Step‑by‑Step Guide to Clean Java Code

This article walks you through installing and configuring the CheckStyle plugin in IntelliJ IDEA, importing coding standards such as Alibaba's, running checks on Java classes, and troubleshooting common errors like missing annotations, formatting issues, and import order problems, all illustrated with screenshots.

Alibaba styleIntelliJ IDEAcheckstyle
0 likes · 5 min read
Master CheckStyle in IntelliJ: A Step‑by‑Step Guide to Clean Java Code
Lin is Dream
Lin is Dream
Jul 11, 2025 · Backend Development

Mastering Spring WebFlux: Real‑Time Data Streaming with Flux

This article explains why the traditional Spring MVC request‑response model struggles with real‑time scenarios and shows how WebFlux and its Flux API enable server‑side data streaming, concurrent aggregation, and progressive updates for use cases such as infinite scrolling, import progress, and live notifications.

Fluxjavareactive-programming
0 likes · 10 min read
Mastering Spring WebFlux: Real‑Time Data Streaming with Flux
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.

BackendBidirectional relationshipJSON recursion
0 likes · 9 min read
How to Solve Spring Boot Bidirectional JSON Recursion with 6 Jackson Techniques
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.

Aspect Oriented Programmingaopbackend-development
0 likes · 6 min read
Mastering AOP in Spring Boot: From Basics to Practical Code
Java One
Java One
Jul 9, 2025 · Backend Development

Mastering Spring Alibaba Sentinel: Architecture, Flow Control, and Custom Error Handling

This tutorial walks through the core concepts of Spring Alibaba Sentinel, covering its architecture, resource and rule management, step‑by‑step integration into Spring Cloud projects, flow‑control configuration, custom exception handling with @SentinelResource, and advanced OpenFeign support, all illustrated with code snippets and diagrams.

FlowControlMicroservicesexceptionhandling
0 likes · 15 min read
Mastering Spring Alibaba Sentinel: Architecture, Flow Control, and Custom Error Handling
The Dominant Programmer
The Dominant Programmer
Jul 9, 2025 · Fundamentals

Understanding Java Memory Model (JMM): Core Concepts and Guarantees

This article explains the Java Memory Model (JMM), detailing its purpose, the distinction from JVM memory structure, the eight memory interaction operations, the happens‑before principle, memory barriers, and common pitfalls such as double‑checked locking and visibility bugs, with concrete code examples.

Happens-beforeJMMMemory Model
0 likes · 12 min read
Understanding Java Memory Model (JMM): Core Concepts and Guarantees
The Dominant Programmer
The Dominant Programmer
Jul 9, 2025 · Fundamentals

Mastering Java Thread Communication: volatile, synchronized, wait/notify, and Piped Streams

This article explains how Java threads interact using volatile for visibility, synchronized blocks for mutual exclusion, wait/notify (and Condition) for coordination, piped streams for one‑way byte communication, as well as Thread.join and ThreadLocal utilities, providing concrete code examples, best‑practice guidelines, and performance considerations.

PipedStreamThreadLocalconcurrency
0 likes · 23 min read
Mastering Java Thread Communication: volatile, synchronized, wait/notify, and Piped Streams
The Dominant Programmer
The Dominant Programmer
Jul 9, 2025 · Backend Development

Understanding Java Concurrency Locks: synchronized, ReentrantLock, ReadWriteLock, and StampedLock

This article explains Java 8's built‑in lock mechanisms—including synchronized, ReentrantLock, ReadWriteLock, and StampedLock—detailing their characteristics, advanced features, and practical usage through inventory, banking, and order‑processing examples with complete code demonstrations.

ConditionLocksReadWriteLock
0 likes · 22 min read
Understanding Java Concurrency Locks: synchronized, ReentrantLock, ReadWriteLock, and StampedLock
Lin is Dream
Lin is Dream
Jul 9, 2025 · Backend Development

Mastering Reactive Streaming with Spring WebFlux: Build Real‑Time APIs Like DeepSeek

This article explains how traditional synchronous JSON responses differ from modern streaming responses, introduces reactive programming concepts, and shows step‑by‑step how to implement non‑blocking, high‑throughput APIs using Spring WebFlux, Mono/Flux, SSE, WebSocket, and related protocols.

Server-Sent EventsStreaming APIjava
0 likes · 10 min read
Mastering Reactive Streaming with Spring WebFlux: Build Real‑Time APIs Like DeepSeek
Cognitive Technology Team
Cognitive Technology Team
Jul 8, 2025 · Backend Development

How to Register Spring Beans at Runtime: A Step‑by‑Step Guide

This tutorial explains multiple ways to register Spring beans dynamically at runtime, covering BeanDefinitionRegistryPostProcessor implementation, programmatic bean creation with BeanDefinitionBuilder, ApplicationContextInitializer usage, BeanFactory registration, and direct BeanDefinitionRegistry manipulation, complete with code examples and configuration details.

Backendbeandependency-injection
0 likes · 7 min read
How to Register Spring Beans at Runtime: A Step‑by‑Step Guide
Tech Freedom Circle
Tech Freedom Circle
Jul 8, 2025 · Backend Development

How to Diagnose and Prevent Java Deadlocks (Alibaba & Other Big‑Company Interviews)

This article explains what a deadlock is, the four necessary conditions that cause it, demonstrates classic synchronized‑based and Lock‑based deadlock examples in Java, shows how to detect deadlocks with tools such as Arthas, jstack, jvisualvm and JMC, and provides practical strategies—including lock ordering, timeout locks, and two‑phase locking—to break each condition and avoid deadlocks in production code.

ArthasLockconcurrency
0 likes · 24 min read
How to Diagnose and Prevent Java Deadlocks (Alibaba & Other Big‑Company Interviews)
Lin is Dream
Lin is Dream
Jul 8, 2025 · Databases

How Bloom Filters Supercharge Redis: From BitSet to Redisson

This article explains the Bloom filter data structure, its hash‑based design and false‑positive behavior, then demonstrates practical implementations using Java BitSet, Guava, and Redisson, covering initialization, configuration, usage tips, and performance considerations for Redis bitmap storage.

BitsetData StructuresGuava
0 likes · 13 min read
How Bloom Filters Supercharge Redis: From BitSet to Redisson
Big Data Technology Tribe
Big Data Technology Tribe
Jul 8, 2025 · Operations

Mastering Retry Strategies: Why Exponential Backoff Is Essential for Reliable Systems

This article explains the purpose of retry mechanisms, why exponential backoff is crucial for handling transient failures, compares common backoff strategies, details key parameters such as base delay, max delay, multiplier and jitter, and provides a Java example that demonstrates their practical effects.

Distributed SystemsRetryexponential backoff
0 likes · 6 min read
Mastering Retry Strategies: Why Exponential Backoff Is Essential for Reliable Systems
Java Backend Technology
Java Backend Technology
Jul 7, 2025 · Backend Development

Master Dynamic JSON Fields in Java with @JsonAnyGetter and @JsonAnySetter

This article explains how Jackson's @JsonAnySetter and @JsonAnyGetter annotations let Java classes gracefully handle unknown JSON properties by collecting them into a map during deserialization and emitting them as regular fields during serialization, complete with practical code examples and usage tips.

DeserializationDynamicPropertiesJSON
0 likes · 7 min read
Master Dynamic JSON Fields in Java with @JsonAnyGetter and @JsonAnySetter
Lin is Dream
Lin is Dream
Jul 7, 2025 · Backend Development

Master Sliding‑Window Rate Limiting with Redis Sorted Sets

This article explains how to implement a precise sliding‑window rate‑limiting algorithm using Redis Sorted Sets, detailing the problem scenario, the algorithm steps, Lua script implementation, Java integration, and practical extensions for high‑performance backend services.

BackendLuaSliding Window
0 likes · 8 min read
Master Sliding‑Window Rate Limiting with Redis Sorted Sets
JakartaEE China Community
JakartaEE China Community
Jul 7, 2025 · Backend Development

Key Updates in Jakarta EE 11

Jakarta EE 11 adds record support in persistence and validation, maps java.time types, deprecates legacy date APIs, enables CDI injection for EntityManager, introduces virtual‑thread support, expands query syntax, allows Java‑based persistence unit configuration, and removes several outdated specifications such as SOAP with Attachments, XML Binding, CORBA, ManagedBean, and SecurityManager dependencies.

EnterprisePersistenceconcurrency
0 likes · 3 min read
Key Updates in Jakarta EE 11
Architecture Digest
Architecture Digest
Jul 6, 2025 · Fundamentals

Boost Java Code Quality with CheckStyle, PMD, FindBugs, SonarLint

This guide introduces essential Java code‑quality tools—including Alibaba Java Coding Guidelines, CheckStyle, PMD, FindBugs, and SonarLint—explaining their installation, usage, and key features so developers can automate static analysis, reduce bugs, and improve maintainability across projects.

checkstylecode qualityfindbugs
0 likes · 11 min read
Boost Java Code Quality with CheckStyle, PMD, FindBugs, SonarLint
IT Services Circle
IT Services Circle
Jul 6, 2025 · Backend Development

Must‑Know Spring & Java Interview Questions from Xiaomi Car Hiring

The article first marvels at the record‑breaking sales of Xiaomi's YU7 electric SUV, then provides a comprehensive set of Java and Spring interview questions—including B‑tree differences, MySQL hash indexes, ReentrantLock internals, Spring's circular‑dependency resolution, AOP principles, and Spring Cloud components—to help candidates prepare for Xiaomi's upcoming campus recruitment.

aopinterviewjava
0 likes · 24 min read
Must‑Know Spring & Java Interview Questions from Xiaomi Car Hiring
Su San Talks Tech
Su San Talks Tech
Jul 6, 2025 · Backend Development

Mastering Disruptor: High‑Performance In‑Memory Queue for Low‑Latency Java Apps

This article introduces the Disruptor in‑memory message queue—its architecture, core concepts such as Ring Buffer, Sequence, Sequencer and Wait Strategies, key features like multicast and gating, tuning options for producers and wait strategies, and provides a complete Java example to help developers build ultra‑low‑latency systems.

DisruptorIn-Memory QueueLow latency
0 likes · 10 min read
Mastering Disruptor: High‑Performance In‑Memory Queue for Low‑Latency Java Apps
Java Captain
Java Captain
Jul 6, 2025 · Backend Development

Why Choose Netty Over Java NIO? A Hands‑On Guide with Server‑Client Demo

This article explains why using raw Java NIO for network communication is problematic, highlights Netty's advantages such as simplified APIs, high performance, and extensive adoption, and provides a complete server‑client demo with detailed code and design insights.

Java NIONettyReactor Pattern
0 likes · 14 min read
Why Choose Netty Over Java NIO? A Hands‑On Guide with Server‑Client Demo
Java Architect Essentials
Java Architect Essentials
Jul 6, 2025 · Backend Development

Mastering Spring Bean Circular Dependencies: 3 Real-World Solutions

This article explains Spring's three‑level cache mechanism for resolving bean circular dependencies, dives into why the cache alone is insufficient, and presents three practical scenarios with concrete solutions such as redesigning constructors, using @Lazy, and handling AOP proxy consistency.

BackendThree-level Cachebean
0 likes · 14 min read
Mastering Spring Bean Circular Dependencies: 3 Real-World Solutions
Cognitive Technology Team
Cognitive Technology Team
Jul 5, 2025 · Backend Development

Master Maven Dependency Order to Prevent Build Conflicts

This guide explains Maven’s dependency mechanism, including transitive dependencies and mediation, demonstrates ordering problems with Apache POI and OpenCSV, shows how to detect version conflicts using Maven plugins, and provides practical tips to avoid compile‑time and runtime errors in Java projects.

Dependency MediationTransitive Dependenciesbuild tools
0 likes · 9 min read
Master Maven Dependency Order to Prevent Build Conflicts
Java Web Project
Java Web Project
Jul 5, 2025 · Backend Development

How to Hot‑Deploy User‑Provided JAR Implementations with Spring and Reflection

This article walks through building a Java interface, providing two implementation styles (Spring‑managed and pure‑reflection), loading user‑uploaded JARs at runtime, dynamically registering or removing beans in the Spring container, and testing the whole hot‑deployment cycle with concrete code examples.

Dynamic LoadingHot DeploymentJAR
0 likes · 9 min read
How to Hot‑Deploy User‑Provided JAR Implementations with Spring and Reflection
Architect
Architect
Jul 5, 2025 · Backend Development

Implementing a Robust Redis Distributed Lock with AOP and Auto-Extension in Java

Learn how to design and implement a Redis-based distributed lock in Java using custom annotations, AOP interception, and a scheduled executor to automatically extend lock expiration, ensuring safe concurrent access to critical resources while handling timeouts, retries, and thread interruptions.

aopconcurrencydistributed-lock
0 likes · 12 min read
Implementing a Robust Redis Distributed Lock with AOP and Auto-Extension in Java
Top Architect
Top Architect
Jul 5, 2025 · Databases

How I Cut XML‑to‑MySQL Import Time from 300 s to 4 s with Batch, RewriteBatchedStatements, and Multithreading

This article walks through optimizing a 60,000‑row XML‑to‑MySQL import by profiling the environment, measuring baseline performance, and applying JDBC batch rewriting, write aggregation, and asynchronous writes with LMAX Disruptor, ultimately reducing execution time from 300 seconds to about four seconds while keeping memory usage reasonable.

Batch ProcessingDisruptorJDBC
0 likes · 15 min read
How I Cut XML‑to‑MySQL Import Time from 300 s to 4 s with Batch, RewriteBatchedStatements, and Multithreading
macrozheng
macrozheng
Jul 5, 2025 · Backend Development

Why Adding a Simple Log Triggered FastJSON Serialization Errors – A Deep Dive

A recent deployment added a log line that caused FastJSON to invoke unexpected methods during serialization, leading to a NullPointerException; this article reconstructs the scenario, analyzes the FastJSON internals, and offers best‑practice annotations to prevent similar bugs.

Code reviewannotationsfastjson
0 likes · 7 min read
Why Adding a Simple Log Triggered FastJSON Serialization Errors – A Deep Dive
FunTester
FunTester
Jul 5, 2025 · Big Data

Master Kafka: Core Concepts and Performance Testing Strategies

This article explains Kafka’s high‑performance distributed streaming architecture, key components such as topics, partitions, producers, consumers, brokers, offsets, and ZooKeeper, and provides step‑by‑step workflows for producers and consumers along with performance‑testing tips and Maven setup.

Big DataKafkaMessage Queue
0 likes · 9 min read
Master Kafka: Core Concepts and Performance Testing Strategies
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 IntelligenceLanggraph4jMulti-Agent
0 likes · 10 min read
Building Multi-Agent Systems with Spring AI and Langgraph4j: A Hands‑On Guide
Java Architect Essentials
Java Architect Essentials
Jul 4, 2025 · Backend Development

5 Common Spring Transaction Pitfalls and How to Fix Them

This article explains five frequent scenarios where Spring @Transactional fails—such as internal method calls, non‑public methods, swallowed exceptions, final/static methods, and unsupported MySQL engines—and provides concrete solutions and best‑practice rules for reliable transaction management.

Backendaopjava
0 likes · 9 min read
5 Common Spring Transaction Pitfalls and How to Fix Them
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.

ConfigurationPropertiesThymeleafenum
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-loadingjava
0 likes · 9 min read
How to Load External JARs into Spring Boot: Simple 2‑Step Solutions
Alibaba Cloud Native
Alibaba Cloud Native
Jul 4, 2025 · Artificial Intelligence

Building Enterprise‑Grade AI Agents with JManus on Alibaba Cloud Serverless

This article explains how the open‑source JManus framework enables Java developers to create, configure, and deploy multi‑agent AI applications on Alibaba Cloud's Serverless SAE and Function Compute platforms, highlighting its OpenManus compatibility, MCP protocol support, PLAN‑ACT mode, high‑availability architecture, performance advantages over low‑code solutions, and step‑by‑step deployment instructions.

Alibaba CloudJManusMCP
0 likes · 10 min read
Building Enterprise‑Grade AI Agents with JManus on Alibaba Cloud Serverless
macrozheng
macrozheng
Jul 4, 2025 · Artificial Intelligence

Build Java LLM Applications with LangChain4j: A Hands‑On Guide

This tutorial walks through the fundamentals of large language models, prompt engineering, word embeddings, and shows how to use the LangChain framework (including its Java implementation LangChain4j) to build, memory‑manage, retrieve, and chain AI‑driven applications with practical code examples.

AIEmbeddingLLM
0 likes · 17 min read
Build Java LLM Applications with LangChain4j: A Hands‑On 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 Retrievaldependency-injectionjava
0 likes · 5 min read
Why Getting Spring Beans in Non‑Spring Classes Causes NullPointerExceptions
Code Ape Tech Column
Code Ape Tech Column
Jul 4, 2025 · Backend Development

How Nacos Implements Long‑Polling for Config Synchronization

This article explains the inner workings of Nacos' configuration center, detailing the client‑side long‑polling mechanism, the server‑side handling of listener requests, and the key classes and code paths that enable real‑time config updates in microservice environments.

BackendConfiguration CenterMicroservices
0 likes · 13 min read
How Nacos Implements Long‑Polling for Config Synchronization
Architect's Guide
Architect's Guide
Jul 4, 2025 · Backend Development

Mastering Delayed Tasks: From Quartz to Redis and RabbitMQ

This article explores various techniques for implementing delayed tasks in Java, comparing Quartz database polling, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets, and RabbitMQ delayed queues, detailing their implementations, advantages, drawbacks, and practical code examples for handling order timeouts.

QuartzRabbitMQScheduling
0 likes · 16 min read
Mastering Delayed Tasks: From Quartz to Redis and RabbitMQ
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Jul 4, 2025 · Backend Development

Mastering Spring @Autowired Collection Injection: Lists, Sets, Maps Explained

This article explains how Spring's @Autowired annotation can inject collections such as List, Set, and Map, detailing injection mechanisms, ordering, practical examples like filter chains and validators, advanced features like @Qualifier and custom ordering, and important considerations such as circular dependencies and performance impacts.

AutowiredCollection Injectionbackend-development
0 likes · 12 min read
Mastering Spring @Autowired Collection Injection: Lists, Sets, Maps Explained
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.

AtomikosDistributed TransactionsJTA
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 Starterbackend-developmentdependency management
0 likes · 7 min read
Tame Maven Dependency Chaos with Custom Spring Boot Starters
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 ConnectionStreaming Query
0 likes · 6 min read
How to Implement Efficient MyBatis Streaming Queries in Spring Boot
Java Backend Full-Stack
Java Backend Full-Stack
Jul 3, 2025 · Interview Experience

Why the Second Question in My SF Interview Made Me Walk Away

The article shares a detailed SF interview experience, covering typical Java interview questions such as self‑introduction, challenging projects, learning paths, abstract class vs interface, HashMap vs Hashtable, insertion steps, red‑black and B+ trees, MySQL and Redis indexing choices, large‑table optimization, JVM memory model, and the purpose of the Survivor space.

Data StructuresHashMapJVM
0 likes · 23 min read
Why the Second Question in My SF Interview Made Me Walk Away
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 ArchitectureProcess EngineSpringBoot
0 likes · 8 min read
Why Workflow Engines Are Essential for Scalable Backend Systems
FunTester
FunTester
Jul 2, 2025 · Backend Development

Master Non‑Blocking & Streaming gRPC Clients in Java for High‑Performance Testing

Learn how to create and use non‑blocking (asynchronous) and streaming gRPC clients in Java, covering stub creation, request handling with ListenableFuture, blocking vs listener approaches, and stream observer implementation, enabling high‑concurrency performance testing and real‑time data processing scenarios.

AsynchronousPerformance TestingStreaming
0 likes · 7 min read
Master Non‑Blocking & Streaming gRPC Clients in Java for High‑Performance Testing
FunTester
FunTester
Jul 2, 2025 · Backend Development

Spring @Value List Injection: Version Differences and Testing Tips

This article explains how Spring’s @Value annotation injects List values differently from version 3.x through Spring Boot, highlights pitfalls such as immutable lists and delimiter issues, and provides practical testing strategies—including manual splitting, custom converters, and post‑construct adjustments—to ensure reliable configuration handling.

@ValueConfigurationList Injection
0 likes · 9 min read
Spring @Value List Injection: Version Differences and Testing Tips
Architect
Architect
Jul 2, 2025 · Backend Development

Unlock Faster Java Development with Hutool: A Comprehensive Guide

This article introduces Hutool, a powerful Java utility library, outlines its extensive features, shows how to add it via Maven, and provides practical code examples for date handling, string manipulation, numeric operations, map utilities, security hashing, and captcha generation.

Code ExamplesUtility Libraryhutool
0 likes · 9 min read
Unlock Faster Java Development with Hutool: A Comprehensive Guide
Java One
Java One
Jul 2, 2025 · Backend Development

Mastering OpenFeign: Simplify Spring Cloud REST Calls with Declarative Clients

This guide walks through replacing verbose RestTemplate calls with Spring Cloud OpenFeign's declarative REST client, covering dependency setup, client interfaces, annotations, logging, timeout, retry, interceptors, fallback handling with Sentinel, and advanced configurations to streamline microservice communication.

FeignClientMicroservicesOpenFeign
0 likes · 13 min read
Mastering OpenFeign: Simplify Spring Cloud REST Calls with Declarative Clients
Selected Java Interview Questions
Selected Java Interview Questions
Jul 2, 2025 · Backend Development

Boost Java Build Speed: How Maven‑mvnd Cuts Build Time by Up to 80%

Maven‑mvnd, a Maven daemon that keeps a long‑running JVM alive, dramatically speeds up Java project builds by eliminating repeated JVM startup, reducing resource consumption, supporting parallel builds, and offering seamless migration from Maven, making it ideal for large multi‑module projects and CI/CD pipelines.

Build Optimizationci/cddaemon
0 likes · 9 min read
Boost Java Build Speed: How Maven‑mvnd Cuts Build Time by Up to 80%
Java Tech Enthusiast
Java Tech Enthusiast
Jul 2, 2025 · Backend Development

Why Your Java Projects Keep Failing and How to Fix Common Spring Boot Pitfalls

The article examines recurring Java backend problems such as duplicated configuration files, hard‑coded parameters, mixed logging practices, unchecked code releases, unsynchronized databases, and Maven dependency issues, then offers concrete solutions like externalized configuration, standardized logging, proper code review, and correct Maven pom settings.

Configurationjavamaven
0 likes · 5 min read
Why Your Java Projects Keep Failing and How to Fix Common Spring Boot Pitfalls
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.

LiteFlowSpringBootWorkflow Engine
0 likes · 10 min read
Master LiteFlow: Simplify Complex Business Logic in SpringBoot
Java Backend Technology
Java Backend Technology
Jul 2, 2025 · Backend Development

Generate Spring Boot CRUD Code Instantly with EasyCode Plugin

This tutorial walks you through installing the EasyCode IntelliJ plugin, creating a MySQL database, configuring IDEA’s database connection, setting up Maven dependencies and application.yml, generating entity, DAO, service, and controller code automatically, and finally running the Spring Boot project.

EasyCodeIntelliJ IDEAcode-generation
0 likes · 6 min read
Generate Spring Boot CRUD Code Instantly with EasyCode Plugin
Lin is Dream
Lin is Dream
Jul 2, 2025 · Databases

Master Redis in Spring Boot: From RedisTemplate to Redisson Integration

This tutorial walks Java developers through using Redis in Spring Boot projects, covering the essential spring-boot-starter-data-redis dependency, RedisTemplate basics, the underlying RedisConnectionFactory design, custom connection configurations for single‑node and sentinel modes, and seamless integration of the Redisson client for advanced distributed features.

RedisTemplatejavaredis
0 likes · 10 min read
Master Redis in Spring Boot: From RedisTemplate to Redisson Integration
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.

SPIServiceLoaderSpringBoot
0 likes · 21 min read
Unlocking Java Plugin Architecture: From SPI to SpringBoot Extensions