Java Architecture Diary
Author

Java Architecture Diary

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

523
Articles
0
Likes
3.1k
Views
0
Comments
Recent Articles

Latest from Java Architecture Diary

100 recent articles max
Java Architecture Diary
Java Architecture Diary
Aug 14, 2026 · Artificial Intelligence

Use JVM Native Vector API to Remove an External Vector Store in RAG

This guide shows how to replace external vector databases like Milvus or Qdrant with the JVM’s incubating Vector API and the integrallis/vectors library, providing built‑in distance kernels, indexing (FLAT, HNSW, IVF), and persistence, and demonstrates integration with Spring AI and LangChain4j through concise code examples and required JVM flags.

JVM Vector APIJavaLangChain4j
0 likes · 7 min read
Use JVM Native Vector API to Remove an External Vector Store in RAG
Java Architecture Diary
Java Architecture Diary
Aug 12, 2026 · Cloud Native

Why Upgrading Your MCP Server to 2.0 Solves Stateless Session Issues

The article explains how MCP 1.x's stateful handshake caused node‑crash failures, sticky sessions, and serverless incompatibility, and how the 2.0 release removes the handshake, makes each request self‑describing via _meta and HTTP headers, introduces MRTR for multi‑round interactions, and provides a Java/TypeScript code walkthrough demonstrating the new stateless behavior.

Cloud NativeJavaKubernetes
0 likes · 8 min read
Why Upgrading Your MCP Server to 2.0 Solves Stateless Session Issues
Java Architecture Diary
Java Architecture Diary
Aug 7, 2026 · Artificial Intelligence

Why Skills v1.2 Is a Must-Have for AI Coding (Matt’s Top 5 Skills Lead the Leaderboard)

The new Skills v1.2 release adds Claude Code plugin support, revamps the grilling workflow to cut interaction rounds, and introduces three practical new skills—/wizard, /to-questionnaire, and /wait-what—while refactoring existing ones, offering a focused solution to the maintainability problems of AI‑generated code.

AI codingAgent AutomationClaude Code
0 likes · 8 min read
Why Skills v1.2 Is a Must-Have for AI Coding (Matt’s Top 5 Skills Lead the Leaderboard)
Java Architecture Diary
Java Architecture Diary
Jul 1, 2026 · Artificial Intelligence

Spring AI Overhauls Memory: Replacing ChatMemory with Session

Spring AI’s new Session model replaces the fragile sliding‑window ChatMemory, introducing immutable Session metadata, event‑based Turn grouping, configurable compaction triggers and strategies, multi‑agent Branch isolation, and a JDBC‑backed repository to reliably handle long‑running tool‑calling agents.

AgentChatMemoryJava
0 likes · 10 min read
Spring AI Overhauls Memory: Replacing ChatMemory with Session
Java Architecture Diary
Java Architecture Diary
May 22, 2026 · Artificial Intelligence

What the Javadocs MCP Server Solves for Java AI Development

AI code assistants often misinterpret Java library placeholders because they rely on web searches or bytecode decompilation, which miss Javadoc details; the Javadocs MCP server indexes Maven Central Javadocs, letting AI retrieve accurate method signatures and placeholder rules, and can be added to Claude Code with a simple configuration.

AIClaudeHutool
0 likes · 7 min read
What the Javadocs MCP Server Solves for Java AI Development
Java Architecture Diary
Java Architecture Diary
Apr 22, 2026 · Artificial Intelligence

Why OpenAI’s gpt-image-2 Turns Image Generation into a Practical Tool

OpenAI’s new gpt-image-2 model improves dense Chinese text rendering, follows detailed prompts more reliably, and offers precise edit capabilities, making it suitable for real‑world business graphics such as posters, banners, and dashboards, and the article shows how to integrate it with Spring AI in Java.

AI editingGPT Image 2Java
0 likes · 7 min read
Why OpenAI’s gpt-image-2 Turns Image Generation into a Practical Tool