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

119
Articles
0
Likes
651
Views
0
Comments
Recent Articles

Latest from java1234

100 recent articles max
java1234
java1234
Mar 17, 2026 · Backend Development

Understanding the Core Mechanism Behind Spring Event Listening

The article explains Spring’s event-driven model, detailing how ApplicationEventPublisher, ApplicationListener, and ApplicationEventMulticaster work together to publish, multicast, and handle events, and provides code examples for defining custom events, implementing listeners via interfaces or @EventListener annotations, and configuring asynchronous handling.

ApplicationEventPublisherJavaSpring
0 likes · 6 min read
Understanding the Core Mechanism Behind Spring Event Listening
java1234
java1234
Mar 15, 2026 · Backend Development

BeanFactory vs ApplicationContext in Spring: Key Differences Explained

This article compares Spring's BeanFactory and ApplicationContext, detailing their roles, loading strategies, feature sets, code examples, and recommended usage scenarios, helping developers choose the appropriate container for their projects.

ApplicationContextBeanFactoryDependency Injection
0 likes · 6 min read
BeanFactory vs ApplicationContext in Spring: Key Differences Explained
java1234
java1234
Mar 13, 2026 · Backend Development

JEnv: A Next‑Gen Java Environment Manager that Simplifies Multi‑Version Management

JEnv tackles the long‑standing pain of juggling multiple Java versions by delivering sub‑second scanning (400 ms on a full‑depth scan), a concurrent Dispatcher‑Worker engine, smart pre‑filtering, cross‑platform support, themed terminals, real‑time statistics, and a modular architecture, all demonstrated with concrete benchmarks and usage scenarios.

CLICross-platformJava
0 likes · 9 min read
JEnv: A Next‑Gen Java Environment Manager that Simplifies Multi‑Version Management
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.

Conflict ResolutionGitmerge
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 InterfaceJavaTimeTracker
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