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.

148
Articles
0
Likes
427
Views
0
Comments
Recent Articles

Latest from Java Architect Handbook

100 recent articles max
Java Architect Handbook
Java Architect Handbook
Mar 23, 2026 · Frontend Development

Mastering CORS and Cross‑Domain Solutions for Java Interviews

This guide explains the browser same‑origin policy, why cross‑origin restrictions exist, and presents five practical solutions—including CORS, proxy servers, JSONP, postMessage, and WebSocket—along with detailed configuration examples, code snippets, performance tips, and common interview follow‑up questions.

Browser securityCORSCross-Origin
0 likes · 13 min read
Mastering CORS and Cross‑Domain Solutions for Java Interviews
Java Architect Handbook
Java Architect Handbook
Mar 22, 2026 · Backend Development

Hidden 70 ms Delay in Spring Boot: Tomcat Embed Bug Triggered by Swagger UI

After optimizing a Spring Boot channel service, a mysterious extra ~100 ms appeared per request; detailed tracing with Arthas revealed that embedded Tomcat repeatedly loads Swagger UI META‑INF resources, causing a 70 ms overhead, which can be eliminated by upgrading Tomcat or removing the Swagger dependencies.

ArthasEmbedded Tomcat BugPerformance debugging
0 likes · 30 min read
Hidden 70 ms Delay in Spring Boot: Tomcat Embed Bug Triggered by Swagger UI
Java Architect Handbook
Java Architect Handbook
Mar 19, 2026 · Information Security

Why HTTPS Beats HTTP: Deep Dive for Java Interview Success

This article provides a comprehensive technical guide for Java interviewers, detailing HTTP’s security flaws, how HTTPS resolves them through SSL/TLS encryption, certificate verification, and hybrid cryptography, and includes handshake steps, performance comparisons, common follow‑up questions, and concise memory mnemonics.

HTTPHTTPSJava Interview
0 likes · 14 min read
Why HTTPS Beats HTTP: Deep Dive for Java Interview Success
Java Architect Handbook
Java Architect Handbook
Mar 18, 2026 · Information Security

How to Enable Fuzzy Search on Encrypted Data: Methods, Pros & Cons

This article analyzes three categories of techniques—naïve, conventional, and advanced—for performing fuzzy queries on encrypted fields, compares their memory and performance trade‑offs, provides concrete code examples and storage calculations, and recommends the most practical approach for production systems.

Fuzzy SearchQuery Optimizationdatabase-security
0 likes · 13 min read
How to Enable Fuzzy Search on Encrypted Data: Methods, Pros & Cons
Java Architect Handbook
Java Architect Handbook
Mar 16, 2026 · Backend Development

Cookie vs Session vs Token: Master Java Authentication for Interviews

This guide outlines interview focus points, core definitions, and deep analysis of Cookie, Session, and Token (JWT), compares their storage, security, scalability, and cross‑origin support, and provides high‑frequency follow‑up questions, common variants, memory mnemonics, and selection principles for Java authentication.

AuthenticationCookieJWT
0 likes · 15 min read
Cookie vs Session vs Token: Master Java Authentication for Interviews
Java Architect Handbook
Java Architect Handbook
Mar 13, 2026 · Backend Development

Boost Spring Boot Startup with Spring Data AOT Repositories

Spring Data AOT (Ahead‑of‑Time) repositories move reflection, method‑name parsing, JPQL generation and proxy creation from runtime to build time, dramatically speeding up Spring Boot 4 application startup, reducing memory usage, and surfacing configuration errors early in the compilation phase.

AOTJavaSpring Data
0 likes · 8 min read
Boost Spring Boot Startup with Spring Data AOT Repositories
Java Architect Handbook
Java Architect Handbook
Mar 12, 2026 · Backend Development

How Many Objects Does new String("abc") Actually Create?

This article explains why the interview question "String str = new String(\"abc\")" can create either one or two objects depending on JVM string pool state, detailing the JVM memory model, string pool mechanics, code examples, best practices, and common misconceptions.

JVMMemory ManagementObject Creation
0 likes · 9 min read
How Many Objects Does new String("abc") Actually Create?
Java Architect Handbook
Java Architect Handbook
Mar 9, 2026 · Backend Development

How to Auto‑Cancel Unpaid Orders in Spring Boot Within 30 Minutes

This article explains three practical ways to automatically cancel orders that remain unpaid for 30 minutes in a Spring Boot application, covering a scheduled task, a RabbitMQ delayed queue, and Redis key‑expiration events, with complete code examples and configuration steps.

Delayed QueueSpring Bootorder cancellation
0 likes · 8 min read
How to Auto‑Cancel Unpaid Orders in Spring Boot Within 30 Minutes