Java Architect Handbook
Author

Java Architect Handbook

Focused on Java interview questions and practical article sharing, covering algorithms, databases, Spring Boot, microservices, high concurrency, JVM, Docker containers, and ELK-related knowledge. Looking forward to progressing together with you.

182
Articles
0
Likes
1.4k
Views
0
Comments
Recent Articles

Latest from Java Architect Handbook

100 recent articles max
Java Architect Handbook
Java Architect Handbook
Jun 13, 2026 · Artificial Intelligence

Why Fixed-Size Chunking Fails in RAG: Interview Insights

The article explains that fixed-size chunking in Retrieval‑Augmented Generation ignores semantic boundaries, causing broken sentences, scattered topics, redundant or missing information, and noisy retrieval, and it evaluates overlap as a partial fix while presenting better alternatives such as recursive, semantic, structural, and agentic chunking along with practical production tips and future trends.

AI InterviewChunkingLangChain
0 likes · 12 min read
Why Fixed-Size Chunking Fails in RAG: Interview Insights
Java Architect Handbook
Java Architect Handbook
Jun 12, 2026 · Frontend Development

Is WebSocket Still the Best Choice for Real-Time Push? Compare with SSE and Polling

This article examines three server‑to‑client push methods—polling, WebSocket, and Server‑Sent Events (SSE)—detailing their mechanisms, browser compatibility, pros and cons, suitable scenarios, and provides step‑by‑step demos with Node.js/Express and plain HTML to help developers choose the most efficient solution for real‑time messaging.

ExpressNode.jsPolling
0 likes · 16 min read
Is WebSocket Still the Best Choice for Real-Time Push? Compare with SSE and Polling
Java Architect Handbook
Java Architect Handbook
Jun 11, 2026 · Backend Development

Building a Visual Rule Engine with Spring Boot and URule

This article walks through the motivation, architecture, installation steps, core concepts, and practical usage of integrating the URule visual rule engine into a Spring Boot project, including library files, wizard and script rule sets, decision tables, and a real‑world promotion scenario.

JavaRule EngineSpring Boot
0 likes · 17 min read
Building a Visual Rule Engine with Spring Boot and URule
Java Architect Handbook
Java Architect Handbook
Jun 9, 2026 · Backend Development

What’s the Dubbo Service Call Process? A 10‑Step Deep Dive

The article breaks down a complete Dubbo RPC invocation into ten precise steps—five on the consumer side and five on the provider side—explaining each core component such as Proxy, Filter, Cluster, LoadBalance, Protocol, and Transport, and addresses common interview follow‑up questions about clustering, load balancing, and sync vs async calls.

DubboJavaRPC
0 likes · 13 min read
What’s the Dubbo Service Call Process? A 10‑Step Deep Dive
Java Architect Handbook
Java Architect Handbook
Jun 8, 2026 · Fundamentals

What’s the Relationship Between the JVM Runtime Constant Pool and the String Constant Pool?

This article explains the three Java constant pools—class file, runtime, and string—detailing their evolution from compilation to execution, their memory locations across JDK versions, how string literals are interned, code examples illustrating their behavior, common misconceptions, and typical interview follow‑up questions.

Constant PoolInterviewJVM
0 likes · 15 min read
What’s the Relationship Between the JVM Runtime Constant Pool and the String Constant Pool?
Java Architect Handbook
Java Architect Handbook
Jun 6, 2026 · Backend Development

Spring Cloud LoadBalancer vs Ribbon: Key Differences and Why Ribbon Was Replaced

The article explains the functional and architectural differences between Spring Cloud LoadBalancer and Netflix Ribbon, why Ribbon entered maintenance mode and was replaced, outlines migration steps, compares configuration, caching, reactive support, and provides code examples and common interview questions for Java developers.

JavaLoadBalancerRibbon
0 likes · 12 min read
Spring Cloud LoadBalancer vs Ribbon: Key Differences and Why Ribbon Was Replaced
Java Architect Handbook
Java Architect Handbook
Jun 5, 2026 · Artificial Intelligence

What Is Embedding in RAG and Why Does It Use 1536 Dimensions?

The article explains that embedding converts text into a 1536‑dimensional floating‑point vector that serves as a semantic fingerprint, describes how the vector is generated, why 1536 dimensions are chosen, how similarity is measured, and provides Java Spring AI code examples along with model‑selection guidance and common interview pitfalls.

DimensionEmbeddingOpenAI
0 likes · 16 min read
What Is Embedding in RAG and Why Does It Use 1536 Dimensions?
Java Architect Handbook
Java Architect Handbook
Jun 4, 2026 · Backend Development

Zero‑Downtime Code Updates in Spring Boot by Sharing a Single Port

The article explains how to update a Spring Boot application without stopping the service by letting two processes share the same port, detailing the underlying Tomcat and ServletContainerInitializer mechanisms, the step‑by‑step implementation, and a demo that shows sub‑second downtime during hot swaps.

Hot ReloadJavaServlet
0 likes · 10 min read
Zero‑Downtime Code Updates in Spring Boot by Sharing a Single Port
Java Architect Handbook
Java Architect Handbook
Jun 3, 2026 · Artificial Intelligence

What Is Retrieval‑Augmented Generation (RAG) and Why It Matters for LLM Interviews

The article explains Retrieval‑Augmented Generation (RAG), why large language models suffer from hallucination, knowledge cutoff, domain gaps and traceability issues, and how RAG’s offline‑online pipeline, comparison with fine‑tuning and long‑context approaches, and emerging trends like Agentic and Graph‑RAG can be discussed in technical interviews.

AI InterviewRAGlarge language model
0 likes · 12 min read
What Is Retrieval‑Augmented Generation (RAG) and Why It Matters for LLM Interviews