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
Jan 31, 2026 · Interview Experience

Why Detailed Interview Questions Often Lead to No Follow‑Up

The article explains that big‑tech firms ask deep, “onion‑layer” questions to gauge a candidate’s potential and thinking ability, while smaller companies focus on detailed, practical queries to confirm immediate competence, and mismatches between these expectations often cause interview silence.

Growth PotentialJavaSME
0 likes · 12 min read
Why Detailed Interview Questions Often Lead to No Follow‑Up
java1234
java1234
Jan 30, 2026 · Backend Development

How to Reduce MyBatis Batch Insert from 5 Minutes to 3 Seconds? Three Key Optimizations

The article walks through three concrete optimizations—batch SQL, JDBC batch mode with rewriteBatchedStatements, and multithreaded parallel inserts—that shrink a 100,000‑row MyBatis insertion from five minutes to three seconds, while highlighting configuration details, performance gains, and common pitfalls.

Batch InsertJDBCJava
0 likes · 10 min read
How to Reduce MyBatis Batch Insert from 5 Minutes to 3 Seconds? Three Key Optimizations
java1234
java1234
Jan 29, 2026 · Fundamentals

When Over‑Encapsulation Breaks Your Code: Real‑World Pitfalls and Fixes

The article analyzes three common forms of bad encapsulation in Java—over‑encapsulation, false encapsulation, and chaotic encapsulation—illustrates their hidden risks with concrete code examples, and offers practical principles to restore clear responsibilities, minimal interfaces, and flexible design.

EncapsulationJavaObject-Oriented
0 likes · 13 min read
When Over‑Encapsulation Breaks Your Code: Real‑World Pitfalls and Fixes
java1234
java1234
Jan 27, 2026 · Backend Development

7 Proven Spring Boot Startup Hacks to Slash Over 70% of Boot Time

This article presents seven concrete Spring Boot startup optimization techniques—including lazy bean initialization, precise component scanning, JVM flag tuning, auto‑configuration pruning, class‑loading shortcuts, lazy database connections, and GraalVM native compilation—backed by real‑world benchmarks that reduce launch times by up to 71% across e‑commerce, micro‑service, logistics and payment services.

GraalVMSpring Bootauto-configuration
0 likes · 9 min read
7 Proven Spring Boot Startup Hacks to Slash Over 70% of Boot Time
java1234
java1234
Jan 27, 2026 · Backend Development

Why Can a Spring Boot JAR Run Directly?

Spring Boot packages all dependencies and an embedded web server into a single executable JAR, allowing developers to launch the application with a simple "java -jar" command without external configuration or server deployment.

GradleJavaSpring Boot
0 likes · 4 min read
Why Can a Spring Boot JAR Run Directly?
java1234
java1234
Jan 24, 2026 · Operations

A Lightweight Nginx Log Analyzer That Actually Works

NginxPulse is a lightweight, Docker‑ready Nginx log analysis panel built with Go‑Gin backend and Vue3 frontend, offering real‑time PV/UV, IP geolocation, multi‑site support, custom log formats, remote log fetching, and easy deployment via a single command or Compose file.

DockerGoNginx
0 likes · 7 min read
A Lightweight Nginx Log Analyzer That Actually Works
java1234
java1234
Jan 24, 2026 · Fundamentals

How to Detect Completion of Thread Pool Tasks in Java

This article explains four practical ways to determine when tasks submitted to a Java ExecutorService have finished—using Future's isDone/get, ExecutorService.invokeAll, CompletionService, and CountDownLatch—each with code examples and usage guidance.

CompletionServiceCountDownLatchExecutorService
0 likes · 8 min read
How to Detect Completion of Thread Pool Tasks in Java
java1234
java1234
Jan 23, 2026 · Fundamentals

Why Java 25 Is a Game‑Changer: Simpler Syntax, Faster Performance, Modern Features

Java 25, the newest LTS release, introduces a suite of language and runtime enhancements—including primitive‑type pattern matching, module‑wide imports, a lightweight main method, richer records, structured concurrency, scoped values, a vector API, and security updates—that together make Java code more concise, safer, and higher‑performing for both newcomers and seasoned developers.

JEPJavaJava 25
0 likes · 11 min read
Why Java 25 Is a Game‑Changer: Simpler Syntax, Faster Performance, Modern Features
java1234
java1234
Jan 22, 2026 · Backend Development

From Heavyweights to Obscurities: A Critical Review of 13 Java Web Frameworks

The article evaluates 13 Java web frameworks across performance, ecosystem maturity, learning curve, development efficiency, enterprise adoption, and innovation, providing concrete metrics, strengths, suitable scenarios, and a tiered ranking from dominant to legacy options.

JavaMicronautQuarkus
0 likes · 9 min read
From Heavyweights to Obscurities: A Critical Review of 13 Java Web Frameworks
java1234
java1234
Jan 20, 2026 · Databases

Understanding Redis Memory Eviction Strategies

Redis stores data in memory, so when usage reaches the maxmemory limit it triggers one of six eviction policies—noeviction, allkeys‑lru, volatile‑lru, allkeys‑random, volatile‑random, and volatile‑ttl—each suited to different scenarios, and can be set via redis.conf or CONFIG SET, as illustrated with a Java Jedis example.

JavaJedisLRU
0 likes · 6 min read
Understanding Redis Memory Eviction Strategies