Java Architecture Diary
Author

Java Architecture Diary

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

507
Articles
0
Likes
1.3k
Views
0
Comments
Recent Articles

Latest from Java Architecture Diary

100 recent articles max
Java Architecture Diary
Java Architecture Diary
Sep 24, 2025 · Backend Development

Simplify AI-Powered HTTP Services with Spring’s New Service Registry

The article explains how Spring Framework 6’s @HttpExchange annotation and the new HTTP service registry introduced in Spring Framework 7 enable developers to declaratively define, configure, and manage AI‑driven HTTP clients as Spring beans, reducing boilerplate, supporting multiple providers, and integrating seamlessly with Spring Boot, Cloud, and Security.

AI integrationHTTP clientservice registry
0 likes · 11 min read
Simplify AI-Powered HTTP Services with Spring’s New Service Registry
Java Architecture Diary
Java Architecture Diary
Sep 22, 2025 · Backend Development

Unlock Massive Concurrency: How Java 25 Virtual Threads Supercharge Spring Apps

Java 25 introduces major upgrades to virtual threads, offering dramatically lower memory usage, near‑zero creation cost, and efficient I/O handling, and this guide explains their advantages, compares them with traditional thread pools and @Async, provides Spring Boot 3.5 configuration examples, and highlights pitfalls and best‑practice tips.

Thread Poolconcurrencyspring
0 likes · 8 min read
Unlock Massive Concurrency: How Java 25 Virtual Threads Supercharge Spring Apps
Java Architecture Diary
Java Architecture Diary
Sep 19, 2025 · Backend Development

Why ScopedValues Outperform ThreadLocal for Safe Context Management in Java

ScopedValues provide a more efficient, memory‑safe, and virtual‑thread‑friendly alternative to ThreadLocal for managing per‑thread context in Java, eliminating manual cleanup, reducing memory leaks, and simplifying context propagation across threads, as demonstrated by code examples and performance benchmarks.

PerformanceScopedValuesThreadLocal
0 likes · 6 min read
Why ScopedValues Outperform ThreadLocal for Safe Context Management in Java
Java Architecture Diary
Java Architecture Diary
Sep 17, 2025 · Fundamentals

What’s New in Java 25? Explore the Game‑Changing Features and Performance Boosts

Java 25, released on September 16 2025 as the next long‑term support version, introduces a suite of language, runtime, and security enhancements—including compact source files, pattern matching for primitive types, scoped values, a new Shenandoah GC, and a powerful vector API—aimed at improving developer productivity, application performance, and sustainability.

JEPconcurrencyjava-25
0 likes · 11 min read
What’s New in Java 25? Explore the Game‑Changing Features and Performance Boosts
Java Architecture Diary
Java Architecture Diary
Sep 1, 2025 · Backend Development

How mica-mqtt 2.5.4 Simplifies Dynamic Topic Parsing with Native Annotation Support

mica-mqtt 2.5.4 introduces native Topic variable parsing via enhanced @MqttClientSubscribe and @MqttServerFunction annotations, enabling effortless handling of dynamic MQTT topics, along with performance boosts, server subscription management upgrades, flexible heartbeat detection, and several breaking changes for improved code maintainability.

Backend DevelopmentIoTJava
0 likes · 9 min read
How mica-mqtt 2.5.4 Simplifies Dynamic Topic Parsing with Native Annotation Support
Java Architecture Diary
Java Architecture Diary
Aug 5, 2025 · Backend Development

Build a Spring Boot MCP Server to Let AI Safely Call Your App

This guide walks you through creating a lightweight Spring Boot MCP service that securely exposes CRM data as AI‑callable tools, covering project setup, data model definition, tool implementation, registration, and both STDIO and SSE client connections for seamless AI integration.

MCPspring-boot
0 likes · 9 min read
Build a Spring Boot MCP Server to Let AI Safely Call Your App
Java Architecture Diary
Java Architecture Diary
Jul 28, 2025 · Backend Development

How Spring Framework 7.0 Simplifies Retry and Concurrency with Built‑in Resilience

Spring Framework 7.0 introduces built‑in resilience annotations @Retryable and @ConcurrencyLimit, eliminating the need for external spring‑retry dependencies and enabling declarative retry, exponential backoff, and concurrency throttling—including reactive support—so developers can write cleaner, more robust Java backend services.

ConcurrencyLimitJavaResilience
0 likes · 7 min read
How Spring Framework 7.0 Simplifies Retry and Concurrency with Built‑in Resilience