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

84
Articles
0
Likes
65
Views
0
Comments
Recent Articles

Latest from java1234

84 recent articles
java1234
java1234
Mar 29, 2026 · Backend Development

Why MyBatis Is Called a Semi‑ORM Mapping Tool

MyBatis, a widely used Java persistence framework, blends SQL mapping with traditional JDBC, requiring developers to write SQL manually, offering greater flexibility and performance than full ORM solutions like Hibernate, while providing only persistence operations without encapsulating complex business logic.

HibernateJavaMyBatis
0 likes · 6 min read
Why MyBatis Is Called a Semi‑ORM Mapping Tool
java1234
java1234
Mar 26, 2026 · Backend Development

Why Some Companies Force All APIs to Use POST – Pros, Cons, and Best Practices

The article examines why a company might require every HTTP API to use POST, compares GET and POST characteristics, discusses RESTful principles, outlines the trade‑offs of a POST‑only policy, and offers practical guidance for choosing the right method based on business needs.

HTTPPOSTRESTful
0 likes · 10 min read
Why Some Companies Force All APIs to Use POST – Pros, Cons, and Best Practices
java1234
java1234
Mar 24, 2026 · Backend Development

How to Elegantly Perform OCR in Spring Boot 3 Using Tess4J

This tutorial explains OCR fundamentals, introduces the open‑source Tesseract engine and its Java wrapper Tess4J, shows how to download the required traineddata files, and provides step‑by‑step Spring Boot 3 integration, configuration, and test code for Chinese, English, and mixed‑language image recognition, plus important usage notes.

JavaOCRSpring Boot
0 likes · 8 min read
How to Elegantly Perform OCR in Spring Boot 3 Using Tess4J
java1234
java1234
Mar 24, 2026 · Backend Development

Key Design Patterns Used in the Spring Framework

This article explains how Spring employs five core design patterns—Factory, Singleton, Proxy, Observer, and Template Method—detailing their roles, code examples, and how they contribute to Spring's modular, extensible architecture.

Design PatternsFactory PatternObserver
0 likes · 8 min read
Key Design Patterns Used in the Spring Framework
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.

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

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

CLIJEnvJava
0 likes · 9 min read
JEnv: A Next‑Gen Java Environment Manager that Simplifies Multi‑Version Management