Java Architecture Diary
Author

Java Architecture Diary

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

509
Articles
0
Likes
2.2k
Views
0
Comments
Recent Articles

Latest from Java Architecture Diary

100 recent articles max
Java Architecture Diary
Java Architecture Diary
Nov 19, 2025 · Artificial Intelligence

Gemini 3 vs Claude Code: Which AI Generates a Better 3D Billiards Game?

This article introduces Google's Gemini 3 series and four free access channels, walks through using Google AI Studio, Antigravity IDE, and Gemini CLI, then conducts a hands‑on benchmark comparing Gemini 3 and Claude Code on generating a 3D HTML billiards game, analyzing speed, code quality, and execution results.

AI code generationAntigravity IDEClaude Code
0 likes · 7 min read
Gemini 3 vs Claude Code: Which AI Generates a Better 3D Billiards Game?
Java Architecture Diary
Java Architecture Diary
Nov 17, 2025 · Backend Development

Simplify Dynamic Bean Registration in Spring Boot 4 with the New BeanRegistrar API

This article explains how Spring Framework 7 introduces the BeanRegistrar interface to replace the cumbersome ImportBeanDefinitionRegistrar, demonstrating the new API with concise code examples, comparing old and new approaches, and providing a complete practical example for dynamically registering beans based on runtime configuration.

BeanRegistrarDynamic Bean RegistrationJava
0 likes · 11 min read
Simplify Dynamic Bean Registration in Spring Boot 4 with the New BeanRegistrar API
Java Architecture Diary
Java Architecture Diary
Nov 10, 2025 · Backend Development

Master Spring Boot 4 API Versioning: 4 Strategies & Real‑World Examples

Spring Boot 4 now natively supports API versioning with four strategies—Path Segment, Request Header, Query Parameter, and Media Type—offering intuitive configuration, smart routing, and seamless content negotiation, and the article provides detailed setup, code samples, and best‑practice guidance for reliable version control.

Backend DevelopmentConfigurationJava
0 likes · 16 min read
Master Spring Boot 4 API Versioning: 4 Strategies & Real‑World Examples
Java Architecture Diary
Java Architecture Diary
Nov 7, 2025 · Backend Development

How JSpecify and NullAway Bring Compile‑Time Null Safety to Spring Boot 4

Spring Boot 4 now embraces JSpecify’s null‑safety annotations, allowing developers to declare nullable and non‑null types at compile time; combined with the NullAway static analyzer, this shift eliminates mysterious NullPointerExceptions in production by making null contracts explicit, reducing defensive code, and improving maintainability.

Backend DevelopmentJSpecifyNull Safety
0 likes · 13 min read
How JSpecify and NullAway Bring Compile‑Time Null Safety to Spring Boot 4
Java Architecture Diary
Java Architecture Diary
Nov 5, 2025 · Fundamentals

Why Scala Has Been Ahead of Java for Over a Decade – A Feature‑by‑Feature Comparison

The article examines the recent push for modern features in Java, contrasts them with Scala implementations that have existed for years, and walks through functional programming, pattern matching, immutable collections, type inference, string interpolation, sealed classes, and concurrency with side‑by‑side code examples in both languages.

ConcurrencyImmutable CollectionsPattern Matching
0 likes · 17 min read
Why Scala Has Been Ahead of Java for Over a Decade – A Feature‑by‑Feature Comparison
Java Architecture Diary
Java Architecture Diary
Oct 17, 2025 · Backend Development

Mastering Immutability in Java: Records and Lombok @Value Made Simple

This article explores how Java Records and Lombok’s @Value annotation enable developers to create immutable objects, covering the definition of immutability, its benefits for thread safety and code simplicity, traditional implementation pitfalls, and concise modern approaches with practical code examples.

Backend DevelopmentJavaLombok
0 likes · 10 min read
Mastering Immutability in Java: Records and Lombok @Value Made Simple
Java Architecture Diary
Java Architecture Diary
Oct 14, 2025 · Artificial Intelligence

Why Enhanced Search Is Critical for AI‑Powered Vibe Coding

As large‑model capabilities grow, Vibe Coding lets developers describe requirements in natural language to generate code, but faces challenges of knowledge timeliness and code accuracy, prompting the need for enhanced search tools like Exa.ai and Context7 to ensure reliable, up‑to‑date code generation.

AI codingContext7Exa.ai
0 likes · 8 min read
Why Enhanced Search Is Critical for AI‑Powered Vibe Coding