java1234
Author

java1234

Former senior programmer at a Fortune Global 500 company, dedicated to sharing Java expertise. Visit Feng's site: Java Knowledge Sharing, www.java1234.com

65
Articles
0
Likes
1
Views
0
Comments
Recent Articles

Latest from java1234

65 recent articles
java1234
java1234
Mar 8, 2026 · Backend Development

How to Build a Custom MyBatis Plugin: Step-by-Step Guide

This article explains the MyBatis plugin mechanism, walks through implementing the Interceptor interface, configuring the plugin in mybatis-config.xml, provides a complete code example, and outlines common use cases such as SQL logging, performance monitoring, permission control, and automatic field filling.

InterceptorJavaMyBatis
0 likes · 6 min read
How to Build a Custom MyBatis Plugin: Step-by-Step Guide
java1234
java1234
Mar 7, 2026 · Fundamentals

Merge or Rebase? The Ultimate Guide to Git Merge Strategies

This article compares Git's merge and rebase commands by walking through a realistic two‑developer scenario, illustrating fast‑forward versus non‑fast‑forward merges, conflict resolution differences, commit‑history rewrites, and practical recommendations on when to choose each approach.

GitVersion Controlconflict resolution
0 likes · 6 min read
Merge or Rebase? The Ultimate Guide to Git Merge Strategies
java1234
java1234
Mar 3, 2026 · Backend Development

How MyBatis Plugins Execute: Core Interface and Runtime Flow

This article explains MyBatis’s plugin mechanism, detailing the Interceptor interface methods, how plugins form an interceptor chain to wrap core components like Executor, and provides a step‑by‑step example of a logging plugin with code and configuration, illustrating the runtime flow and extension capabilities.

InterceptorJavaMyBatis
0 likes · 7 min read
How MyBatis Plugins Execute: Core Interface and Runtime Flow
java1234
java1234
Mar 3, 2026 · Backend Development

One‑Line Java Time Tracker: Millisecond Precision and Up to 300% Faster Performance

The article shows how to replace repetitive System.currentTimeMillis() timing code with a concise TimeTracker utility that leverages try‑with‑resources, functional interfaces, and flexible exception handling to achieve millisecond‑level measurement and dramatically improve code readability and performance.

Functional InterfaceJavaPerformance Monitoring
0 likes · 13 min read
One‑Line Java Time Tracker: Millisecond Precision and Up to 300% Faster Performance
java1234
java1234
Mar 1, 2026 · Artificial Intelligence

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

This article reviews the most popular AI‑powered coding plugins for IntelliJ IDEA, detailing their features, ideal scenarios, installation steps, advantages, limitations, and practical effects, and provides a comparison table and recommended tool combinations for different development needs.

AI codingAmazon CodeWhispererCodeGeeX
0 likes · 7 min read
Boost Your Coding Speed: Must‑Try AI Plugins for IntelliJ IDEA
java1234
java1234
Mar 1, 2026 · Backend Development

Spring MVC Interceptor vs Filter: Key Differences and Execution Order

This article explains the fundamental differences between Spring MVC interceptors and servlet filters—including definition, scope, configuration, lifecycle, and execution timing—and details their processing order with illustrative code samples and a request flow diagram.

FilterInterceptorJava
0 likes · 8 min read
Spring MVC Interceptor vs Filter: Key Differences and Execution Order
java1234
java1234
Feb 26, 2026 · Databases

Can Redis Cluster Lose Writes? Why and How to Prevent Them

Redis Cluster can lose writes due to asynchronous replication, network partitions, inadequate persistence settings, or unconfirmed client operations, but enabling AOF, configuring replication acknowledgments, using Sentinel or built‑in HA, and adding client retry logic can mitigate these risks, as demonstrated with a Java Jedis example.

AOFJavaJedis
0 likes · 7 min read
Can Redis Cluster Lose Writes? Why and How to Prevent Them
java1234
java1234
Feb 24, 2026 · Backend Development

Why Most Backend Architecture Patterns Are Over‑Engineered

A code‑review anecdote shows that developers often apply heavyweight patterns like Abstract Factory, Event Sourcing, CQRS, and DDD to simple payment processing, leading to unnecessary complexity; the article explains why this happens, which patterns truly belong in micro‑service backends, and offers practical, lightweight alternatives together with concrete code examples and review guidelines.

ArchitectureMicroservicesbackend
0 likes · 13 min read
Why Most Backend Architecture Patterns Are Over‑Engineered