Java Architecture Diary
Author

Java Architecture Diary

Committed to sharing original, high‑quality technical articles; no fluff or promotional content.

504
Articles
0
Likes
1.1k
Views
0
Comments
Recent Articles

Latest from Java Architecture Diary

100 recent articles max
Java Architecture Diary
Java Architecture Diary
Jan 22, 2026 · Artificial Intelligence

Unlock Java Power with Claude Agent SDK: From One‑Shot to Reactive APIs

This article explains how Claude Code, a super‑intelligent AI agent, differs from traditional code‑completion tools, introduces its official SDK limitations, and provides a comprehensive guide to the community‑driven Claude Agent SDK for Java—including one‑shot, blocking, and reactive APIs and a practical RAG‑based Q&A example.

AI AgentClaude CodeJava SDK
0 likes · 10 min read
Unlock Java Power with Claude Agent SDK: From One‑Shot to Reactive APIs
Java Architecture Diary
Java Architecture Diary
Jan 8, 2026 · Backend Development

Why Tomcat Outperforms Jetty 15× with Virtual Threads in Spring Boot 4.0

A detailed benchmark shows that enabling Java virtual threads in Spring Boot 4.0 makes Tomcat handle up to fifteen times more requests than Jetty, while startup times remain similar, and the article explains the test setup, configuration steps, native image builds, and the reasons behind Jetty's limitation.

DockerJettyPerformance
0 likes · 10 min read
Why Tomcat Outperforms Jetty 15× with Virtual Threads in Spring Boot 4.0
Java Architecture Diary
Java Architecture Diary
Dec 29, 2025 · Information Security

Why Spring Authorization Server Merged into Spring Security 7.0 and How to Migrate

Spring Authorization Server has been integrated into Spring Security 7.0, ending its independent lifecycle; the article explains the three historical eras, the reasons for the merge, and provides concrete dependency and configuration changes—including Lambda DSL updates—to help developers migrate from SpringBoot3 to SpringBoot4 with minimal effort.

Authorization ServerJavaMigration
0 likes · 11 min read
Why Spring Authorization Server Merged into Spring Security 7.0 and How to Migrate
Java Architecture Diary
Java Architecture Diary
Dec 26, 2025 · Information Security

Secure Your Spring Boot 4 Apps with One Annotation: MFA Made Easy

This article explains how Spring Boot 4.0’s @EnableMultiFactorAuthentication annotation simplifies the implementation of password‑plus‑one‑time‑token multi‑factor authentication, providing step‑by‑step code examples, custom token services, endpoint‑level MFA configuration, and production‑grade considerations.

JavaMFAMulti-Factor Authentication
0 likes · 11 min read
Secure Your Spring Boot 4 Apps with One Annotation: MFA Made Easy
Java Architecture Diary
Java Architecture Diary
Dec 24, 2025 · Backend Development

Why Spring Boot 4 Breaks Your Tests and How to Fix It

Upgrading to Spring Boot 4 can cause missing @WebMvcTest, MockMvc, and other compilation errors because the framework modularizes its large autoconfigure JAR into many smaller starters, requiring updated dependencies and configuration changes to restore test execution and improve startup performance.

JavaMigrationSpring Boot
0 likes · 10 min read
Why Spring Boot 4 Breaks Your Tests and How to Fix It