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.

91
Articles
0
Likes
19
Views
0
Comments
Recent Articles

Latest from Java Architect Handbook

91 recent articles
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.

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

JVMObject Creationinterview
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.

RedisSpring Bootdelayed queue
0 likes · 8 min read
How to Auto‑Cancel Unpaid Orders in Spring Boot Within 30 Minutes
Java Architect Handbook
Java Architect Handbook
Mar 1, 2026 · Backend Development

When to Use #{} vs ${} in MyBatis? A Deep Dive for Java Interviews

This article explains the interview focus on MyBatis placeholders, detailing the syntax, security implications, performance differences, appropriate scenarios, best‑practice guidelines, common pitfalls, and provides concrete code examples to help candidates master #{} and ${} usage.

JavaMyBatisPerformance
0 likes · 9 min read
When to Use #{} vs ${} in MyBatis? A Deep Dive for Java Interviews
Java Architect Handbook
Java Architect Handbook
Feb 28, 2026 · Backend Development

Prevent Duplicate Submissions and Rate‑Limit APIs with the Guardian Spring Boot Starter

This article introduces Guardian, a lightweight Spring Boot starter that provides anti‑duplicate‑submission protection and request rate limiting, explains how to integrate it via Maven, configure it with annotations or YAML, and details its internal workflow, storage options, concurrency handling, and monitoring capabilities.

JavaRedisSpring Boot
0 likes · 17 min read
Prevent Duplicate Submissions and Rate‑Limit APIs with the Guardian Spring Boot Starter
Java Architect Handbook
Java Architect Handbook
Feb 27, 2026 · Databases

Enable MySQL Read/Write Splitting with Router 8.2 and InnoDB ReplicaSet

MySQL 8.2 introduces native read/write splitting via MySQL Router, allowing automatic routing of reads to replicas and writes to the primary source; this guide shows how to set up a simple InnoDB ReplicaSet, configure Router, verify traffic flow, and leverage access mode commands for fine‑grained control.

Database ConfigurationInnoDB ReplicaSetMySQL
0 likes · 6 min read
Enable MySQL Read/Write Splitting with Router 8.2 and InnoDB ReplicaSet
Java Architect Handbook
Java Architect Handbook
Feb 24, 2026 · Backend Development

How RocketMQ Guarantees Ordered Message Delivery: Deep Dive and Best Practices

This article explains the interview focus points for RocketMQ ordered messages, details the partition‑ordered model and its two‑step guarantee mechanism, provides in‑depth analysis of producer and consumer processes, includes full Java code examples, and outlines best practices, pitfalls, and common misconceptions.

JavaMessageListenerOrderlyMessageQueueSelector
0 likes · 10 min read
How RocketMQ Guarantees Ordered Message Delivery: Deep Dive and Best Practices