Java Companion
Author

Java Companion

A highly professional Java public account

88
Articles
0
Likes
8
Views
0
Comments
Recent Articles

Latest from Java Companion

88 recent articles
Java Companion
Java Companion
Apr 27, 2026 · Artificial Intelligence

From Spring Boot 3.5 to an AI OS: One JAR Powers Agents, Knowledge Base, and Toolchain

MateClaw is an open‑source, Java‑centric AI operating system built on Spring Boot 3.5 and Spring AI Alibaba that runs as a single JAR, offering multi‑agent collaboration, a structured wiki‑style knowledge base, tool‑guarded utilities, multi‑model routing, and cross‑channel deployment while keeping all data on‑premises.

AIJavaKnowledge Base
0 likes · 16 min read
From Spring Boot 3.5 to an AI OS: One JAR Powers Agents, Knowledge Base, and Toolchain
Java Companion
Java Companion
Apr 26, 2026 · Databases

Is Sharding Ready to Retire? Why the Classic Split‑Database Approach Is Becoming Legacy

The article reviews the rise and decline of traditional database sharding, explains its technical pitfalls such as wrong shard keys, cross‑database joins, and distributed transactions, compares it with emerging NewSQL solutions like TiDB, OceanBase and PolarDB‑X, and offers practical criteria for choosing the right architecture.

NewSQLOceanBasePolarDB-X
0 likes · 14 min read
Is Sharding Ready to Retire? Why the Classic Split‑Database Approach Is Becoming Legacy
Java Companion
Java Companion
Apr 25, 2026 · Artificial Intelligence

How draw.io’s New Claude Code Integration Lets You Generate Diagrams Automatically

draw.io (diagrams.net) now offers an official Claude Code integration via the open‑source drawio‑mcp project, providing four ways for AI to generate and export diagrams—directly in chat, in a browser editor, through a Claude Code skill, or via zero‑install project instructions—while supporting multiple file formats and a 10,000‑plus shape library.

AI integrationClaude AIGitHub
0 likes · 10 min read
How draw.io’s New Claude Code Integration Lets You Generate Diagrams Automatically
Java Companion
Java Companion
Apr 24, 2026 · Artificial Intelligence

Which of the 9 IDEA AI Plugins Is Your Ideal Coding Partner?

This article compares nine popular AI coding assistants for IntelliJ IDEA—GitHub Copilot, Lingma, Comate, Codeium, Tabnine, Amazon Q Developer, CodeGeeX, Supermaven, and JetBrains AI—detailing their core features, pricing, strengths, weaknesses, and offering scenario‑based recommendations to help developers choose the best fit.

AI Coding AssistantIntelliJ IDEAJava development
0 likes · 15 min read
Which of the 9 IDEA AI Plugins Is Your Ideal Coding Partner?
Java Companion
Java Companion
Apr 18, 2026 · Backend Development

How Arthas + MCP Enable AI-Powered Java Runtime Diagnosis

The article explains how the open‑source Java diagnostic tool Arthas now supports the Model Context Protocol (MCP), allowing AI assistants to invoke Arthas commands directly for CPU, latency, version, and Spring Bean issues, while covering installation, usage scenarios, and production safeguards.

AIArthasBackend Tools
0 likes · 13 min read
How Arthas + MCP Enable AI-Powered Java Runtime Diagnosis
Java Companion
Java Companion
Apr 17, 2026 · Backend Development

Resolving ID Conflicts After Sharding: 5 Practical Solutions

When sharding databases, independent auto‑increment IDs can collide; this article explains why the conflict occurs and evaluates five concrete solutions—UUID, MySQL auto‑increment step, segment allocation, Snowflake algorithm, and Meituan Leaf—detailing their mechanisms, trade‑offs, performance, and suitability.

ID generationMeituan LeafMySQL
0 likes · 14 min read
Resolving ID Conflicts After Sharding: 5 Practical Solutions
Java Companion
Java Companion
Apr 16, 2026 · Databases

Is Running MySQL in Docker Really a Bad Idea?

This article dissects the common claim that MySQL should not be run in Docker by explaining the underlying design mismatch, measuring I/O overhead, examining persistence and resource‑isolation pitfalls, reviewing replication challenges, and presenting real‑world cases from JD and Tongcheng to show when containerization is safe and when it isn’t.

ContainerizationData PersistenceDocker
0 likes · 12 min read
Is Running MySQL in Docker Really a Bad Idea?