Tagged articles

Java

5000 articles · Page 13 of 50
Code Ape Tech Column
Code Ape Tech Column
Jan 16, 2026 · Backend Development

Master JSONPath in Spring Boot: Simplify Complex JSON Extraction

JSONPath offers a concise, XPath‑like syntax for extracting data from complex JSON structures, and this guide shows how to integrate it into Spring Boot, compare FastJSON, Jackson, and Gson implementations, and provides practical code examples, advanced configurations, and selection advice for Java projects.

FastjsonGsonJackson
0 likes · 13 min read
Master JSONPath in Spring Boot: Simplify Complex JSON Extraction
SpringMeng
SpringMeng
Jan 16, 2026 · Backend Development

What Unexpected Pitfalls PageHelper Can Teach You After Years of Use

The article recounts a developer’s painful experience with PageHelper, detailing how duplicate registrations, truncated result sets, and password‑update errors stem from the plugin’s ThreadLocal pagination handling, and explains the underlying code paths and safe usage practices.

JavaMyBatisPagination
0 likes · 13 min read
What Unexpected Pitfalls PageHelper Can Teach You After Years of Use
Tech Freedom Circle
Tech Freedom Circle
Jan 16, 2026 · Interview Experience

Crack JD Interview: Master Singleton, Factory, Strategy, Template & Observer Patterns in 20 Minutes

This article offers a systematic, high‑concurrency‑focused walkthrough of core Java design patterns—including Singleton, Factory, Strategy, Template Method, and Observer—complete with code examples, pros and cons, selection guidelines, and interview‑ready explanations to help candidates impress interviewers and secure offers.

Design PatternsJavafactory
0 likes · 36 min read
Crack JD Interview: Master Singleton, Factory, Strategy, Template & Observer Patterns in 20 Minutes
Selected Java Interview Questions
Selected Java Interview Questions
Jan 15, 2026 · Backend Development

How to Build a Lightweight, Annotation‑Driven Rate Limiter with Spring AOP and Guava

This article explains how to create a non‑intrusive, configurable rate‑limiting component for Spring services by combining Spring AOP, a custom @RateLimit annotation, and Google Guava's RateLimiter, covering token‑bucket fundamentals, API usage, implementation details, common AOP pitfalls, and migration to distributed limiting.

AnnotationGuava RateLimiterJava
0 likes · 12 min read
How to Build a Lightweight, Annotation‑Driven Rate Limiter with Spring AOP and Guava
JavaGuide
JavaGuide
Jan 15, 2026 · Interview Experience

Lost the Courage to Switch Jobs After Three Years in a State-Owned Enterprise?

The author explains why state-owned enterprises are not always stable, why their low‑tech projects hinder interview performance, and offers concrete steps—such as adding Redis caching, multithreading, and using the STAR method—to turn a modest Java background into compelling interview material.

InterviewJavaRedis
0 likes · 6 min read
Lost the Courage to Switch Jobs After Three Years in a State-Owned Enterprise?
Java Companion
Java Companion
Jan 15, 2026 · Backend Development

Implement Multi‑Dimensional Bandwidth Throttling in Spring Boot 3

This article presents a complete Spring Boot 3 solution for multi‑dimensional network bandwidth throttling using a manually implemented token‑bucket algorithm, custom HandlerInterceptor, HttpServletResponseWrapper, and RateLimitedOutputStream, with detailed code samples, configuration options, and performance tuning guidance.

HandlerInterceptorJavaSpring Boot
0 likes · 13 min read
Implement Multi‑Dimensional Bandwidth Throttling in Spring Boot 3
Java Backend Technology
Java Backend Technology
Jan 15, 2026 · Backend Development

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

A recent production incident revealed duplicate order IDs caused by a flawed custom Snowflake implementation; the article reviews the standard Snowflake structure, pinpoints design mistakes such as a 31‑bit timestamp, IP‑based business IDs, and zeroed worker IDs, and offers concrete recommendations and proven library alternatives for safe distributed ID generation.

Javaid generationsnowflake
0 likes · 7 min read
Why Our Custom Snowflake ID Generator Failed and How to Build a Reliable One
Coder Trainee
Coder Trainee
Jan 14, 2026 · Backend Development

How to Build a Simple ERP System in Just a Few Hours

This article walks through creating a lightweight material‑management ERP system—including login, dashboard, inventory, inbound and outbound modules—using Vue 3 for the front end and Spring Boot 3, Java 17, MySQL, and MyBatis‑Plus for the back end, highlighting the architecture and development efficiency tricks employed.

ERPJavaMySQL
0 likes · 7 min read
How to Build a Simple ERP System in Just a Few Hours
Java Web Project
Java Web Project
Jan 14, 2026 · Backend Development

How to Turn Bloated Spring Controllers into Clean, Maintainable Code

The article analyzes why Spring MVC controllers often become massive with repetitive validation, logging, and business logic, demonstrates an ugly controller example, then shows step‑by‑step refactoring using @Valid, assertion utilities, and a global exception handler to dramatically reduce code size and improve readability.

@ValidController RefactoringJava
0 likes · 8 min read
How to Turn Bloated Spring Controllers into Clean, Maintainable Code
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.

Javaid generationsnowflake
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.

AI code generationBug debuggingJava
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 assistanceConfigurationDebugging
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.

AsynchronousDesign PatternsJava
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.

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

AuthenticationDesign PatternsFactory Pattern
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.

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

JavaProcess Orchestrationcode isolation
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.

JacksonJavaSpring Boot
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
dbaplus Community
dbaplus Community
Jan 7, 2026 · Backend Development

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

A recent production incident caused duplicate order IDs due to a flawed custom Snowflake implementation, prompting a deep dive into the standard algorithm, analysis of the mistakes, and a set of best‑practice recommendations for designing robust distributed ID generators.

Design PatternsJavadistributed systems
0 likes · 7 min read
Why Our Custom Snowflake ID Collided and How to Build a Reliable Generator
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.

CLOSE_WAITConnection ManagementJava
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.

ChatGPTHikariCPJMeter
0 likes · 11 min read
How ChatGPT Analyzes and Optimizes Application Performance
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.

JavaKafkaMessage Queue
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.

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

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

CacheCaffeineJava
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 DevelopmentJavaLogging
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.

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

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

DDDDomain-Driven DesignJava
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.

AIJavaMicroservices
0 likes · 9 min read
Spring Boot 4.0 & Spring Framework 7: Deep Dive into New Features and Migration Guide
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 securityInterceptorJava
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.

JavaMavencode examples
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)