Java Companion
Author

Java Companion

A highly professional Java public account

99
Articles
0
Likes
103
Views
0
Comments
Recent Articles

Latest from Java Companion

99 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.

JavaOCRSpringBoot
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.

IntelliJ IDEAJRebelSpring Boot
0 likes · 5 min read
Three Hot‑Reload Methods for Spring Boot in IDEA – Why JRebel Is the Best
Java Companion
Java Companion
Mar 13, 2026 · Backend Development

Master Nginx Virtual Hosts: Domain, IP, and Port Configurations Explained

This step‑by‑step guide shows how to configure Nginx virtual hosts using domain names, IP addresses, and ports, covering directory preparation, nginx.conf edits, syntax testing, service reload, and client verification for each method.

Domain ConfigurationIP ConfigurationPort Configuration
0 likes · 10 min read
Master Nginx Virtual Hosts: Domain, IP, and Port Configurations Explained
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 JavaReAct paradigm
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.

CVEDependency ScanningJava
0 likes · 20 min read
Spring Boot Online Dependency Vulnerability Scanner: One‑Click Detection of Potential Security Issues