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
Dec 16, 2025 · Databases

Why Choose PostgreSQL Over MySQL? A Detailed Feature Comparison

The article compares PostgreSQL and MySQL across data types, sequence handling, extensions, monitoring tools, replication, licensing, and MVCC implementation, showing why many Chinese tech giants prefer PostgreSQL for complex, high‑availability workloads while acknowledging MySQL’s strengths in simple web scenarios.

Database comparisonFeature analysisMVCC
0 likes · 8 min read
Why Choose PostgreSQL Over MySQL? A Detailed Feature Comparison
Java Companion
Java Companion
Dec 14, 2025 · Backend Development

Why Choose WebFlux Over Spring MVC for New Projects?

The article explains how Spring WebFlux replaces the thread‑per‑request blocking model of Spring MVC with an asynchronous, non‑blocking, reactive architecture that uses fewer threads for high‑concurrency I/O workloads, while also outlining its learning curve, ecosystem constraints, and practical decision guidelines for when to adopt it.

JavaPerformanceSpring MVC
0 likes · 13 min read
Why Choose WebFlux Over Spring MVC for New Projects?
Java Companion
Java Companion
Dec 9, 2025 · Artificial Intelligence

Boost Your Coding Speed: Must‑Try AI Plugins for IntelliJ IDEA

This article reviews the most popular AI coding assistants for IntelliJ IDEA, comparing GitHub Copilot, Amazon CodeWhisperer, Tabnine, domestic options like Tongyi Lingma and CodeGeeX, as well as niche tools, and provides installation steps, pros, cons, and recommended tool combinations for different development scenarios.

AI coding assistantsAmazon CodeWhispererGitHub Copilot
0 likes · 7 min read
Boost Your Coding Speed: Must‑Try AI Plugins for IntelliJ IDEA
Java Companion
Java Companion
Dec 6, 2025 · Backend Development

Replacing MySQL with Apache Doris in Spring Boot for Real‑Time Analytics

This article demonstrates how to integrate Apache Doris, a high‑performance MPP analytical database, into a Spring Boot application as a drop‑in replacement for MySQL, detailing environment setup, Maven dependencies, configuration, entity mapping, repository, service and controller code, and performance testing that shows Doris’s superior real‑time query speed.

Apache DorisJavaMPP database
0 likes · 15 min read
Replacing MySQL with Apache Doris in Spring Boot for Real‑Time Analytics
Java Companion
Java Companion
Nov 30, 2025 · Backend Development

Unlock Powerful Java Performance Analysis with IntelliJ IDEA and JProfiler

This guide explains why Java developers need profiling, introduces IntelliJ IDEA’s built‑in Profiler (powered by Async Profiler and JFR), and provides step‑by‑step instructions with screenshots for CPU, memory, and thread analysis to diagnose slow endpoints, high CPU usage, memory leaks, and concurrency bottlenecks.

CPU analysisIntelliJ IDEAJProfiler
0 likes · 12 min read
Unlock Powerful Java Performance Analysis with IntelliJ IDEA and JProfiler
Java Companion
Java Companion
Nov 29, 2025 · Backend Development

Why Do We Still Need HTTP and RPC When TCP Exists?

The article explains how TCP provides reliable byte‑stream transport but lacks message boundaries, how HTTP adds structured semantics with headers like Content‑Length, and why RPC frameworks such as gRPC are introduced to make remote calls feel like local method invocations, especially in modern microservice architectures.

HTTPMicroservicesProtocol
0 likes · 11 min read
Why Do We Still Need HTTP and RPC When TCP Exists?
Java Companion
Java Companion
Nov 27, 2025 · Backend Development

Interview Question: How to Handle a Crashed Scheduled‑Task Server? Most Miss It

When a scheduled‑task server crashes, simply restarting it is insufficient; a robust solution must combine clustering, distributed locks, idempotent designs, checkpointing, and monitoring to ensure tasks resume correctly across non‑runtime and runtime failures, as detailed with SpringTask‑Redis and XXL‑JOB implementations.

Distributed LockSpringTaskXXL-Job
0 likes · 28 min read
Interview Question: How to Handle a Crashed Scheduled‑Task Server? Most Miss It
Java Companion
Java Companion
Nov 25, 2025 · Backend Development

Why Maven mvnd Can Boost Java Build Speed Up to 10×

The article introduces Maven mvnd, explains its daemon‑based architecture, shows benchmark results where multi‑module builds run 3.5–5.5 times faster (up to 10× for single modules), and provides step‑by‑step installation, configuration, PowerShell encoding fixes, and IDEA integration guidance.

IntelliJ IDEAJava buildPerformance
0 likes · 9 min read
Why Maven mvnd Can Boost Java Build Speed Up to 10×