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.

111
Articles
0
Likes
217
Views
0
Comments
Recent Articles

Latest from Java Architect Handbook

100 recent articles max
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.

ExpressFrontendNode.js
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.

BackendJavaRule Engine
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 PoolJavainterview
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.

Client-side load balancingJavaLoadBalancer
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.

BackendJavaServlet
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 InterviewPrompt EngineeringRAG
0 likes · 12 min read
What Is Retrieval‑Augmented Generation (RAG) and Why It Matters for LLM Interviews
Java Architect Handbook
Java Architect Handbook
May 30, 2026 · Interview Experience

What Is IPv6 and How Does It Differ From IPv4? Interview Guide

This article explains IPv6 fundamentals, compares it with IPv4 across address length, header format, security and configuration, and provides interview‑ready insights such as SLAAC auto‑configuration, dual‑stack transition, and common follow‑up questions.

IP protocolIPv4IPv6
0 likes · 13 min read
What Is IPv6 and How Does It Differ From IPv4? Interview Guide