Tagged articles

Java

5000 articles · Page 16 of 50
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 26, 2025 · Artificial Intelligence

How AutoContextMemory Cuts LLM Costs by 70% in Long Conversations

This article explains the challenges of token explosion in long‑running AI agent dialogues and introduces AutoContextMemory, a Java component that automatically compresses, offloads, and summarizes conversation history to dramatically reduce token usage, speed up responses, and preserve critical information.

AgentScopeJavaLLM
0 likes · 12 min read
How AutoContextMemory Cuts LLM Costs by 70% in Long Conversations
JavaGuide
JavaGuide
Dec 26, 2025 · Artificial Intelligence

MiniMax M2.1 Review: Can It Handle Real‑World Java and Multi‑Language Projects?

After testing MiniMax M2.1 on a full‑stack e‑commerce order‑management task, the author finds the model correctly implements DDD layers, transaction handling, custom exceptions, and even generates a polished cyber‑punk UI, while its Java‑to‑Go code respects each language’s concurrency model and scores over 88 on the VIBE benchmark.

AI codingDDDGo
0 likes · 8 min read
MiniMax M2.1 Review: Can It Handle Real‑World Java and Multi‑Language Projects?
Java Architecture Diary
Java Architecture Diary
Dec 26, 2025 · Information Security

Secure Your Spring Boot 4 Apps with One Annotation: MFA Made Easy

This article explains how Spring Boot 4.0’s @EnableMultiFactorAuthentication annotation simplifies the implementation of password‑plus‑one‑time‑token multi‑factor authentication, providing step‑by‑step code examples, custom token services, endpoint‑level MFA configuration, and production‑grade considerations.

JavaMFASpring Boot
0 likes · 11 min read
Secure Your Spring Boot 4 Apps with One Annotation: MFA Made Easy
Woodpecker Software Testing
Woodpecker Software Testing
Dec 25, 2025 · Backend Development

Using ChatGPT to Refine Java Unit Tests – Episode 23

This article walks through adjusting Java unit tests with ChatGPT, measuring coverage using JaCoCo, rewriting test code for User and PasswordRecovery classes, adding Mockito and PowerMock mocks, and showing how the changes raise coverage from 73.7% to over 80% across the project.

ChatGPTJUnitJaCoCo
0 likes · 17 min read
Using ChatGPT to Refine Java Unit Tests – Episode 23
Ray's Galactic Tech
Ray's Galactic Tech
Dec 25, 2025 · Backend Development

Mastering Delayed Messaging: When to Use RabbitMQ, RocketMQ, or Redis

This guide explains why delayed messages are essential for distributed system stability, compares RabbitMQ's TTL+DLX and delayed‑message plugin, details RocketMQ's precise timing and delay‑level features, and offers custom Redis and time‑wheel solutions with practical Java code examples and deployment tips.

Delayed MessagingJavaRabbitMQ
0 likes · 8 min read
Mastering Delayed Messaging: When to Use RabbitMQ, RocketMQ, or Redis
Top Architect
Top Architect
Dec 25, 2025 · Backend Development

Auto‑Inject UserId and OrderId into Logs with Spring AOP and MDC

This guide shows how to eliminate manual logging of user and order identifiers in a Java e‑commerce system by declaring log placeholders, storing values in ThreadLocal, and using a custom @UserLog annotation with Spring AOP to automatically populate MDC variables for Log4j2.

AOPJavaMDC
0 likes · 9 min read
Auto‑Inject UserId and OrderId into Logs with Spring AOP and MDC
JavaGuide
JavaGuide
Dec 25, 2025 · Interview Experience

How I Secured Offers from Top Tech Companies in 80 Days

The author, a non‑elite undergraduate and a modest 211 master’s graduate, shares a step‑by‑step 80‑day crash‑course that turned zero Java experience into multiple offers from major tech firms, emphasizing fundamental understanding, AI‑assisted learning, and thoughtful project trade‑offs.

AI-assisted learningAlgorithm PreparationJava
0 likes · 8 min read
How I Secured Offers from Top Tech Companies in 80 Days
Java Companion
Java Companion
Dec 25, 2025 · Backend Development

Druid Crashed in Production? How to Optimize the Spring Boot Connection Pool

The article explains why Druid can fail in a live Spring Boot service and provides a comprehensive, step‑by‑step optimization guide covering core pool parameters, monitoring setup, security hardening, leak detection, dynamic tuning, and best‑practice pitfalls to achieve stable, high‑performance database connections.

DruidJavaSpring Boot
0 likes · 12 min read
Druid Crashed in Production? How to Optimize the Spring Boot Connection Pool
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 25, 2025 · Fundamentals

Overloads vs Overrides in Java: When and How They Differ

This article explains the distinction between method overloading and method overriding in Java, covering their definitions, how the compiler or runtime selects the appropriate method, differences in method signatures, return types, and timing, and provides clear code examples for each concept.

JavaMethod OverloadingOOP
0 likes · 5 min read
Overloads vs Overrides in Java: When and How They Differ
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 24, 2025 · Fundamentals

Understanding Java’s final, finally, and finalize: Usage, Pitfalls, and Best Practices

This article explains the distinct purposes of Java's final keyword, finally block, and finalize method, shows how to use them with classes, methods, and variables, highlights scenarios where finally may not run, discusses finalize deprecation, and recommends modern resource‑management techniques like try‑with‑resources.

FinalFinalizeJava
0 likes · 5 min read
Understanding Java’s final, finally, and finalize: Usage, Pitfalls, and Best Practices
Architect's Tech Stack
Architect's Tech Stack
Dec 24, 2025 · Backend Development

10 Proven Techniques to Supercharge API Performance in Java Applications

This article presents a comprehensive, step‑by‑step guide to optimizing Java‑based API interfaces, covering batch processing, asynchronous execution, caching, pre‑processing, pooling, transaction handling, pagination, SQL tuning, lock granularity, and code restructuring, with practical code examples and diagrams.

API optimizationBatch ProcessingJava
0 likes · 10 min read
10 Proven Techniques to Supercharge API Performance in Java Applications
Su San Talks Tech
Su San Talks Tech
Dec 24, 2025 · Backend Development

Fixing RabbitMQ Connection Leaks with Thread‑Pool Asynchrony

Facing frequent timeouts in the high‑traffic eLong red‑envelope API, we traced the root cause to a RabbitMQ SDK connection‑leak using Linux netstat, then resolved it by offloading the processing to a single‑threaded pool, eliminating blocking and avoiding the SDK bug.

ConnectionLeakJavaPerformance
0 likes · 7 min read
Fixing RabbitMQ Connection Leaks with Thread‑Pool Asynchrony
Java Architecture Diary
Java Architecture Diary
Dec 24, 2025 · Backend Development

Why Spring Boot 4 Breaks Your Tests and How to Fix It

Upgrading to Spring Boot 4 can cause missing @WebMvcTest, MockMvc, and other compilation errors because the framework modularizes its large autoconfigure JAR into many smaller starters, requiring updated dependencies and configuration changes to restore test execution and improve startup performance.

JavaSpring Bootmigration
0 likes · 10 min read
Why Spring Boot 4 Breaks Your Tests and How to Fix It
Ubiquitous Tech
Ubiquitous Tech
Dec 23, 2025 · Artificial Intelligence

Building an MCP Server with Spring AI 1.1’s New Annotations

This article walks through creating a Spring AI 1.1 MCP Server using the new annotation‑based programming model, covering project setup, Maven dependencies, YAML configuration, replacing @Tool with @McpTool, exploring the new context parameters, and demonstrating dynamic schema support with concrete code examples and test results.

AI integrationBackendJava
0 likes · 13 min read
Building an MCP Server with Spring AI 1.1’s New Annotations
Su San Talks Tech
Su San Talks Tech
Dec 23, 2025 · Backend Development

How to Crush the One Billion Row Challenge: Java Performance Secrets Revealed

This article walks through the One Billion Row Challenge—parsing a 13 GB file of 1 billion temperature records—by examining the baseline Java solution, analyzing top contestants' results, and detailing a step‑by‑step series of low‑level optimizations (JVM choice, parallel I/O, custom parsing, bespoke hash tables, Unsafe and SWAR techniques) that shrink execution time from minutes to under two seconds.

GraalVMJavaOne Billion Row Challenge
0 likes · 20 min read
How to Crush the One Billion Row Challenge: Java Performance Secrets Revealed
Architect Chen
Architect Chen
Dec 23, 2025 · Backend Development

How to Reduce Java GC Pauses from 200 ms to 20 ms: A Practical Tuning Guide

This guide explains how to systematically analyze and optimize Java garbage‑collection pauses—cutting typical 200 ms stalls down to around 20 ms—by enabling detailed logs, selecting the right collector, tuning heap and generation settings, minimizing allocation, handling large objects, and balancing GC threads with CPU resources.

GCJVMJava
0 likes · 5 min read
How to Reduce Java GC Pauses from 200 ms to 20 ms: A Practical Tuning Guide
Senior Xiao Ying
Senior Xiao Ying
Dec 23, 2025 · Backend Development

Master Bidirectional JSON↔CSV Conversion in Spring Boot Quickly

This guide explains how to perform bidirectional conversion between JSON and CSV in Spring Boot using lightweight open‑source libraries such as Jackson, Apache Commons CSV or OpenCSV, as well as commercial APIs, covering serialization, deserialization, custom handling of nested objects, and provides complete code examples.

Apache Commons CSVCSVJSON
0 likes · 6 min read
Master Bidirectional JSON↔CSV Conversion in Spring Boot Quickly
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Dec 23, 2025 · Backend Development

Mastering Redis Distributed Locks: From SETNX to RedLock and WatchDog

This article walks through the evolution of Redis distributed locks—from basic SETNX mutual exclusion to atomic SET with expiration, Lua‑based safe unlocking, Redisson's WatchDog auto‑renewal, and the RedLock algorithm—highlighting pitfalls, best‑practice implementations, and interview‑style Q&A for robust production use.

JavaRedisRedisson
0 likes · 15 min read
Mastering Redis Distributed Locks: From SETNX to RedLock and WatchDog
Top Architect
Top Architect
Dec 22, 2025 · Backend Development

Graceful Shutdown of Java Applications: kill Commands, JVM Hooks, and Spring Boot Actuator

This article explains how to perform a graceful shutdown of Java services by using Linux kill signals, configuring JVM SignalHandler and Runtime shutdown hooks, releasing resources such as thread pools and sockets, and exposing a Spring Boot Actuator endpoint for controlled termination, complete with code examples and configuration details.

Graceful ShutdownJVMJava
0 likes · 16 min read
Graceful Shutdown of Java Applications: kill Commands, JVM Hooks, and Spring Boot Actuator
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 22, 2025 · Fundamentals

Why Is StringBuilder Faster Than StringBuffer? Understanding Java’s Mutable vs Immutable Strings

This article explains the fundamental differences between Java's String, StringBuilder, and StringBuffer—covering immutability, thread‑safety, internal caching mechanisms, and performance characteristics—while providing concrete code examples that illustrate how each class behaves in single‑threaded and multi‑threaded scenarios.

JavaStringStringBuffer
0 likes · 6 min read
Why Is StringBuilder Faster Than StringBuffer? Understanding Java’s Mutable vs Immutable Strings
macrozheng
macrozheng
Dec 22, 2025 · Backend Development

Why Your Java ThreadPool Threads Aren’t Releasing and How Shutdown Fixes It

The article investigates a Java application that accumulated nearly a thousand waiting threads without high CPU or memory usage, identifies a custom FixedThreadPool as the cause, explains how thread pools become GC roots, and demonstrates that calling shutdown or shutdownNow properly releases both threads and the pool.

ExecutorServiceGarbageCollectionJVM
0 likes · 13 min read
Why Your Java ThreadPool Threads Aren’t Releasing and How Shutdown Fixes It
LuTiao Programming
LuTiao Programming
Dec 21, 2025 · Backend Development

Can Java 23 and Spring Boot 3.3.4 Double Your Development Speed with AI‑Generated Tests?

The article examines why test automation is essential for cloud‑native microservices, cites the 2024 DORA report, outlines a testing pyramid, reviews AI‑driven testing tools, demonstrates a Diffblue Cover setup with Java 23 and Spring Boot 3.3.4, and concludes that AI shifts testing from manual labor to intelligent engineering capability.

AI testingCloud NativeDiffblue
0 likes · 9 min read
Can Java 23 and Spring Boot 3.3.4 Double Your Development Speed with AI‑Generated Tests?
Architect
Architect
Dec 21, 2025 · Backend Development

Mastering Spring Event Listeners: From Coffee Shop Analogy to High‑Throughput Architecture

This article uses a coffee‑shop analogy to explain Spring event listeners, demonstrates how to define, publish, and handle events, presents three techniques for handling massive traffic, shares real‑world incidents and lessons, compares listeners with MQ, and offers performance‑tuning tips and best‑practice rules.

JavaPerformanceSpring
0 likes · 10 min read
Mastering Spring Event Listeners: From Coffee Shop Analogy to High‑Throughput Architecture
Top Architect
Top Architect
Dec 21, 2025 · Information Security

Securing API Calls with Hybrid Symmetric‑Asymmetric Encryption and HTTPS Principles

This article presents a comprehensive design for API request and response protection that combines symmetric and asymmetric encryption, HTTPS fundamentals, and WeChat Pay specific cryptographic mechanisms, detailing key exchange, data signing, parameter handling, implementation code, common pitfalls, and a security analysis.

API SecurityHTTPSHutool
0 likes · 14 min read
Securing API Calls with Hybrid Symmetric‑Asymmetric Encryption and HTTPS Principles
Java Companion
Java Companion
Dec 21, 2025 · Backend Development

Eliminate Messy Login Logic: Unified Multi‑Channel Authentication with Spring Boot Factory & Strategy Patterns

This article demonstrates how to replace tangled if‑else login code with a clean Spring Boot solution that combines the Factory and Strategy patterns, enabling easy addition of multiple authentication methods such as password, WeChat, SMS, and future providers while improving extensibility, readability, and testability.

BackendFactory PatternJava
0 likes · 12 min read
Eliminate Messy Login Logic: Unified Multi‑Channel Authentication with Spring Boot Factory & Strategy Patterns
SpringMeng
SpringMeng
Dec 21, 2025 · Backend Development

A Java Packaging Tool That Enables Double‑Click Execution

The author reviews common Java desktop packaging methods—GraalVM, JLink, Exe4J, batch scripts, and plain JAR—detailing their advantages and drawbacks, then demonstrates a custom WinForm‑based packaging utility that bundles a Swing application and a trimmed JRE into a single executable for double‑click launch.

Exe4JGraalVMJLink
0 likes · 6 min read
A Java Packaging Tool That Enables Double‑Click Execution
Architect's Guide
Architect's Guide
Dec 21, 2025 · Backend Development

How Spring Solves Circular Dependencies: Inside the Three‑Level Cache

This article provides a detailed walkthrough of Spring's circular‑dependency resolution, explaining the three‑level cache mechanism, step‑by‑step bean creation flow, and the underlying source‑code logic, complete with diagrams and code examples for deep understanding.

AOPDependency InjectionJava
0 likes · 12 min read
How Spring Solves Circular Dependencies: Inside the Three‑Level Cache
LuTiao Programming
LuTiao Programming
Dec 20, 2025 · Fundamentals

Is Java Dead by 2026? Why Kotlin Is Winning the Language War

The article argues that Java’s legacy null‑pointer crashes are driving teams toward Kotlin’s built‑in null safety, sealed classes, data classes, extension and scope functions, coroutines, Compose Multiplatform, and context parameters, making Kotlin the preferred JVM language for new projects by 2026.

Compose MultiplatformCoroutinesData Classes
0 likes · 7 min read
Is Java Dead by 2026? Why Kotlin Is Winning the Language War
Ray's Galactic Tech
Ray's Galactic Tech
Dec 20, 2025 · Backend Development

Production-Ready Idempotency for RocketMQ Duplicate Consumption (Full Code)

To reliably handle RocketMQ's at-least-once delivery semantics, this guide explains why duplicate consumption is inevitable, outlines three defensive layers—Redis‑based idempotency, database unique constraints, and state‑machine checks—provides production‑grade Java code, and details ACK/retry strategies and monitoring practices for robust systems.

JavaRedisRocketMQ
0 likes · 9 min read
Production-Ready Idempotency for RocketMQ Duplicate Consumption (Full Code)
IT Services Circle
IT Services Circle
Dec 20, 2025 · Backend Development

Lenovo Backend Interview Secrets: Deadlocks, DNS, TLS & Java ArrayList

The article examines Lenovo’s 2023 graduate hiring salaries across cities, roles, and education levels, then shares a recent backend interview experience, detailing questions on deadlocks, networking layers, DNS resolution, TLS handshakes, common data structures, and Java’s ArrayList implementation, offering practical insights and recommendations.

Backend DevelopmentData StructuresJava
0 likes · 19 min read
Lenovo Backend Interview Secrets: Deadlocks, DNS, TLS & Java ArrayList
Top Architect
Top Architect
Dec 20, 2025 · Backend Development

Master Null Checks in Java: When to Use StringUtils, ObjectUtils, and CollectionUtils

This article explains how to replace repetitive null‑checks in Java with the appropriate utility classes—StringUtils for strings, ObjectUtils for objects, arrays, lists and maps, and CollectionUtils for collections—providing step‑by‑step guidance, code examples, and a discussion of each method's limitations.

BestPracticesCollectionUtilsJava
0 likes · 8 min read
Master Null Checks in Java: When to Use StringUtils, ObjectUtils, and CollectionUtils
Tech Freedom Circle
Tech Freedom Circle
Dec 20, 2025 · Backend Development

How SpringBoot Loads Classes: Deep Dive into ClassLoaders and Bean Creation

This article dissects the SpringBoot class‑loading mechanism, explaining how the JVM parent‑delegation model is selectively overridden with custom class loaders like LaunchedURLClassLoader and RestartClassLoader, and how these changes integrate with Spring's bean lifecycle, auto‑configuration, and practical troubleshooting techniques.

@BeanAutoConfigurationClassLoader
0 likes · 37 min read
How SpringBoot Loads Classes: Deep Dive into ClassLoaders and Bean Creation
Programmer1970
Programmer1970
Dec 19, 2025 · Industry Insights

Top 30 Must‑Watch Java Open‑Source Projects for 2025

This article ranks the 30 most popular Java open‑source projects in 2025, summarizing their stars, activity and core features while highlighting ecosystem trends such as AI integration, low‑code acceleration, cloud‑native maturity, domestic adoption and the evolution of microservice governance.

AICloud NativeJava
0 likes · 9 min read
Top 30 Must‑Watch Java Open‑Source Projects for 2025
JavaGuide
JavaGuide
Dec 19, 2025 · Backend Development

IntelliJ IDEA 2025.3.1: Critical Fixes and the Rollback of Query Console

IntelliJ IDEA 2025.3.1 quickly follows the 2025.3 major release, fixing over 200 issues, reinstating the classic Query Console, addressing WSL‑related Java debugging problems, stabilizing Gradle/Maven sync for large multi‑module projects, improving Spring tooling, Java debugging, Kotlin‑MongoDB support, and correcting terminal and TypeScript bugs.

2025.3.1IntelliJ IDEAJava
0 likes · 6 min read
IntelliJ IDEA 2025.3.1: Critical Fixes and the Rollback of Query Console
LuTiao Programming
LuTiao Programming
Dec 18, 2025 · Backend Development

Think You Understand Exceptions? Senior Java Engineers’ Real Exception‑Handling Practices (99% Get It Wrong)

Most Java developers mistakenly equate writing try‑catch blocks with proper exception handling, leading to lost context, noisy logs, and fragile code, while senior engineers employ custom unchecked exceptions, a layered hierarchy, global handlers, RFC‑7807 responses, and observability tools to build predictable, traceable, and recoverable systems.

BackendGlobalExceptionHandlerJava
0 likes · 8 min read
Think You Understand Exceptions? Senior Java Engineers’ Real Exception‑Handling Practices (99% Get It Wrong)
Architect
Architect
Dec 18, 2025 · Backend Development

Why Graceful Shutdown Is Essential for Spring Event and How to Avoid Common Pitfalls

This article shares hard‑learned production experience on using Spring Event, explaining why services must shut down gracefully before publishing events, how startup timing can cause event loss, which business scenarios fit the publish‑subscribe model, and practical reliability techniques such as retries and idempotency.

EventJavaSpring
0 likes · 11 min read
Why Graceful Shutdown Is Essential for Spring Event and How to Avoid Common Pitfalls
Code Ape Tech Column
Code Ape Tech Column
Dec 18, 2025 · Backend Development

How to Co‑exist Multiple DataSources in Spring Without Switching?

This guide explains the concept of multi‑DataSource coexistence, when it is appropriate, step‑by‑step configuration for MySQL and TDengine, transaction manager handling, custom annotations, mapper scanning, differences from dynamic routing, common pitfalls, and best‑practice usage in a Spring‑MyBatis backend.

JavaMulti-DataSourceMyBatis
0 likes · 13 min read
How to Co‑exist Multiple DataSources in Spring Without Switching?
Java Companion
Java Companion
Dec 18, 2025 · Backend Development

Building a High‑Performance Sensitive‑Word Filter with SpringBoot and DFA

This article explains why traditional string‑search and regex methods struggle with large keyword sets, introduces the deterministic finite automaton (DFA) approach using a Trie structure for linear‑time matching, provides full Java implementations, and discusses real‑world applications and advanced optimizations such as double‑array Tries, Aho‑Corasick, and sharding with Bloom filters.

DFAJavaSensitiveWordFilter
0 likes · 17 min read
Building a High‑Performance Sensitive‑Word Filter with SpringBoot and DFA
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Dec 18, 2025 · Backend Development

Mastering Two-Phase Commit: Theory, XA & JTA in Java

This article explains why local transactions fail in micro‑service architectures, introduces the Two‑Phase Commit (2PC) protocol with its coordinator and participant roles, details each phase with examples, shows how XA and JTA implement 2PC in Java, and discusses its drawbacks and interview‑ready alternatives.

2PCDistributed TransactionsJTA
0 likes · 14 min read
Mastering Two-Phase Commit: Theory, XA & JTA in Java
Xiao Liu Lab
Xiao Liu Lab
Dec 17, 2025 · Cloud Native

Deploy SpringBoot JAR and Legacy WAR with Docker + Nginx in 5 Minutes

This guide shows how to containerize Java SpringBoot JAR or traditional WAR projects with Docker and Nginx, providing a unified, reproducible deployment pipeline that eliminates environment conflicts, simplifies port management, and enables seamless development‑to‑production transitions.

DockerDocker ComposeJava
0 likes · 13 min read
Deploy SpringBoot JAR and Legacy WAR with Docker + Nginx in 5 Minutes
Architecture Digest
Architecture Digest
Dec 17, 2025 · Backend Development

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

MyBatis-Flex is a lightweight, high-performance MyBatis enhancement offering flexible CRUD, advanced QueryWrapper, extensive database support, and benchmarked speeds up to ten times faster than MyBatis-Plus, with a step-by-step quick-start guide covering table creation, Maven setup, Spring Boot configuration, entity mapping, and usage examples.

Backend DevelopmentJavaMyBatis-Flex
0 likes · 9 min read
Why MyBatis-Flex Beats MyBatis-Plus: Features, Benchmarks, and Quick Start
Su San Talks Tech
Su San Talks Tech
Dec 17, 2025 · Fundamentals

What’s New in IntelliJ IDEA 2025.3 Unified Edition? A Feature Deep‑Dive

IntelliJ IDEA 2025.3 merges Ultimate and Community editions into a single installer, unlocks many formerly premium features for free users, adds command completion, full Java 25 support, a new Islands theme, AI enhancements, expanded framework integrations, and a suite of productivity plugins for modern development workflows.

AICommand CompletionIDE
0 likes · 12 min read
What’s New in IntelliJ IDEA 2025.3 Unified Edition? A Feature Deep‑Dive
Top Architect
Top Architect
Dec 17, 2025 · Backend Development

Zero‑Downtime SpringBoot Updates: Share the Same Port Between Old and New Instances

This article explains how to update a SpringBoot application without stopping the service by letting the old and new processes share the same port, detailing the underlying Tomcat and ServletContainerInitializer mechanisms, providing a step‑by‑step implementation and a demo for seamless zero‑downtime deployments.

JavaPortSharingServlet
0 likes · 10 min read
Zero‑Downtime SpringBoot Updates: Share the Same Port Between Old and New Instances
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Dec 17, 2025 · Backend Development

When to Share or Isolate Thread Pools? A Deep Dive for Java Backend Architects

This article explains the trade‑offs between using a shared thread pool and creating dedicated pools in Java backend services, outlines scenario‑based decision rules, provides concrete Spring‑Boot configuration examples, and offers advanced dynamic tuning and interview‑style Q&A for reliable concurrency management.

JavaPerformanceSpring Boot
0 likes · 14 min read
When to Share or Isolate Thread Pools? A Deep Dive for Java Backend Architects
Su San Talks Tech
Su San Talks Tech
Dec 17, 2025 · Backend Development

Secure Your Spring Boot Apps: Easy Config and Field Encryption with Jasypt

This guide explains why sensitive configuration and user data must be encrypted in Spring Boot projects, demonstrates how to use Jasypt for property‑level encryption and custom AOP‑based field masking, and dives into the underlying PBE algorithm and source‑code mechanics.

AOPConfiguration EncryptionField Masking
0 likes · 14 min read
Secure Your Spring Boot Apps: Easy Config and Field Encryption with Jasypt
FunTester
FunTester
Dec 17, 2025 · Backend Development

How Contract Testing with Pact Prevents API Breakages in Microservices

This article explains why traditional unit and integration tests miss cross‑team API mismatches in microservices, introduces contract testing with the Pact framework, shows consumer and provider test implementations, describes using a Pact Broker, and offers production‑grade strategies and best‑practice recommendations.

API CompatibilityCI/CDContract Testing
0 likes · 10 min read
How Contract Testing with Pact Prevents API Breakages in Microservices
LuTiao Programming
LuTiao Programming
Dec 16, 2025 · Fundamentals

Stop Misusing Constants: Why Java Enums Are Replacing static final

The article explains why traditional static final String constants are error‑prone and demonstrates how Java enums—introduced in Java 5—provide stronger type safety, clearer semantics, built‑in methods, and safer switch handling, making them a superior modeling choice for fixed, related values.

DesignEnumJava
0 likes · 8 min read
Stop Misusing Constants: Why Java Enums Are Replacing static final
Woodpecker Software Testing
Woodpecker Software Testing
Dec 16, 2025 · Backend Development

Generating Password Recovery Backend Code with ChatGPT

This article walks through building a complete password‑recovery feature for a Java web application, detailing the workflow, database schema, validation logic, JSP integration, controller design, and optional email/SMS notification code generated by ChatGPT.

JSPJavaPassword Recovery
0 likes · 37 min read
Generating Password Recovery Backend Code with ChatGPT
Architecture Digest
Architecture Digest
Dec 16, 2025 · Backend Development

What’s New in IntelliJ IDEA 2025.3? 800+ Fixes and a Unified Release

IntelliJ IDEA 2025.3 introduces a unified distribution, extensive Spring and language support, improved Git integration, terminal and build tool enhancements, better web development handling for large monorepos, and numerous performance optimizations, all while fixing over 800 issues across the IDE.

Development ToolsIDEIntelliJ IDEA
0 likes · 6 min read
What’s New in IntelliJ IDEA 2025.3? 800+ Fixes and a Unified Release
macrozheng
macrozheng
Dec 16, 2025 · Backend Development

Master Spring Task: Build, Schedule, and Optimize Timed Jobs in Spring Boot

This guide explains what Spring Task is, walks through three steps to set up scheduled jobs in Spring Boot, demystifies Cron expressions, showcases common use cases, offers advanced configuration tips, warns about pitfalls, and outlines performance‑tuning and future directions for reliable backend scheduling.

Backend DevelopmentCronJava
0 likes · 9 min read
Master Spring Task: Build, Schedule, and Optimize Timed Jobs in Spring Boot
JakartaEE China Community
JakartaEE China Community
Dec 16, 2025 · Artificial Intelligence

Build a Retrieval‑Augmented Generation (RAG) System with Langchain4j and Ollama 3

This guide walks through the importance of Retrieval‑Augmented Generation, outlines the core Langchain4j and Ollama 3 components, and provides a complete Java example—including Maven setup, document ingestion, embedding creation, similarity search, prompt construction, and response generation—to demonstrate a functional RAG pipeline.

EmbeddingJavaLLM
0 likes · 9 min read
Build a Retrieval‑Augmented Generation (RAG) System with Langchain4j and Ollama 3
Three Knives
Three Knives
Dec 15, 2025 · Backend Development

Why JDK’s Built‑in GZIP Is Inefficient and How Feat’s Custom Stream Solves It

The article examines the blocking‑IO and loop‑blocking problems of Java’s standard GZIPInputStream in high‑concurrency async scenarios, then details Feat framework’s reimplementation with an async‑friendly state‑machine design, fine‑grained state management, memory optimizations, full RFC 1952 compliance, and provides concrete code examples.

Backend DevelopmentCompressionFeat framework
0 likes · 8 min read
Why JDK’s Built‑in GZIP Is Inefficient and How Feat’s Custom Stream Solves It
IT Services Circle
IT Services Circle
Dec 14, 2025 · Backend Development

What Lenovo Backend Interview Reveals: Salary Insights, Deadlock Basics, DNS, TLS Handshake, and Java ArrayList Deep Dive

This article shares Lenovo's 2026 graduate hiring salary breakdown, explains deadlock conditions and prevention, outlines DNS resolution steps, details the TLS handshake process, and provides an in‑depth guide to Java's ArrayList implementation, performance, and thread‑safety concerns.

DNSJavaSalary Analysis
0 likes · 18 min read
What Lenovo Backend Interview Reveals: Salary Insights, Deadlock Basics, DNS, TLS Handshake, and Java ArrayList Deep Dive
IT Services Circle
IT Services Circle
Dec 14, 2025 · Backend Development

Why Do Companies Still Stick to JDK 8 When JDK 25 Is Available?

Despite the release of JDK 25, many enterprises continue using JDK 8 due to compatibility challenges, mature ecosystem, stability, team familiarity, third‑party library support, performance trade‑offs, and cost considerations, making the upgrade decision a complex balance of technical and business factors.

Enterprise DevelopmentJDKJava
0 likes · 17 min read
Why Do Companies Still Stick to JDK 8 When JDK 25 Is Available?
Architect's Tech Stack
Architect's Tech Stack
Dec 14, 2025 · 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 home‑grown Snowflake implementation that misused timestamps, IP‑based business IDs, and unconfigured worker/data‑center IDs, leading to collisions; the article analyzes the flaws, shares lessons, and recommends proven libraries and proper ID‑generation strategies.

BackendJavaSnowflake
0 likes · 7 min read
Why Our Custom Snowflake ID Generator Failed and How to Build a Reliable One
Dunmao Tech Hub
Dunmao Tech Hub
Dec 14, 2025 · Backend Development

Integrating Netty into Spring Boot for Custom Protocol Support

This guide explains how to embed the Netty framework within a Spring Boot application to handle custom protocols, covering Netty basics, Maven dependencies, server bootstrap configuration, custom decoder implementation, and event handler setup for robust, high‑performance asynchronous communication.

Backend DevelopmentJavaNetty
0 likes · 13 min read
Integrating Netty into Spring Boot for Custom Protocol Support
Java Companion
Java Companion
Dec 14, 2025 · Backend Development

Why Choose WebFlux Over Spring MVC for New Projects?

The article explains how Spring WebFlux replaces the thread‑per‑request blocking model of Spring MVC with an asynchronous, non‑blocking, reactive architecture that uses fewer threads for high‑concurrency I/O workloads, while also outlining its learning curve, ecosystem constraints, and practical decision guidelines for when to adopt it.

BackendJavaPerformance
0 likes · 13 min read
Why Choose WebFlux Over Spring MVC for New Projects?
LuTiao Programming
LuTiao Programming
Dec 14, 2025 · Backend Development

How Spring 6 + Boot 3 Supercharges Startup Speed and Concurrency

The article dissects Spring 6 and Boot 3's core capabilities—JDK 17 baseline, Project Loom virtual threads, declarative @HttpExchange client, RFC 7807 error standardization, GraalVM native images, Jakarta EE 9 migration, and Prometheus monitoring—showing benchmark gains and a migration roadmap for high‑concurrency e‑commerce services.

GraalVMJavaPrometheus
0 likes · 9 min read
How Spring 6 + Boot 3 Supercharges Startup Speed and Concurrency
Java Architect Handbook
Java Architect Handbook
Dec 13, 2025 · Backend Development

Evolving Business Operation Logging: From AOP Annotations to Binlog Time Windows

This article examines the need for comprehensive business operation logging in a central system, outlines the benefits of audit, security, monitoring, and analysis, and walks through three progressive solutions—AOP with annotations, AOP with SpEL, and a Binlog‑based time‑window approach—detailing their implementations, trade‑offs, and architectural considerations.

AOPBinlogJava
0 likes · 20 min read
Evolving Business Operation Logging: From AOP Annotations to Binlog Time Windows
Su San Talks Tech
Su San Talks Tech
Dec 13, 2025 · Information Security

How to Use Apache Tika in Spring Boot for Sensitive Data Detection and DLP

This article explains Apache Tika's core features, architecture, and common use cases, then provides a step‑by‑step Spring Boot tutorial that integrates Tika to extract file content, detect personal identifiers with regex, and return results via a REST API for data‑loss‑prevention.

Apache TikaDLPFile Parsing
0 likes · 24 min read
How to Use Apache Tika in Spring Boot for Sensitive Data Detection and DLP
Java One
Java One
Dec 12, 2025 · Backend Development

Understanding Spring Bean Scopes: When Singleton Becomes Prototype

This article explains how Spring manages bean instances, compares singleton and prototype scopes with concrete code examples, and shows why two injected beans may be equal or different depending on the @Scope annotation applied to the component class.

Bean ScopeDependency InjectionJava
0 likes · 3 min read
Understanding Spring Bean Scopes: When Singleton Becomes Prototype
Java Architect Handbook
Java Architect Handbook
Dec 12, 2025 · Backend Development

Master Spring Task: Build, Optimize, and Scale Your Scheduled Jobs

This guide walks you through what Spring Task is, how to enable it in three simple steps, decode cron expressions, explore six real‑world use cases, unlock four advanced features, avoid common pitfalls, and apply performance‑tuning and future‑proofing techniques for robust Java scheduling.

CronJavaPerformance Optimization
0 likes · 11 min read
Master Spring Task: Build, Optimize, and Scale Your Scheduled Jobs
Huolala Tech
Huolala Tech
Dec 12, 2025 · Backend Development

How Lalamove Migrated 1000+ PHP Services to Java in One Year

Lalamove’s year‑long P2J project transformed over a thousand legacy PHP interfaces into Java, tackling complexity, stability, and efficiency challenges through standardized technical solutions, AI‑assisted code generation, rigorous testing, and disciplined project management, ultimately delivering faster, higher‑quality services.

AI AutomationBackend EngineeringJava
0 likes · 9 min read
How Lalamove Migrated 1000+ PHP Services to Java in One Year
Tech Freedom Circle
Tech Freedom Circle
Dec 12, 2025 · Backend Development

Why Redisson’s Reentrant Distributed Lock Relies on HINCRBY Increment and Decrement

The article explains how Redisson implements a re‑entrant distributed lock using Redis hash structures and the atomic HINCRBY command to manage client identity, re‑entry counting, concurrency safety, and graceful release, providing a complete technical analysis with code, Lua scripts, and best‑practice guidelines.

HINCRBYJavaLua script
0 likes · 34 min read
Why Redisson’s Reentrant Distributed Lock Relies on HINCRBY Increment and Decrement
Top Architect
Top Architect
Dec 11, 2025 · Backend Development

Mastering Java Plugin Architecture: From SPI to Spring Factories

This article explains how to implement plugin mechanisms in Java using SPI and Spring Boot's spring.factories, covering benefits, common approaches, detailed code examples, custom configuration loading, and a complete real‑world case study to guide developers in building extensible applications.

Dependency InjectionJavaSPI
0 likes · 22 min read
Mastering Java Plugin Architecture: From SPI to Spring Factories
Selected Java Interview Questions
Selected Java Interview Questions
Dec 11, 2025 · Backend Development

Master Maven Multi‑Module Design: Inheritance, Aggregation, and Private Repositories

This guide explains how to split a large Java project into Maven modules, use parent‑project inheritance and aggregation to share configurations, manage dependency versions with dependencyManagement, and configure a private repository for releasing SNAPSHOT and RELEASE artifacts, complete with practical code snippets and step‑by‑step instructions.

AggregationBackendInheritance
0 likes · 11 min read
Master Maven Multi‑Module Design: Inheritance, Aggregation, and Private Repositories
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 11, 2025 · Backend Development

Master Spring Boot 3: Real‑World Config File Tricks and Advanced Use Cases

This guide walks through Spring Boot 3's externalized configuration system, showing how to locate, rename, and override property files, use optional and wildcard locations, import additional resources, handle missing files, and apply profile‑specific settings with concrete command‑line examples and code snippets.

BackendConfig FilesExternalized Configuration
0 likes · 12 min read
Master Spring Boot 3: Real‑World Config File Tricks and Advanced Use Cases