Java formatters, Spring AI updates and agents are taking engineering

Comparing Java Formatters: Why Open Java Format Is My New Favorite

🎯 Featured Article

🎨 Comparing Java Formatters: Why Open Java Format Is My New Favorite
Java ships no built-in formatter, unlike Go or Rust. This benchmark compares five formatters on JDK 25 using 16 snippets.

  • Five formatters compared, including google-java-format and Open Java Format.
  • Test suite covering modern Java .

⏩ TL;DR (Quick Recap)

  • Java tooling gets practical improvements through formatter benchmarks, Maven practices and stronger module boundaries.
  • Reliable systems depend on real integration testing, database concurrency, messaging and observability.
  • Spring AI 2.1.0 replaces ChatMemory with session memory and adds tool confirmation.
  • Claude Fable 5.2 and Gemini 4 Hydrogen releases.

☕ JVM Corner

🛠️ Beyond mvn install: Maven Practices That Pay Off Maven features can make builds fail faster and stay easier to maintain.

  • Copy-pasted pom.xml files that go untouched until they break.
  • Lesser-used Maven features that cost only a few lines of XML.

🧱 Checking Module Boundaries in a Java Monolith Module boundaries in a Java monolith can erode unless rules enforce them.

  • Protects internal implementations from unintended dependencies.
  • Defines explicit contracts between application modules.

💡 What’s New in IntelliJ IDEA 2026.3 Adds Air, a Cursor and VS Code extension, debugging improvements and Java 28 support.

  • Support for Java 28, Jakarta Persistence 4 and Hibernate 8.
  • Air and an extension for Cursor and VS Code, plus debugging upgrades.

🐳 Testcontainers Integration Testing: Running Your Real WAR in Docker Real built WAR on Azul Payara Micro from a JUnit test to catch bugs mocks miss.

🍃 Spring Updates

🧠 Spring AI Recipe: Migrating to Session Memory Spring AI 2.1.0 replaces the ChatMemory API with a new session-based approach.

  • Migration path for existing applications needing only a few changes.
  • Session-based model replacing the familiar ChatMemory API.

📨 Announcing a New Home for Spring for Apache Pulsar Move to the Apache Software Foundation as a subproject of Apache Pulsar itself.

  • New name: Apache Pulsar support for Spring.
  • Deeper integration with the broader Pulsar community.

🛑 Spring AI Recipe: Putting a Human in the Tool-Calling Loop New tool confirmation lets a human approve or reject an AI action before it runs.

  • Yes-or-no checkpoint before irreversible AI actions.
  • Human-in-the-loop control inside the tool-calling flow.

🔍 Extra Reads

Data Systems
📬 Message Queues — Queues absorb traffic spikes and redeliver failed work, but suit async tasks, not synchronous responses.
🛒 We replaced Redis with MySQL for inventory reservations — and it scaled — MySQL SKIP LOCKED replaced Redis for reservations.
📊 VictoriaLogs vs Loki, Elasticsearch, OpenSearch, SigNoz and ClickStack on structured log ingestion — Benchmarks structured log ingestion across six systems on equal single-machine setups.

AI Models
🤖 Claude Fable 5.2 and Mythos 5.2 — Anthropic upgrades Fable and Mythos with gains in coding, reasoning and vision.
⚡ Introducing Gemini 4 Hydrogen — Google’s Gemini 4 Hydrogen targets fast execution in everyday coding and agentic workflows.
🔄 Long-horizon agents and durable execution — Durable execution records each external step so agents can recover from failures and resume.

Developer Tools
🧰 Skills across coding assistants — Tests Mistral’s Vibe and other free-tier CLIs as alternatives, when Claude Code quota runs out.
🥧 Goodbye Claude, Hello Pi — A longtime Claude Code user migrates their coding harness to Pi after accumulated frustrations.
🗓️ I Built a Mac and iPhone Planner With a Built-In MCP Server — A Mac and iPhone day planner with a built-in MCP server.

Originally posted on marconak-matej.medium.com.