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
Aug 21, 2026 · Artificial Intelligence

LangChain4j 1.19 Switches to Stateless Streamable HTTP and Adds Hybrid Milvus Search

LangChain4j 1.19 drops SSE support in favor of a stateless Streamable HTTP protocol, introduces a Milvus‑v2 module that combines dense vector similarity with BM25 keyword matching for hybrid retrieval, and bundles dozens of bug fixes and new integrations across agents, HTTP clients, vector stores, and document parsers.

Hybrid SearchJavaLLM
0 likes · 9 min read
LangChain4j 1.19 Switches to Stateless Streamable HTTP and Adds Hybrid Milvus Search
Java Architecture Diary
Java Architecture Diary
Aug 17, 2026 · Artificial Intelligence

Pure Java OCR with mica-ppocr: How It Parses Documents and Invoices

This article details the pure‑Java mica‑ppocr library built on Java 17 and ONNX Runtime, covering its rapid version evolution, core engine upgrades, structured parsing of six document types, Spring Boot and Solon integration, performance optimizations, and architectural refactors, providing a comprehensive technical overview for developers.

JavaOCRONNX Runtime
0 likes · 12 min read
Pure Java OCR with mica-ppocr: How It Parses Documents and Invoices
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 APIJavaRAG
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