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

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

Object CreationStringinterview
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.

Order CancellationRedisdelayed queue
0 likes · 8 min read
How to Auto‑Cancel Unpaid Orders in Spring Boot Within 30 Minutes
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.

JavaRedisStarter
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 25, 2026 · Backend Development

Why IDEA Warns on @Autowired but Not @Resource? A Deep Dive into Spring DI

This article examines Spring's common dependency injection methods, compares @Autowired and @Resource annotations, outlines the pros and cons of constructor, setter, and field injection, highlights the drawbacks of field injection, and explains why IntelliJ IDEA only flags @Autowired with a warning.

AutowiredBackendDependency Injection
0 likes · 7 min read
Why IDEA Warns on @Autowired but Not @Resource? A Deep Dive into Spring DI
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.

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