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

87
Articles
0
Likes
161
Views
0
Comments
Recent Articles

Latest from java1234

87 recent articles
java1234
java1234
Apr 2, 2026 · Cloud Native

How a Simple Analogy Clarified Docker and Kubernetes Core Concepts

An image is a static snapshot of an OS, runtime and code; a container runs that snapshot, while Dockerfile and docker‑compose define how to build and orchestrate images. Pods group containers for shared resources, and Kubernetes schedules, scales, heals, networks and stores them, enabling true “run anywhere” deployment.

Cloud NativeContainersDocker
0 likes · 6 min read
How a Simple Analogy Clarified Docker and Kubernetes Core Concepts
java1234
java1234
Mar 31, 2026 · Backend Development

Why Polling Is Outdated: Lightweight Real‑Time Push with SSE

The article compares polling, WebSocket, and Server‑Sent Events (SSE), explains why polling is inefficient, outlines the advantages and browser compatibility of SSE versus WebSocket, and provides step‑by‑step Node.js and HTML demos for implementing a real‑time push solution.

EventSourceExpressNode.js
0 likes · 12 min read
Why Polling Is Outdated: Lightweight Real‑Time Push with SSE
java1234
java1234
Mar 31, 2026 · Backend Development

How Many Concurrent Requests Can Spring Boot Handle?

This article explains how Spring Boot processes concurrent HTTP requests using its embedded Tomcat thread pool, details the default limits (200 max threads, 10 min threads, queue size 10,000), shows how to tune these settings via configuration files, demonstrates async controllers, and suggests performance testing tools to measure real‑world capacity.

AsyncConcurrencyThread Pool
0 likes · 7 min read
How Many Concurrent Requests Can Spring Boot Handle?
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.

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

JavaOCRimage recognition
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.

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.

BeanFactoryDependency InjectionIoC
0 likes · 6 min read
BeanFactory vs ApplicationContext in Spring: Key Differences Explained