Tagged articles

Java

5000 articles · Page 15 of 50
Top Architect
Top Architect
Jan 13, 2026 · Backend Development

Why Our Custom Snowflake ID Collided and How to Build a Reliable Generator

A severe production incident caused duplicate order IDs due to a flawed custom Snowflake implementation, prompting a detailed review of the standard algorithm, identification of critical design mistakes, and a set of practical recommendations for safe, scalable ID generation in distributed back‑end systems.

JavaSnowflakeid generation
0 likes · 8 min read
Why Our Custom Snowflake ID Collided and How to Build a Reliable Generator
JavaGuide
JavaGuide
Jan 13, 2026 · Backend Development

Claude Code Generates Unexpected Bugs: 4 Real-World Spring Pitfalls and Fixes

During a Spring‑based interview platform project, the author discovered four typical bugs introduced by Claude Code—transactional self‑invocation loss, AI‑generated NullPointerExceptions, async task failures after entity deletion, and Redis Stream message buildup—and explains the root causes and concrete remediation steps.

@TransactionalAI code generationBug debugging
0 likes · 11 min read
Claude Code Generates Unexpected Bugs: 4 Real-World Spring Pitfalls and Fixes
JakartaEE China Community
JakartaEE China Community
Jan 13, 2026 · Databases

Jakarta NoSQL 1.0: A New Standard for NoSQL Integration in the Java Ecosystem

Jakarta NoSQL 1.0 introduces a standardized, annotation‑driven API that lets Java developers map objects to document, key‑value, column‑family, or graph databases with type‑safe CRUD and fluent queries, while supporting CDI, annotation processors, and IDE integration for higher productivity and portability.

Annotation APIEclipse JNoSQLJakarta NoSQL
0 likes · 5 min read
Jakarta NoSQL 1.0: A New Standard for NoSQL Integration in the Java Ecosystem
java1234
java1234
Jan 13, 2026 · Backend Development

How to Write Elegant Spring Controllers and Slash Your Blood Pressure

The article shows how cluttered Spring controllers filled with try‑catch blocks, manual field checks, and business logic can be refactored into concise, readable code by using @Valid, assertion utilities, and a global exception handler, cutting the code size roughly in half.

@ValidControllerJava
0 likes · 9 min read
How to Write Elegant Spring Controllers and Slash Your Blood Pressure
SpringMeng
SpringMeng
Jan 13, 2026 · Backend Development

Top IDEA Plugins for 2026 to Supercharge Your Java Development

This article reviews essential IntelliJ IDEA plugins for Java/Spring developers, detailing core features, configuration tips, and trade‑offs for each plugin, and recommends a prioritized installation order to boost productivity while monitoring performance impact.

AI assistanceConfigurationDevelopment Tools
0 likes · 11 min read
Top IDEA Plugins for 2026 to Supercharge Your Java Development
LuTiao Programming
LuTiao Programming
Jan 12, 2026 · Information Security

Still Sending Plaintext? Spring Boot’s RSA + AES Automatic API Decryption for Full‑Scale Security

This article explains why API data must be encrypted, compares RSA and AES, presents a hybrid RSA‑AES scheme, and walks through a complete Spring Boot implementation—including encryption utilities, request wrappers, interceptors, parameter resolvers, key management, signature validation, batch processing, caching, and best‑practice recommendations—to achieve zero‑intrusion, high‑performance API security.

AESAPI EncryptionAutomatic Decryption
0 likes · 13 min read
Still Sending Plaintext? Spring Boot’s RSA + AES Automatic API Decryption for Full‑Scale Security
Top Architect
Top Architect
Jan 12, 2026 · Backend Development

How to Build a Robust Asynchronous Processing SDK with Spring, Kafka, and XXL‑Job

This article explains the design and implementation of a generic asynchronous processing SDK for Java, covering its purpose, advantages, core principles, component choices, design patterns, configuration via Apollo, usage steps, safety considerations, and provides complete SQL and Spring configuration examples along with a GitHub repository link.

Design PatternsJavaKafka
0 likes · 11 min read
How to Build a Robust Asynchronous Processing SDK with Spring, Kafka, and XXL‑Job
Programmer1970
Programmer1970
Jan 11, 2026 · Fundamentals

Mastering YAGNI in Java: How to Avoid Premature Architecture

The article explains the YAGNI principle, showing how focusing on current requirements, using simple solutions, and refactoring when real needs arise can prevent over‑engineering, reduce technical debt, and keep Java code clean and adaptable.

DRYJavaKISS
0 likes · 7 min read
Mastering YAGNI in Java: How to Avoid Premature Architecture
Java Web Project
Java Web Project
Jan 11, 2026 · Backend Development

Why Your Spring @Transactional Fails: 7 Common Pitfalls and How to Fix Them

This article analyzes seven typical reasons why Spring transactions become ineffective or fail to roll back—such as wrong method visibility, final modifiers, self‑invocation, unmanaged beans, multithreading, non‑transactional tables, mis‑configured propagation or exception handling—and provides concrete code examples and practical solutions.

AOPBackendJava
0 likes · 21 min read
Why Your Spring @Transactional Fails: 7 Common Pitfalls and How to Fix Them
JavaGuide
JavaGuide
Jan 11, 2026 · Operations

IntelliJ IDEA 2025.3.1.1 Emergency Fix: Resolving Maven Freeze and WSL2 Config Loss

IntelliJ IDEA 2025.3.1 introduced severe Maven project initialization memory leaks and WSL2 file‑system configuration resets, causing IDE freezes and OOM crashes, but JetBrains addressed these issues in the 2025.3.1.1 update and provides temporary workarounds such as cache cleanup, icon disabling, and registry tweaks.

IDE bugsIntelliJ IDEAJava
0 likes · 6 min read
IntelliJ IDEA 2025.3.1.1 Emergency Fix: Resolving Maven Freeze and WSL2 Config Loss
java1234
java1234
Jan 10, 2026 · Backend Development

Designing a Highly Available Service Registry: Key Principles and Java Example

This article explains how to design a highly available service registry for microservice architectures, covering high‑availability mechanisms, performance optimizations, scalability strategies, core registry functions, and provides a complete Java Spring Boot implementation using Redis.

JavaMicroservicesRedis
0 likes · 6 min read
Designing a Highly Available Service Registry: Key Principles and Java Example
Top Architect
Top Architect
Jan 10, 2026 · Backend Development

Boost Java Build Speed with Maven‑mvnd: Features, Installation & Usage

This article explains how Maven‑mvnd accelerates Java project builds by using a long‑running daemon to eliminate JVM startup overhead, reduces resource consumption, improves multi‑module builds, and provides step‑by‑step installation, configuration, and usage instructions with practical command examples.

Build OptimizationCI/CDJava
0 likes · 8 min read
Boost Java Build Speed with Maven‑mvnd: Features, Installation & Usage
LuTiao Programming
LuTiao Programming
Jan 9, 2026 · Backend Development

Tame Messy Login Logic: 3‑Step Spring Boot Factory & Strategy Pattern for Multi‑Channel Auth

The article shows how tangled if‑else login code caused by adding password, SMS, WeChat, and Alipay authentication can be refactored using the Strategy and Factory patterns in Spring Boot, resulting in a clean, extensible, plug‑in‑style login module that requires no changes to existing code when new methods are added.

Design PatternsFactory PatternJava
0 likes · 10 min read
Tame Messy Login Logic: 3‑Step Spring Boot Factory & Strategy Pattern for Multi‑Channel Auth
java1234
java1234
Jan 9, 2026 · Backend Development

Stop Manually Deploying JARs—Dynamic Hot Deployment Made Easy

This article shows how to let users upload a JAR that implements a predefined interface, then hot‑deploy the new implementation at runtime using either Spring annotation‑based registration or plain reflection, including bean registration, removal, and a test harness.

Bean RegistrationDynamic JAR LoadingHot Deployment
0 likes · 8 min read
Stop Manually Deploying JARs—Dynamic Hot Deployment Made Easy
Programmer1970
Programmer1970
Jan 9, 2026 · Fundamentals

Rethinking DRY: Eliminate Knowledge Duplication, Not Just Similar Code

The article clarifies that the DRY principle targets hidden knowledge duplication rather than superficial code similarity, explains why over‑abstraction can be harmful, and provides concrete Java examples of both violations and correct applications, while also discussing how to balance DRY with YAGNI.

DRYJavaYAGNI
0 likes · 10 min read
Rethinking DRY: Eliminate Knowledge Duplication, Not Just Similar Code
IT Services Circle
IT Services Circle
Jan 9, 2026 · Interview Experience

How to Find the Longest Balanced Substring in a Binary String (LeetCode 2609)

The article presents LeetCode problem 2609, defining a balanced substring as a consecutive segment of zeros followed by an equal number of ones, and provides a linear‑time solution using a two‑pointer scan that counts consecutive zeros and ones, with implementations in Java, C++, Python, and TypeScript, along with complexity analysis.

Balanced SubstringC++Java
0 likes · 7 min read
How to Find the Longest Balanced Substring in a Binary String (LeetCode 2609)
Su San Talks Tech
Su San Talks Tech
Jan 9, 2026 · Backend Development

Mastering Seata TCC: Theory, Types, and Practical Implementation

This article explains the TCC (Try‑Confirm‑Cancel) transaction model, its three practical variants, and provides a step‑by‑step guide with code examples for integrating Seata TCC into a Spring‑Boot e‑commerce order service, while addressing common pitfalls such as idempotency, empty rollbacks, and hanging transactions.

Distributed TransactionsJavaMicroservices
0 likes · 18 min read
Mastering Seata TCC: Theory, Types, and Practical Implementation
Java Companion
Java Companion
Jan 9, 2026 · Backend Development

Why Many Large Companies Discourage Using @Transactional in Spring

The article explains common pitfalls that cause Spring @Transactional to fail or not roll back, such as incorrect method visibility, final or static modifiers, internal method calls, beans not managed by Spring, multithreading, unsupported database engines, misconfigured propagation, swallowed exceptions, and improper rollback settings, and offers practical solutions for each case.

AOPBackendJava
0 likes · 18 min read
Why Many Large Companies Discourage Using @Transactional in Spring
LuTiao Programming
LuTiao Programming
Jan 8, 2026 · Backend Development

Spring Boot Advanced Trick: Proper Way to Make RequestBody Readable Multiple Times

The article explains why Spring Boot's RequestBody can only be read once due to servlet stream constraints, and provides a complete solution using a custom HttpServletRequestWrapper and a high‑priority filter to cache and replay the body for annotations, validation, logging and other pre‑processing steps.

HttpServletRequestWrapperJavaRequestBody
0 likes · 8 min read
Spring Boot Advanced Trick: Proper Way to Make RequestBody Readable Multiple Times
Architect
Architect
Jan 8, 2026 · Backend Development

Why Process Orchestration Is Essential for Scalable Backend Systems

The article explains how using a flow engine and plugin‑extension architecture can isolate business logic, simplify adding new services, and avoid tangled if‑else code in large backend platforms, illustrated with concrete Java examples and an open‑source project.

Code IsolationJavaflow engine
0 likes · 7 min read
Why Process Orchestration Is Essential for Scalable Backend Systems
Architecture Digest
Architecture Digest
Jan 8, 2026 · Backend Development

Why Do Jackson 2 and 3 Coexist? Uncover the 4 Breaking Changes in Jackson 3

After upgrading to Spring Boot 4, the article explains why both Jackson 2 and Jackson 3 appear together, outlines the four major breaking changes—including package reorganization, the shift from ObjectMapper to JsonMapper, new default date serialization, and the removal of checked exceptions—and offers migration tips.

JSONJacksonJava
0 likes · 6 min read
Why Do Jackson 2 and 3 Coexist? Uncover the 4 Breaking Changes in Jackson 3
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 8, 2026 · Backend Development

Master Short‑Lived Microservices with Spring Cloud Task: A Hands‑On Guide

This article explains how to build short‑lived microservices using Spring Cloud Task on Spring Boot 3.5.0, covering environment setup, Maven dependencies, quick start code, configuration files, first task implementation, advanced options like custom table prefixes, external and parent task IDs, and task execution listeners with full code examples and screenshots.

JavaSpring BootSpring Cloud Task
0 likes · 9 min read
Master Short‑Lived Microservices with Spring Cloud Task: A Hands‑On Guide
Ray's Galactic Tech
Ray's Galactic Tech
Jan 7, 2026 · Backend Development

Why Netty Servers Accumulate CLOSE_WAIT Connections and How to Fix Them

Netty services can accumulate CLOSE_WAIT sockets when the server fails to close its side of the socket, leading to resource exhaustion and potential service collapse; this article explains the TCP state machine, common code pitfalls, kernel tuning, defensive handlers, and a comprehensive checklist to prevent and resolve the issue.

JavaNettyTCP
0 likes · 8 min read
Why Netty Servers Accumulate CLOSE_WAIT Connections and How to Fix Them
Top Architect
Top Architect
Jan 7, 2026 · Backend Development

Customize Spring Boot Startup Banner with ASCII Art and ANSI Colors

This guide shows how to replace Spring Boot's default console banner by creating a custom banner.txt with ASCII graphics, using built‑in placeholders for version, port, profile and date, adding ANSI color codes, and optionally disabling the default banner to print a fully customized startup message from Java code.

ANSI ColorASCII artBanner
0 likes · 9 min read
Customize Spring Boot Startup Banner with ASCII Art and ANSI Colors
SpringMeng
SpringMeng
Jan 7, 2026 · Interview Experience

Inside Xiao Meng’s Technical Interview: Real Questions and Insights

The article shares Xiao Meng’s full‑stack hiring process, listing practical first‑ and second‑round interview questions—from SQL pagination and SpringBoot CORS to RPC frameworks and AI‑assisted coding—while explaining the company’s focus on hands‑on ability and recent AI tool adoption.

AI coding toolsJavaSQL
0 likes · 6 min read
Inside Xiao Meng’s Technical Interview: Real Questions and Insights
Eric Tech Circle
Eric Tech Circle
Jan 7, 2026 · Backend Development

Why IntelliJ IDEA 2025.3’s New Islands Theme and AI Features Matter for Java Developers

The article shares a seasoned Java developer’s hands‑on review of IntelliJ IDEA 2025.3, highlighting the new Islands theme, built‑in support for Spring Boot 4 and Java 25, full‑line code completion, and integration of the Claude Code AI plugin, while offering practical usage tips and personal recommendations.

AI pluginIDE FeaturesIntelliJ IDEA
0 likes · 5 min read
Why IntelliJ IDEA 2025.3’s New Islands Theme and AI Features Matter for Java Developers
Woodpecker Software Testing
Woodpecker Software Testing
Jan 6, 2026 · Frontend Development

Detecting On‑Screen Element Visibility with Selenium WebDriver in Java

This guide explains how to determine whether a web element is visible on the screen during Selenium‑based Java automation, covering the basic isDisplayed() check, an enhanced visibility method that validates size, opacity and CSS visibility, strategies for dynamic, iframe and Shadow DOM elements, and practical best‑practice recommendations.

Element VisibilityJavaautomated testing
0 likes · 8 min read
Detecting On‑Screen Element Visibility with Selenium WebDriver in Java
Woodpecker Software Testing
Woodpecker Software Testing
Jan 6, 2026 · Backend Development

How ChatGPT Analyzes and Optimizes Application Performance

The article shows how ChatGPT examines JMeter load‑test results, identifies CPU, database and I/O bottlenecks, and then proposes concrete optimizations such as adding indexes, tuning HikariCP pool settings, caching, code refactoring, and monitoring to improve login throughput and latency.

ChatGPTDatabase IndexingHikariCP
0 likes · 11 min read
How ChatGPT Analyzes and Optimizes Application Performance
Selected Java Interview Questions
Selected Java Interview Questions
Jan 6, 2026 · Backend Development

Generate Precise Java Javadoc with AI in One Shortcut

This article explains how an IntelliJ plugin uses large‑language‑model AI to read your Java method body and automatically produce accurate Javadoc comments, eliminating the need for manual documentation and overcoming the limitations of simple name‑translation tools.

AICode GenerationIntelliJ
0 likes · 6 min read
Generate Precise Java Javadoc with AI in One Shortcut
Top Architect
Top Architect
Jan 6, 2026 · Backend Development

Spring Boot vs Quarkus: Performance Test, Migration Guide, and When to Choose Each

An in‑depth comparison of Spring Boot and Quarkus evaluates startup time, build speed, binary size, CPU, memory, and response latency using reactive APIs and native images, then outlines migration steps, Spring API compatibility, and practical benefits for developers moving Java microservices to Kubernetes‑native environments.

JavaKubernetesQuarkus
0 likes · 16 min read
Spring Boot vs Quarkus: Performance Test, Migration Guide, and When to Choose Each
Tech Freedom Circle
Tech Freedom Circle
Jan 6, 2026 · Backend Development

Why Choose RocketMQ Over Kafka? The Real Reasons Behind the 90% Mistake

This article dissects a common interview question about Kafka's higher throughput versus RocketMQ's richer features, explains the underlying design philosophies, storage models, I/O paths, scaling limits, real‑world use cases such as transaction, delayed and ordered messages, and provides concrete optimization steps and code samples to help engineers make an informed messaging platform choice.

JavaKafkaPerformance
0 likes · 42 min read
Why Choose RocketMQ Over Kafka? The Real Reasons Behind the 90% Mistake
macrozheng
macrozheng
Jan 6, 2026 · Backend Development

Why PageHelper Can Break Your MyBatis Queries and How to Fix It

The article examines unexpected bugs caused by PageHelper’s hidden LIMIT clause injection in MyBatis projects, explains how ThreadLocal pagination parameters persist across requests, and provides practical guidelines and code examples to avoid and clean up these issues.

JavaMyBatisThreadLocal
0 likes · 13 min read
Why PageHelper Can Break Your MyBatis Queries and How to Fix It
java1234
java1234
Jan 6, 2026 · Backend Development

What’s the Difference Between @Autowired and @Resource in Spring Boot?

This article explains how @Autowired and @Resource differ in Spring Boot, covering their injection mechanisms, priority rules, applicable environments, and code examples, helping developers choose the appropriate annotation based on type‑based or name‑based injection needs.

Dependency InjectionJavaSpring Boot
0 likes · 4 min read
What’s the Difference Between @Autowired and @Resource in Spring Boot?
java1234
java1234
Jan 6, 2026 · Backend Development

Boost API Latency 10× with Spring Boot 3 and a Three‑Level Local Cache Pyramid

The article explains why adding Redis alone often remains slow, introduces a three‑level cache pyramid (L1 Caffeine, L2 Redis, L3 MySQL) built with Spring Boot 3, and shows how this design reduces request latency from 28 ms to 2 ms, cuts CPU usage by 35 % and achieves up to 14‑fold throughput improvement.

CaffeineJavaPerformance Optimization
0 likes · 10 min read
Boost API Latency 10× with Spring Boot 3 and a Three‑Level Local Cache Pyramid
macrozheng
macrozheng
Jan 5, 2026 · Backend Development

Why @NotEmpty Misses Blank Strings and How @NotBlank Fixes It

The article explains why using @NotEmpty fails to detect blank strings, demonstrates the issue with a simple demo, shows the correct use of StringUtils.isBlank, and clarifies the differences between @NotNull, @NotEmpty, and @NotBlank annotations in Java validation.

JavaSpringStringUtils
0 likes · 4 min read
Why @NotEmpty Misses Blank Strings and How @NotBlank Fixes It
Su San Talks Tech
Su San Talks Tech
Jan 5, 2026 · Backend Development

Master Java ThreadPool Interview Questions: Core Concepts, Parameters, and Best Practices

This guide compiles the most common Java thread‑pool interview questions, explains why and how thread pools are used, details the core parameters and execution flow of ThreadPoolExecutor, explores internal locks, usage patterns, monitoring, rejection policies, common pitfalls, and introduces the DynamicTp management framework.

BlockingQueueJUCJava
0 likes · 32 min read
Master Java ThreadPool Interview Questions: Core Concepts, Parameters, and Best Practices
Selected Java Interview Questions
Selected Java Interview Questions
Jan 4, 2026 · Backend Development

Master Java Logging with SLF4J, Logback, and Lombok @Slf4j

This tutorial explains why System.out.println() is unsuitable for production logging, shows how to add SLF4J and Logback dependencies, configure logback.xml, use Lombok's @Slf4j annotation to generate a logger, and provides practical code examples for unified API logging and exception tracking.

Backend DevelopmentJavaLogback
0 likes · 9 min read
Master Java Logging with SLF4J, Logback, and Lombok @Slf4j
Architect's Guide
Architect's Guide
Jan 4, 2026 · Backend Development

Mastering JetCache: A SpringBoot Guide to Distributed Caching

This article introduces JetCache, an open‑source distributed cache built on Spring and Redis, explains its core features and typical use cases, details the main API and annotation support, and provides a step‑by‑step SpringBoot integration guide with full code examples.

JavaJetCacheRedis
0 likes · 7 min read
Mastering JetCache: A SpringBoot Guide to Distributed Caching
Java Companion
Java Companion
Jan 4, 2026 · Backend Development

Achieve 10× Faster APIs with Spring Boot 3’s Three‑Level Cache Pyramid

The article demonstrates how to combine Spring Boot 3, Caffeine local cache, and Redis into a three‑level cache pyramid, reducing API response time from 28 ms to 2 ms, cutting CPU usage by 35 %, and providing detailed configuration, code examples, performance benchmarks, and mitigation strategies for common high‑concurrency pitfalls.

CaffeineJavaPerformance
0 likes · 10 min read
Achieve 10× Faster APIs with Spring Boot 3’s Three‑Level Cache Pyramid
java1234
java1234
Jan 3, 2026 · Backend Development

Why Spring and Spring MVC Need Parent‑Child Containers

The article explains the concept of parent‑child containers in Spring, outlines three key benefits—modularization, scoped bean visibility, and configuration reuse—provides step‑by‑step XML and Java code examples, and shows how the containers integrate with Spring MVC to create a cleaner, more maintainable application architecture.

ApplicationContextJavaParent-Child Container
0 likes · 7 min read
Why Spring and Spring MVC Need Parent‑Child Containers
Java Tech Enthusiast
Java Tech Enthusiast
Jan 3, 2026 · Backend Development

How to Propagate TraceId with Spring MDC Across HTTP, MQ, Thread Pools, and Jobs

This guide explains how to use Spring's built‑in Mapped Diagnostic Context (MDC) to generate a traceId for each request, configure Logback to include it in logs, and propagate the traceId through HTTP filters, RabbitMQ messages, thread‑pool tasks, and XXL‑Job scheduled jobs, complete with code examples and configuration snippets.

JavaMDCSpring
0 likes · 11 min read
How to Propagate TraceId with Spring MDC Across HTTP, MQ, Thread Pools, and Jobs
Java Captain
Java Captain
Jan 3, 2026 · Backend Development

Integrate Apache Tika with Spring Boot for Powerful Document Parsing

This guide shows how to integrate Apache Tika into a Spring Boot application by adding Maven dependencies, configuring a tika-config.xml file, creating a @Configuration class that provides a Tika bean, and using the bean to detect, translate, and parse various document formats.

Apache TikaBackend DevelopmentJava
0 likes · 5 min read
Integrate Apache Tika with Spring Boot for Powerful Document Parsing
LuTiao Programming
LuTiao Programming
Jan 2, 2026 · Backend Development

Stop Using currentTimeMillis! 90% of Java Developers Miscalculate Time

The article explains why System.currentTimeMillis() is unsuitable for measuring code execution duration, demonstrates its non‑monotonic behavior and potential for negative results, and shows that System.nanoTime() provides a reliable, high‑resolution, monotonic timer for accurate performance analysis.

JavaPerformance MeasurementSystem.currentTimeMillis
0 likes · 8 min read
Stop Using currentTimeMillis! 90% of Java Developers Miscalculate Time
Architect
Architect
Jan 2, 2026 · Backend Development

How DDD Transforms Spring Cloud Alibaba Microservices: A Practical Guide

This article explains the fundamentals of Domain‑Driven Design, its core principles and two design phases, then shows how to apply DDD within a Spring Cloud Alibaba e‑commerce microservice system, providing a detailed layered architecture, file‑structure example, and recommendations for implementation.

ArchitectureDDDDomain-Driven Design
0 likes · 11 min read
How DDD Transforms Spring Cloud Alibaba Microservices: A Practical Guide
Su San Talks Tech
Su San Talks Tech
Jan 2, 2026 · Backend Development

Boost SpringBoot API Performance: 12 Proven Optimization Techniques

This article presents a practical guide for SpringBoot projects, detailing twelve concrete strategies—including batch processing, asynchronous execution, caching, pagination, and transaction handling—to dramatically reduce API latency and improve overall backend efficiency.

API performanceJavabackend optimization
0 likes · 11 min read
Boost SpringBoot API Performance: 12 Proven Optimization Techniques
LuTiao Programming
LuTiao Programming
Jan 2, 2026 · Backend Development

Been Writing Spring Controllers for a Decade? Time to Ditch the Boilerplate Pattern

The article argues that traditional Spring Controllers impose heavy, repetitive scaffolding that outweighs business value, and demonstrates how a functional Java API can replace class‑based controllers with simple handler functions, reducing cognitive load, test complexity, and development overhead.

Backend DevelopmentControllerFunctional API
0 likes · 7 min read
Been Writing Spring Controllers for a Decade? Time to Ditch the Boilerplate Pattern
java1234
java1234
Jan 1, 2026 · Backend Development

Spring Task Scheduling in 3 Lines: Automate Jobs and Eliminate Repetitive Code

This guide explains how Spring Task turns Java applications into self‑managed schedulers, showing three quick steps to add the dependency, enable @EnableScheduling, and write @Scheduled methods, then dives into cron syntax, common use cases, pitfalls, performance tuning, and future enhancements.

Backend DevelopmentCron ExpressionJava
0 likes · 8 min read
Spring Task Scheduling in 3 Lines: Automate Jobs and Eliminate Repetitive Code
Top Architect
Top Architect
Jan 1, 2026 · Backend Development

Spring Boot 4.0 & Spring Framework 7: Deep Dive into New Features and Migration Guide

Spring Boot 4.0 and Spring Framework 7 introduce a comprehensive overhaul—including Jakarta EE 11, JDK 25, JSpecify null‑safety, Project Leyden AOT, declarative HTTP clients, Jackson 3, native API versioning, built‑in resilience, OpenTelemetry, and a dual‑track Spring AI roadmap—providing developers with a modern, cloud‑native Java stack.

AIBackendJava
0 likes · 9 min read
Spring Boot 4.0 & Spring Framework 7: Deep Dive into New Features and Migration Guide
Java Tech Enthusiast
Java Tech Enthusiast
Jan 1, 2026 · Backend Development

Simplify Spring Service Calls with ServiceManager: No @Autowired, Unified Logging & Error Handling

This tutorial shows how to eliminate repetitive @Autowired injections, logging, and try‑catch blocks in Spring controllers by using a custom ServiceManager component that leverages Java 8 Lambda expressions to locate services, cache metadata, and execute methods with unified response handling.

Dependency InjectionJavaServiceManager
0 likes · 12 min read
Simplify Spring Service Calls with ServiceManager: No @Autowired, Unified Logging & Error Handling
Architect's Guide
Architect's Guide
Jan 1, 2026 · Backend Development

How to Efficiently Import and Export Millions of Records with POI and EasyExcel

This article explains how to handle massive Excel import/export tasks in Java by comparing POI workbook implementations, selecting the appropriate class based on data size, and using EasyExcel with batch processing, JDBC transactions, and pagination to achieve fast, low‑memory operations for hundreds of millions of rows.

Data ExportEasyExcelJava
0 likes · 21 min read
How to Efficiently Import and Export Millions of Records with POI and EasyExcel
Architect
Architect
Dec 31, 2025 · Artificial Intelligence

How Spring AI Implements the Model Context Protocol: A Deep Architecture Walkthrough

This article provides a detailed, source‑code‑level analysis of Spring AI’s Model Context Protocol (MCP) implementation, covering its layered architecture, core client‑server interaction steps, key components, runtime debugging with SSE, and practical code examples for building and testing MCP services in Java.

JavaMCPModel Context Protocol
0 likes · 23 min read
How Spring AI Implements the Model Context Protocol: A Deep Architecture Walkthrough
DaTaobao Tech
DaTaobao Tech
Dec 31, 2025 · Backend Development

How AI Transformed a Taobao Service‑Package System with Domain‑Driven Design

This article examines how a rapidly growing Taobao flash‑sale service‑package system suffered from high development costs, duplicated code, and tight coupling, and shows how AI‑assisted domain‑driven design was applied to refactor the architecture, automate code generation, and dramatically improve efficiency, maintainability, and extensibility.

AIBackend RefactoringDomain-Driven Design
0 likes · 13 min read
How AI Transformed a Taobao Service‑Package System with Domain‑Driven Design
Java Architect Handbook
Java Architect Handbook
Dec 31, 2025 · Backend Development

Mastering API Rate Limiting with Spring Interceptor and Redis

This article walks through building a Spring MVC interceptor that leverages Redis to enforce per‑IP request limits, explains configurable parameters, shows how to apply protection selectively via mapping rules or custom annotations, and discusses practical pitfalls such as sliding‑window logic, path‑parameter handling, and real‑IP detection.

API SecurityBackendInterceptor
0 likes · 20 min read
Mastering API Rate Limiting with Spring Interceptor and Redis
Architecture Digest
Architecture Digest
Dec 30, 2025 · Backend Development

Master Java SPI: Build a Pluggable Authentication System with Spring Boot

This article explains Java's Service Provider Interface (SPI), compares it with traditional APIs, and provides a step‑by‑step guide to create a multi‑module Maven project, custom class loader, and Spring Boot application that dynamically loads authentication plugins from external JARs.

ClassLoaderJavaMaven
0 likes · 13 min read
Master Java SPI: Build a Pluggable Authentication System with Spring Boot
Tech Freedom Circle
Tech Freedom Circle
Dec 30, 2025 · Backend Development

How Java Virtual Threads Supercharge Spring Boot: 3× QPS Boost and 67% Memory Savings

This article explains how Java's new virtual threads (Project Loom) can transform Spring Boot applications, delivering up to three‑fold QPS improvements and up to 67% lower memory usage, by replacing heavyweight platform threads with lightweight coroutine‑style execution, and provides detailed comparisons, benchmarks, code samples, and migration guidance.

JavaPerformanceProject Loom
0 likes · 51 min read
How Java Virtual Threads Supercharge Spring Boot: 3× QPS Boost and 67% Memory Savings
Xiao Liu Lab
Xiao Liu Lab
Dec 30, 2025 · Information Security

Why Our New SSL Certificate Caused Handshake Errors and How We Fixed It

After updating a core API's SSL certificate, a partner reported repeated SSLHandshakeException errors, mistakenly labeling the cert as a development version; thorough verification revealed the issue stemmed from an outdated Java trust store lacking the new Sectigo root, leading to a set of concrete remediation steps and best‑practice lessons.

APIJavaSSL
0 likes · 15 min read
Why Our New SSL Certificate Caused Handshake Errors and How We Fixed It
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 30, 2025 · Backend Development

Mastering javatuples: Create and Manipulate Tuples in Java

This guide explains why Java developers often need to return multiple values, introduces the javatuples library as a lightweight solution, and walks through adding the Maven dependency, using core tuple classes, creating tuples via factories or constructors, accessing and modifying elements, and converting tuples to collections or arrays.

Code ExamplesJavaMaven
0 likes · 9 min read
Mastering javatuples: Create and Manipulate Tuples in Java
Java Companion
Java Companion
Dec 29, 2025 · Backend Development

Avoid OOM: EasyExcel Best Practices for Exporting Millions of Rows (with Ready‑to‑Use Helper)

This article explains why exporting large Excel files with EasyExcel can cause OOM, CPU blockage, and slow responses, and demonstrates a pagination‑query plus batch‑write solution with reusable helper classes, performance benchmarks, dynamic page sizing, async export, multi‑sheet and template techniques, and a concise best‑practice checklist.

EasyExcelExcel ExportJava
0 likes · 15 min read
Avoid OOM: EasyExcel Best Practices for Exporting Millions of Rows (with Ready‑to‑Use Helper)
Java Architecture Diary
Java Architecture Diary
Dec 29, 2025 · Information Security

Why Spring Authorization Server Merged into Spring Security 7.0 and How to Migrate

Spring Authorization Server has been integrated into Spring Security 7.0, ending its independent lifecycle; the article explains the three historical eras, the reasons for the merge, and provides concrete dependency and configuration changes—including Lambda DSL updates—to help developers migrate from SpringBoot3 to SpringBoot4 with minimal effort.

JavaOAuth2Spring Security
0 likes · 11 min read
Why Spring Authorization Server Merged into Spring Security 7.0 and How to Migrate
LuTiao Programming
LuTiao Programming
Dec 28, 2025 · Artificial Intelligence

Stop Memorizing Docs: Build a Spring AI RAG System That Instantly Understands Business

This article walks through creating a Retrieval‑Augmented Generation (RAG) powered Q&A service in Java using Spring AI, covering the rationale for choosing Spring AI over LangChain, required environment, Maven setup, configuration, document ingestion, Advisor‑based query handling, testing, and practical limitations of RAG implementations.

AdvisorJavaLangChain
0 likes · 11 min read
Stop Memorizing Docs: Build a Spring AI RAG System That Instantly Understands Business
Woodpecker Software Testing
Woodpecker Software Testing
Dec 28, 2025 · Backend Development

Deep Dive into JUnit: Core Concepts, Components, and Design Pattern Integration

This comprehensive tutorial explains JUnit's definition, core components, annotations, assertion methods, test suite creation, custom test rules, and how common design patterns such as Factory, Decorator, Strategy, and Template Method can be applied to write flexible, maintainable Java unit tests, plus installation steps and advanced usage tips.

Design PatternsJUnitJava
0 likes · 25 min read
Deep Dive into JUnit: Core Concepts, Components, and Design Pattern Integration
Woodpecker Software Testing
Woodpecker Software Testing
Dec 28, 2025 · Fundamentals

Mastering JUnit 5: The Modern Java Unit‑Testing Framework

JUnit 5 introduces a modular architecture with Platform, Jupiter, and Vintage, adds a fresh annotation model, dynamic and parameterized tests, tagging, exception assertions, and nested tests, and offers clear advantages over JUnit 4, as demonstrated through a complete Calculator example and Maven execution.

JUnit 5JavaMaven
0 likes · 8 min read
Mastering JUnit 5: The Modern Java Unit‑Testing Framework
Woodpecker Software Testing
Woodpecker Software Testing
Dec 28, 2025 · Backend Development

Adjusting GUI and API Test Cases with ChatGPT

This article explains how to handle leading and trailing spaces in user input by applying the .trim() method in both front‑end JavaScript validation functions and back‑end Java controllers, updates test data and cases, and verifies that all GUI and API tests pass successfully.

APIGUIJava
0 likes · 19 min read
Adjusting GUI and API Test Cases with ChatGPT
AI Architecture Hub
AI Architecture Hub
Dec 28, 2025 · Artificial Intelligence

Spring AI’s Model Context Protocol: Architecture, Code Walkthrough & Debugging

This article provides a comprehensive analysis of Spring AI’s Model Context Protocol (MCP), covering its layered client‑server architecture, core interaction sequences, key source‑code components, and step‑by‑step debugging of the SSE‑based initialization flow, enabling developers to integrate AI capabilities into Java applications with confidence.

AI integrationJavaMCP
0 likes · 20 min read
Spring AI’s Model Context Protocol: Architecture, Code Walkthrough & Debugging
Top Architect
Top Architect
Dec 28, 2025 · Backend Development

Why FastExcel Is the Next‑Gen High‑Performance Excel Library for Java Developers

FastExcel, a Java library born from the discontinuation of EasyExcel, offers seamless migration, MIT‑licensed open‑source code, and dramatic performance gains for processing massive Excel files, while also introducing innovative features like selective row reading and Excel‑to‑PDF conversion, and it paves the way for the AI‑driven database tool Chat2DB.

Chat2DBEasyExcelExcel
0 likes · 18 min read
Why FastExcel Is the Next‑Gen High‑Performance Excel Library for Java Developers
LuTiao Programming
LuTiao Programming
Dec 27, 2025 · Fundamentals

What 500 Java Projects Reveal: The One Pitfall Almost Every Developer Falls Into

The article shows that most Java performance problems stem from a simple, often‑overlooked mistake—using immutable String concatenation in loops, large text building, and logging—while demonstrating how StringBuilder, proper logging placeholders, and understanding the string pool can dramatically reduce GC pressure and CPU waste.

JavaPerformanceString
0 likes · 8 min read
What 500 Java Projects Reveal: The One Pitfall Almost Every Developer Falls Into
DevOps Coach
DevOps Coach
Dec 27, 2025 · Fundamentals

Why Does Integer == Fail for 128? Unveiling Java’s Autoboxing Cache

The article explains why comparing two Integer objects with `==` returns true for values within -128 to 127 but false for larger numbers, detailing Java’s integer cache, reference vs. value equality, and the correct use of `.equals()` to avoid subtle bugs.

AutoboxingJavaReference Equality
0 likes · 6 min read
Why Does Integer == Fail for 128? Unveiling Java’s Autoboxing Cache
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 27, 2025 · Backend Development

Mastering Java Inner Classes: Organize, Encapsulate, and Simplify Your Code

The article explains how Java inner classes can be used to encapsulate related functionality, access private members of the outer class, implement interfaces for callbacks, and hide implementation details, providing clear code examples such as Car/Engine, Counter/Incrementer, Button listeners, and a Calculator with an Operation inner class.

EncapsulationInner ClassesJava
0 likes · 4 min read
Mastering Java Inner Classes: Organize, Encapsulate, and Simplify Your Code
Xiao Liu Lab
Xiao Liu Lab
Dec 26, 2025 · Operations

How to Achieve RabbitMQ High Availability with HAProxy: A Step‑by‑Step Guide

This tutorial explains why HAProxy is essential for RabbitMQ clusters, walks through installing HAProxy on Ubuntu, configuring load‑balancing and health‑check parameters, integrating with Java applications, and validating automatic failover to ensure high availability and efficient resource utilization.

HAProxyJavaLinux
0 likes · 8 min read
How to Achieve RabbitMQ High Availability with HAProxy: A Step‑by‑Step Guide
Ray's Galactic Tech
Ray's Galactic Tech
Dec 26, 2025 · Backend Development

Dubbo vs Spring Cloud: Which Java Microservice Framework Fits Your Needs?

This article compares Dubbo and Spring Cloud across four core dimensions—purpose, communication protocol, service registry, and ecosystem breadth—then expands the analysis with deployment complexity, learning curve, community activity, cloud‑native integration, and future trends to guide framework selection for Java microservice architectures.

DubboJavaSpring Cloud
0 likes · 9 min read
Dubbo vs Spring Cloud: Which Java Microservice Framework Fits Your Needs?
Java One
Java One
Dec 26, 2025 · Fundamentals

How C/C++, Java, and Python Run: A Deep Dive into Compilation and Execution

This article compares the execution models of C/C++, Java, and Python, explaining how compiled machine code, bytecode with JVM, and interpreted bytecode with the Python virtual machine operate, and illustrates each process with example file structures and compilation steps.

C++CompilationJava
0 likes · 6 min read
How C/C++, Java, and Python Run: A Deep Dive into Compilation and Execution