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
Jan 20, 2026 · Backend Development

How to Integrate Spring Boot with Third‑Party APIs: HTTP Clients, Sync Strategies, and Code Samples

This article explains how to connect Spring Boot to external services by choosing the appropriate HTTP client (RestTemplate, Feign, WebClient), configuring beans, implementing service methods, and applying various data‑synchronization techniques such as full sync, UPSERT, incremental sync, webhook callbacks, and message‑queue based replication.

Message QueueSpring Bootdata-sync
0 likes · 20 min read
How to Integrate Spring Boot with Third‑Party APIs: HTTP Clients, Sync Strategies, and Code Samples
Java Companion
Java Companion
Jan 20, 2026 · Backend Development

13 Java Web Frameworks Ranked: From Industry Leaders to Obsolete Choices

The article evaluates 13 Java web frameworks across performance, ecosystem maturity, learning curve, development efficiency, enterprise adoption, and innovation, classifying them into tiers—from the dominant Spring Boot to legacy Struts 2—based on objective metrics such as GitHub stars, benchmark results, and market usage.

Java WebMicronautQuarkus
0 likes · 9 min read
13 Java Web Frameworks Ranked: From Industry Leaders to Obsolete Choices
Java Companion
Java Companion
Jan 18, 2026 · Databases

Why Choose MySQL When PostgreSQL Offers So Many Advantages?

The article compares PostgreSQL and MySQL, highlighting PostgreSQL's richer data types, true sequence support, powerful extensions, built‑in monitoring, advanced replication, open‑source licensing, and MVCC implementation, while acknowledging MySQL's strengths in quick deployment and read‑heavy workloads.

MVCCPostgreSQLdatabase comparison
0 likes · 10 min read
Why Choose MySQL When PostgreSQL Offers So Many Advantages?
Java Companion
Java Companion
Jan 17, 2026 · Backend Development

6 Ways to Overcome the Limits of @Transactional in Spring

The article examines five scenarios where Spring's @Transactional annotation falls short—stock shortage, MQ messaging, batch processing, logging, and isolation/timeout settings—and demonstrates six practical techniques, including programmatic transactions, parameter tuning, transaction synchronizers, event listeners, manual transaction control, and propagation strategies, all backed by runnable demo code.

JavaSpringBootevent-listener
0 likes · 19 min read
6 Ways to Overcome the Limits of @Transactional in Spring
Java Companion
Java Companion
Jan 15, 2026 · Backend Development

Implement Multi‑Dimensional Bandwidth Throttling in Spring Boot 3

This article presents a complete Spring Boot 3 solution for multi‑dimensional network bandwidth throttling using a manually implemented token‑bucket algorithm, custom HandlerInterceptor, HttpServletResponseWrapper, and RateLimitedOutputStream, with detailed code samples, configuration options, and performance tuning guidance.

JavaRate LimitingSpring Boot
0 likes · 13 min read
Implement Multi‑Dimensional Bandwidth Throttling in Spring Boot 3
Java Companion
Java Companion
Jan 13, 2026 · Cloud Native

Why MinIO Community Dropped Its Web UI and How RustFS Can Fill the Gap

The article explains how MinIO's community edition removed its web console via a large PR, outlines the official push toward a commercial product, and provides a step‑by‑step guide to deploying the Rust‑based RustFS as an open‑source alternative with Docker Compose and Nginx HTTPS configuration, concluding with a feature comparison.

Apache-2.0Docker-ComposeMinio
0 likes · 7 min read
Why MinIO Community Dropped Its Web UI and How RustFS Can Fill the Gap
Java Companion
Java Companion
Jan 9, 2026 · Backend Development

Why Many Large Companies Discourage Using @Transactional in Spring

The article explains common pitfalls that cause Spring @Transactional to fail or not roll back, such as incorrect method visibility, final or static modifiers, internal method calls, beans not managed by Spring, multithreading, unsupported database engines, misconfigured propagation, swallowed exceptions, and improper rollback settings, and offers practical solutions for each case.

AOPJavaMyISAM
0 likes · 18 min read
Why Many Large Companies Discourage Using @Transactional in Spring
Java Companion
Java Companion
Jan 8, 2026 · Backend Development

Designing a Generic Payment Core System: Key Components and Best Practices

This article breaks down the architecture of a generic payment core system, covering the transaction and payment cores, service governance, data consistency, asynchronous processing, performance testing, and stability measures to help engineers build robust payment platforms.

System Architectureasynchronous processingbackend
0 likes · 7 min read
Designing a Generic Payment Core System: Key Components and Best Practices
Java Companion
Java Companion
Jan 4, 2026 · Backend Development

Achieve 10× Faster APIs with Spring Boot 3’s Three‑Level Cache Pyramid

The article demonstrates how to combine Spring Boot 3, Caffeine local cache, and Redis into a three‑level cache pyramid, reducing API response time from 28 ms to 2 ms, cutting CPU usage by 35 %, and providing detailed configuration, code examples, performance benchmarks, and mitigation strategies for common high‑concurrency pitfalls.

CacheCaffeineJava
0 likes · 10 min read
Achieve 10× Faster APIs with Spring Boot 3’s Three‑Level Cache Pyramid