Java Architecture Diary
Author

Java Architecture Diary

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

525
Articles
0
Likes
3.9k
Views
0
Comments
Recent Articles

Latest from Java Architecture Diary

100 recent articles max
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.

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

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

@RetryableConcurrencyLimitJava
0 likes · 7 min read
How Spring Framework 7.0 Simplifies Retry and Concurrency with Built‑in Resilience
Java Architecture Diary
Java Architecture Diary
Jul 21, 2025 · Backend Development

What’s New in Spring 7.0? Exploring the Modern JmsClient API

Spring 7.0 introduces JmsClient, a modern, stream‑oriented API for JMS messaging that mirrors the design of JdbcClient and RestClient, offering fluent creation, flexible destination configuration, rich QoS options, and simplified send/receive operations compared to the traditional JmsTemplate.

Backend DevelopmentJavaJmsClient
0 likes · 9 min read
What’s New in Spring 7.0? Exploring the Modern JmsClient API
Java Architecture Diary
Java Architecture Diary
Jun 25, 2025 · Artificial Intelligence

Build a Text‑to‑SQL Chatbot with Spring AI and DeepSeek LLM

This tutorial walks through creating a natural‑language‑to‑SQL chatbot using Spring AI, configuring a MySQL school database with Flyway, defining system prompts for a DeepSeek LLM, implementing service beans and a REST API, and interacting with the bot via curl commands.

DeepSeekJavaLLM
0 likes · 15 min read
Build a Text‑to‑SQL Chatbot with Spring AI and DeepSeek LLM