Java Companion
Author

Java Companion

A highly professional Java public account

164
Articles
0
Likes
1.1k
Views
0
Comments
Recent Articles

Latest from Java Companion

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

Meituan LeafMySQLSnowflake
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.

DockerMySQLProduction
0 likes · 12 min read
Is Running MySQL in Docker Really a Bad Idea?
Java Companion
Java Companion
Apr 11, 2026 · Artificial Intelligence

Seamless AI Coding in IntelliJ: Integrating Claude Code with IDEA

This guide walks through installing Claude Code CLI, then compares the official JetBrains Beta plugin and the community‑built Claude Code Plus plugin for IntelliJ IDEA, detailing setup steps, core features like diff view, context sync, model switching, and offers advice on which solution fits different workflows.

AI coding assistantCLIClaude Code
0 likes · 9 min read
Seamless AI Coding in IntelliJ: Integrating Claude Code with IDEA
Java Companion
Java Companion
Apr 10, 2026 · Backend Development

Stop Confusing PO, VO, BO, DTO, DAO, and POJO: A Complete Guide

This article explains the six common Java object types—POJO, PO, DAO, BO, DTO, and VO—detailing their roles in a three‑layer architecture, how they flow through a request, conversion tools, a comparison table, and answers common questions for developers.

ArchitectureBOBackend
0 likes · 16 min read
Stop Confusing PO, VO, BO, DTO, DAO, and POJO: A Complete Guide
Java Companion
Java Companion
Apr 9, 2026 · Backend Development

Finally Open‑Source: Rebased Extracts IntelliJ IDEA’s Git UI into a Standalone Client

Rebased is a community‑driven, open‑source Git client that reproduces IntelliJ IDEA’s full‑featured Git UI—including three‑pane diff, interactive rebase, and GitHub integration—while offering cross‑platform installers, source‑build instructions, a feature comparison with other clients, and a clear outline of its current limitations.

GitIntelliJ IDEARebased
0 likes · 12 min read
Finally Open‑Source: Rebased Extracts IntelliJ IDEA’s Git UI into a Standalone Client
Java Companion
Java Companion
Apr 7, 2026 · Backend Development

A Lighter‑Than‑MQ Asynchronous Solution: Spring’s Hidden Event‑Driven Feature

The article explains how Spring’s built‑in ApplicationEvent and @EventListener mechanism provides a lightweight, zero‑dependency alternative to external message queues for decoupling logic within the same JVM, covering core components, implementation styles, async execution, transactional listeners, pitfalls, performance comparison, and production best practices.

SpringSpring Bootapplicationevent
0 likes · 23 min read
A Lighter‑Than‑MQ Asynchronous Solution: Spring’s Hidden Event‑Driven Feature