Java Companion
Author

Java Companion

A highly professional Java public account

107
Articles
0
Likes
254
Views
0
Comments
Recent Articles

Latest from Java Companion

100 recent articles max
Java Companion
Java Companion
Nov 23, 2025 · Backend Development

A Minimalist Web‑Based API Debugger That Could Replace Postman

WebCurl is an open‑source, ultra‑lightweight web API testing tool that runs entirely in the browser without any installation, offering a minimalist design, zero third‑party dependencies, and a rich set of features such as HTTP CONNECT tunneling, custom headers, file upload/download, echo server, static file serving, and flexible command‑line options.

API testingHTTP debuggingOpen-source
0 likes · 8 min read
A Minimalist Web‑Based API Debugger That Could Replace Postman
Java Companion
Java Companion
Nov 21, 2025 · Databases

How to Query Phone Number Suffix in Milliseconds on 50 Million Records

When faced with 50 million user rows, using LIKE '%1234' triggers a full table scan, but adding a suffix column, reversing the phone number, leveraging function indexes, or integrating Elasticsearch can reduce query time from minutes to a few milliseconds, each with its own trade‑offs.

Database DesignElasticSearchMySQL
0 likes · 12 min read
How to Query Phone Number Suffix in Milliseconds on 50 Million Records
Java Companion
Java Companion
Nov 18, 2025 · Backend Development

Why SpringBoot Replaced spring.factories with a Faster, GraalVM‑Friendly Imports Mechanism

SpringBoot 3.0 drops the long‑standing spring.factories file in favor of per‑extension imports files, eliminating full‑classpath scans, improving startup speed, aligning with Java modules, and enabling seamless GraalVM native‑image support, while providing a clear migration path for existing projects.

Auto-configurationMigrationSpring Factories
0 likes · 13 min read
Why SpringBoot Replaced spring.factories with a Faster, GraalVM‑Friendly Imports Mechanism
Java Companion
Java Companion
Nov 16, 2025 · Backend Development

Stunning Architecture Designs Inside XXL-JOB Explained

The article dissects XXL-JOB's communication layer, showcasing Netty HTTP usage, a full asynchronous processing pipeline, dynamic proxy abstraction, request‑ID based thread wake‑up, and detailed Java code examples that illustrate how the scheduler and executor achieve high‑throughput remote job execution.

BackendDynamic proxyJava
0 likes · 7 min read
Stunning Architecture Designs Inside XXL-JOB Explained
Java Companion
Java Companion
Nov 15, 2025 · Backend Development

Beyond mvn install: A Deep Dive into Maven Plugin Core Principles

This article explains that Maven is essentially a plugin framework, details how plugins like flatten-maven-plugin and exec-maven-plugin are configured and executed, introduces the MOJO concept, walks through creating a custom Maven plugin, and shows how to bind plugin goals to the build lifecycle.

Maven PluginMojobuild lifecycle
0 likes · 13 min read
Beyond mvn install: A Deep Dive into Maven Plugin Core Principles
Java Companion
Java Companion
Nov 11, 2025 · Backend Development

Mastering Spring Boot Logging: Levels, Persistence, Formatting, and Lombok Simplification

This article explains why traditional System.out printing is insufficient, introduces Spring Boot's built‑in SLF4J/Logback logging, demonstrates how to obtain and use a logger, details log levels, configuration of log levels, file persistence, rolling policies, formatting, and shows how Lombok's @Slf4j annotation can simplify logger usage.

LoggingLombokSpringBoot
0 likes · 17 min read
Mastering Spring Boot Logging: Levels, Persistence, Formatting, and Lombok Simplification