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
Mar 22, 2026 · Backend Development

How to Seamlessly Integrate Tess4j OCR into a SpringBoot Application

This tutorial walks through the fundamentals of OCR, explains how to download the required Tesseract traineddata files, shows how to add Tess4j as a Maven dependency, configure SpringBoot with custom properties, and provides complete Java test code for Chinese, English, and mixed‑language image recognition, highlighting performance considerations and file‑naming requirements.

Image RecognitionJavaOCR
0 likes · 9 min read
How to Seamlessly Integrate Tess4j OCR into a SpringBoot Application
Java Companion
Java Companion
Mar 17, 2026 · Backend Development

Three Hot‑Reload Methods for Spring Boot in IDEA – Why JRebel Is the Best

When Spring Boot projects grow, restart times can reach minutes, slowing development, so the article compares three hot‑reload approaches—spring‑boot‑devtools, IDEA’s built‑in HowSwap, and the JRebel plugin—detailing their setup, limitations, and why JRebel is the most effective.

Hot ReloadIntelliJ IDEAJRebel
0 likes · 5 min read
Three Hot‑Reload Methods for Spring Boot in IDEA – Why JRebel Is the Best
Java Companion
Java Companion
Mar 12, 2026 · Artificial Intelligence

AgentScope Java: Alibaba’s Enterprise‑Grade AI Agent Framework for Java

AgentScope Java 1.0, open‑sourced by Alibaba, provides a production‑ready AI agent framework built for Java ecosystems, addressing stack fragmentation, security, operations, and multi‑agent collaboration through ReAct reasoning, real‑time interruption, sandboxing, RocketMQ‑based A2A communication, and visual debugging, with detailed integration guides and comparison to LangChain4j and Spring AI.

AI agentsAgentScope JavaEnterprise AI
0 likes · 14 min read
AgentScope Java: Alibaba’s Enterprise‑Grade AI Agent Framework for Java
Java Companion
Java Companion
Mar 6, 2026 · Backend Development

Merge vs Rebase: The Ultimate Guide to Git Merge Strategies

This article walks through a realistic scenario where two developers work on parallel feature branches, compares the outcomes of using git merge versus git rebase—including fast‑forward and non‑fast‑forward merges, conflict resolution steps, and the impact on commit history—so you can choose the right strategy for your workflow.

GitVersion Controlcommit history
0 likes · 7 min read
Merge vs Rebase: The Ultimate Guide to Git Merge Strategies
Java Companion
Java Companion
Feb 24, 2026 · Backend Development

Spring Boot Online Dependency Vulnerability Scanner: One‑Click Detection of Potential Security Issues

This guide presents a lightweight Spring Boot dependency vulnerability scanner that automatically collects all project JARs, matches them against a CVE database, visualizes risk levels, provides detailed remediation steps and can be integrated into local development, emergency response, and CI/CD pipelines.

CI/CDCVEDependency Scanning
0 likes · 20 min read
Spring Boot Online Dependency Vulnerability Scanner: One‑Click Detection of Potential Security Issues
Java Companion
Java Companion
Feb 22, 2026 · Backend Development

Why Most Backend Architecture Patterns Are Over‑engineered

A recent code review reveals a colleague using strategy, factory, and abstract‑factory patterns to build a payment system that only needs two methods, exposing how 90 % of classic backend architecture patterns become unnecessary over‑design in modern microservice and cloud‑native environments, and offering practical guidelines for when such complexity truly adds value.

ArchitectureMicroservicesSpring Boot
0 likes · 13 min read
Why Most Backend Architecture Patterns Are Over‑engineered