Skip to content
Tagged articles

Java

500 articles · Page 1 of 5
IoT Full-Stack Technology
IoT Full-Stack Technology
Nov 21, 2026 · Fundamentals

Try-Catch Placement in Loops: Behavioral Differences & Performance Analysis

This article explains the behavioral differences between placing try-catch inside versus outside a for loop in Java, demonstrating with code examples how exception handling affects loop continuation, and analyzes performance implications including bytecode-level exception table mechanics and memory overhead when exceptions occur frequently.

BytecodeException HandlingInterview Questions
0 likes · 7 min read
Try-Catch Placement in Loops: Behavioral Differences & Performance Analysis
java1234
java1234
Nov 21, 2026 · Backend Development

Spring AI 2.1: Decision Models, Session API & Stateless MCP for Production Agents

Spring AI 2.1 introduces Decision Models for structured outputs, a new message-part model preserving reasoning traces, Session API replacing ChatMemory with event-sourced memory and recall, tool confirmation and rate limits for safe agent loops, stateless MCP 2026-07-28 protocol, and bring-your-own-vector support across 11 vector stores.

AgentDecision ModelsJava
0 likes · 22 min read
Spring AI 2.1: Decision Models, Session API & Stateless MCP for Production Agents
Java Tech Workshop
Java Tech Workshop
Nov 20, 2026 · Backend Development

Locate PDF Keywords with Page Numbers and Coordinates Using Apache PDFBox in Java

This tutorial demonstrates how to use Apache PDFBox to find keywords in PDF documents and retrieve their exact page numbers, coordinates, and bounding boxes, covering character-level position extraction, coordinate system conversion, cross-line matching, highlighting, and handling encrypted or rotated pages.

Apache PDFBoxJavaPDF annotation
0 likes · 17 min read
Locate PDF Keywords with Page Numbers and Coordinates Using Apache PDFBox in Java
macrozheng
macrozheng
Nov 19, 2026 · Industry Insights

Java Returns to TIOBE Top 3, But Statistical Shift Clouds Comeback

The November 2026 TIOBE index shows Java retaking third place from C++ with 8.89% versus 8.35%, but the gain likely reflects a methodology change adding Chinese search terms rather than genuine resurgence; Python leads at 20.86%, Go enters the top 10, Rust falls to 11th, while Java's ecosystem advances with virtual threads, Spring Boot 4, and GraalVM native images.

AI engineeringC#GraalVM
0 likes · 10 min read
Java Returns to TIOBE Top 3, But Statistical Shift Clouds Comeback
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Nov 19, 2026 · Artificial Intelligence

Beyond 512/64: Deep Dive into RAG Chunking Strategies from Theory to Java Production

This article analyzes RAG chunking strategies, explaining why default 512/64 parameters fail, how chunk size and overlap affect retrieval quality, and provides production-ready Java implementations including token-aware splitting, recursive Chinese-friendly splitters, semantic chunking, parent-child architectures, and evaluation-driven parameter tuning.

EvaluationJavaRAG
0 likes · 46 min read
Beyond 512/64: Deep Dive into RAG Chunking Strategies from Theory to Java Production
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Nov 18, 2026 · Artificial Intelligence

CNN for Java Engineers: From Model Understanding to Production Inference Deployment

This article explains CNN fundamentals — local receptive fields, weight sharing, equivariance — and provides Java engineers a practical roadmap from reading model summaries to deploying stable inference services using DJL and ONNX Runtime, covering preprocessing contracts, concurrency pitfalls, native memory management, quantization trade-offs, and observability strategies.

CNNConcurrencyDJL
0 likes · 49 min read
CNN for Java Engineers: From Model Understanding to Production Inference Deployment
LuTiao Programming
LuTiao Programming
Nov 16, 2026 · Backend Development

Why 50K Records Took 40 Seconds: The Hidden Cost of List.contains() in Loops

A permission sync task processing 50,000 records ran in 40 seconds despite sub-second SQL queries; profiling revealed the bottleneck was an O(n²) List.contains() inside a stream filter, and replacing the List with a HashSet cut the diff calculation from 38 seconds to milliseconds, demonstrating how data structure choice dominates batch performance.

Batch ProcessingData StructuresHashSet
0 likes · 16 min read
Why 50K Records Took 40 Seconds: The Hidden Cost of List.contains() in Loops
IT Services Circle
IT Services Circle
Nov 16, 2026 · Industry Insights

Java Reclaims #3 in TIOBE: Statistical Artifact or Genuine Resurgence?

The November 2026 TIOBE index shows Java overtaking C++ to return to third place, but the 0.54% margin is razor-thin and likely inflated by a methodology change adding Chinese search terms; meanwhile Java's ecosystem demonstrates real momentum with virtual threads, Spring Boot 4, GraalVM native images, and Spring AI integration.

C#GraalVMJava
0 likes · 10 min read
Java Reclaims #3 in TIOBE: Statistical Artifact or Genuine Resurgence?
Architect's Guide
Architect's Guide
Nov 15, 2026 · Fundamentals

Decorator Pattern: Elegant Coupon System Design Without Class Explosion

The article demonstrates how the Decorator Pattern solves coupon stacking, order sensitivity, and class explosion problems in e-commerce by composing discount calculators recursively, with Java implementation examples and real-world JDK/Servlet references.

Class ExplosionComposition Over InheritanceCoupon System
0 likes · 13 min read
Decorator Pattern: Elegant Coupon System Design Without Class Explosion
Java Architect Essentials
Java Architect Essentials
Nov 15, 2026 · R&D Management

Structured Code Review for AI: Inside the code-review-skill Framework

The article introduces code-review-skill, a structured framework for AI-assisted code review that organizes review into four phases, categorizes findings by severity, and requires evidence-backed comments with location, rationale, and verification steps, recommending teams start with a small pull request to validate its effectiveness.

AI-assisted developmentClaude CodeJava
0 likes · 5 min read
Structured Code Review for AI: Inside the code-review-skill Framework
Java Architect Handbook
Java Architect Handbook
Nov 15, 2026 · Backend Development

30 IntelliJ IDEA Plugins That Boost Java Productivity

This article reviews 30 IntelliJ IDEA plugins grouped into essential, decorative, and convenience categories, showcasing features such as smart code completion, Alibaba code guidelines, sequence diagram generation, rainbow brackets, log highlighting, and bytecode inspection with visual demos and shortcut keys.

BytecodeIntelliJ IDEAJava
0 likes · 12 min read
30 IntelliJ IDEA Plugins That Boost Java Productivity
IoT Full-Stack Technology
IoT Full-Stack Technology
Nov 14, 2026 · Backend Development

Spring-Smart-DI: Dynamic @Autowired Implementation Switching at Runtime

This article introduces spring-smart-di, a library that extends Spring's @Autowired with @AutowiredProxySPI to dynamically switch service implementations (e.g., SMS providers) via configuration without restart, using proxies that resolve the active bean at each invocation.

@AutowiredProxySPI@EnvironmentProxySPIDependency Injection
0 likes · 7 min read
Spring-Smart-DI: Dynamic @Autowired Implementation Switching at Runtime
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Nov 14, 2026 · Interview Experience

LeetCode 45 Jump Game II: Master the Greedy Solution Interviewers Grill You On

This comprehensive guide deconstructs LeetCode 45 Jump Game II, walking through brute force, DP, BFS, and optimal greedy solutions with correctness proofs, Java implementations, complexity benchmarks, eight common pitfalls, comparison with Jump Game I, and eight high-frequency interview follow-up questions.

Algorithm AnalysisBFSGreedy Algorithm
0 likes · 28 min read
LeetCode 45 Jump Game II: Master the Greedy Solution Interviewers Grill You On
Java Captain
Java Captain
Nov 14, 2026 · Backend Development

Why Java Developers Prefer Lombok Over Public Fields: Dogmatism's Toll

This article argues that Java developers adopt Lombok as a compromise against dogmatic encapsulation that mandates getters/setters for fields rarely needing custom logic, while also criticizing unnecessary interface/impl splits and DTO naming conventions, illustrated by a case where a getter enabled quick refactoring across hundreds of call sites.

BoilerplateDogmatismEncapsulation
0 likes · 4 min read
Why Java Developers Prefer Lombok Over Public Fields: Dogmatism's Toll
Java Tech Enthusiast
Java Tech Enthusiast
Nov 14, 2026 · Backend Development

How I Replaced 16 If-Else Blocks with Spring Boot Strategy Pattern (And Why It Works)

This tutorial demonstrates how to refactor a 16-branch if-else chain in a Spring Boot order service using the Strategy Pattern, showing interface definition, strategy implementations, auto-registration via Spring's List injection, factory pattern for O(1) lookup, and common pitfalls to avoid.

Backend DevelopmentClean CodeDependency Injection
0 likes · 13 min read
How I Replaced 16 If-Else Blocks with Spring Boot Strategy Pattern (And Why It Works)
Java Architecture Diary
Java Architecture Diary
Nov 12, 2026 · Backend Development

No Standalone Vector DB Needed: Embed Zvec in Java with a Single JAR

This tutorial demonstrates how to embed Alibaba's Zvec vector database directly into a Java application using a single JAR dependency, eliminating the need for a separate vector database service. It walks through vector search, Chinese full-text search with jieba, and hybrid retrieval using RRF fusion, while covering critical production considerations like data persistence, native memory management, and platform compatibility.

JavaRAGRRF
0 likes · 10 min read
No Standalone Vector DB Needed: Embed Zvec in Java with a Single JAR
macrozheng
macrozheng
Nov 11, 2026 · Backend Development

IntelliJ IDEA 2026.3: A Watershed Release Turning the IDE into an Agent Platform

The article reviews IntelliJ IDEA 2026.3, highlighting its shift toward AI Agent integration with the new Home view, Git Worktree support, and Air agent environment, while also covering debugging improvements like non-blocking logpoints, a libghostty-based terminal, remote SSH enhancements, and stability fixes, concluding with a comparison to the author's preferred Orca workflow and instructions to disable Air.

2026.3AI AgentIntelliJ IDEA
0 likes · 10 min read
IntelliJ IDEA 2026.3: A Watershed Release Turning the IDE into an Agent Platform
Java Tech Enthusiast
Java Tech Enthusiast
Nov 11, 2026 · Backend Development

Spring Boot Trusted Device Login: Why Device ID Isn't Enough for 30-Day Remember Me

This article details a secure implementation of 'remember this device for 30 days' in Spring Boot, explaining why device IDs and fingerprints are insufficient, and demonstrating server-signed trusted device tokens with hashed storage, rotation, absolute expiration, MFA versioning, and revocation mechanisms to properly bypass 2FA without compromising security.

2FAJavaMFA
0 likes · 22 min read
Spring Boot Trusted Device Login: Why Device ID Isn't Enough for 30-Day Remember Me
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 10, 2026 · Backend Development

Java CyclicBarrier: Reusable Thread Barrier with Callback for Parallel Aggregation

This article explains Java's CyclicBarrier synchronization utility, highlighting its reusability and callback support compared to CountDownLatch, and demonstrates its use in two examples: a basic three-thread barrier with a callback and a parallel array sum calculation where threads compute partial sums and aggregate at the barrier.

ConcurrencyCountDownLatchCyclicBarrier
0 likes · 6 min read
Java CyclicBarrier: Reusable Thread Barrier with Callback for Parallel Aggregation
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Nov 10, 2026 · Backend Development

Java Campus Recruitment Crash Course: From Core Concepts to Deployable Projects in 30, 60, or 90 Days

A structured Java backend interview preparation guide covering core Java, MySQL, Spring ecosystem, Redis, message queues, microservices basics, deployment, and project practice with flexible 30-day, 8-week, and 12-week schedules for campus recruitment candidates.

Backend DevelopmentCampus RecruitmentInterview Preparation
0 likes · 76 min read
Java Campus Recruitment Crash Course: From Core Concepts to Deployable Projects in 30, 60, or 90 Days
SpringMeng
SpringMeng
Nov 10, 2026 · Backend Development

Why ZXing Dominates QR Code Scanning: A 19-Year-Old Java Library's Rise

This article explores why ZXing, a 19-year-old Java barcode library with 34k GitHub stars, became the de facto standard for QR code generation and scanning in apps like WeChat and Alipay, covering its encoding/decoding internals, Android architecture, comparison with ZBar and OpenCV, pros/cons, and ideal use cases.

AndroidBarcodeComputer Vision
0 likes · 15 min read
Why ZXing Dominates QR Code Scanning: A 19-Year-Old Java Library's Rise
21CTO
21CTO
Nov 10, 2026 · Industry Insights

TIOBE November 2026: Rust Falls Out of Top 10, Dart Enters Top 20 for First Time

The November 2026 TIOBE index shows Python leading at 20.86%, Java overtaking C++ for third place, Rust dropping to 11th despite year-over-year growth as Go claims 10th, and Dart entering the top 20 for the first time driven by Flutter's cross-platform adoption, while Julia falls out of the top 20.

DartFlutterGo
0 likes · 8 min read
TIOBE November 2026: Rust Falls Out of Top 10, Dart Enters Top 20 for First Time
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Nov 9, 2026 · Backend Development

Frontend to Java Full-Stack: AI-Powered 2-Day Demo & Pitfall Guide

A frontend developer shares a practical roadmap for transitioning to Java full-stack development using AI assistance, covering mental model mapping, tech stack selection (Spring Boot 3, JPA/MyBatis-Plus), 30-minute MVP workflow, backend core patterns (unified response, global exceptions, layered architecture), frontend integration (Vite proxy, axios, OpenAPI type generation), JWT/Spring Security pitfalls, AI prompt engineering, and 24 real-world pitfalls with solutions.

AI-assisted codingFrontend to BackendFull-Stack Development
0 likes · 53 min read
Frontend to Java Full-Stack: AI-Powered 2-Day Demo & Pitfall Guide
IT Services Circle
IT Services Circle
Nov 9, 2026 · Fundamentals

LeetCode 675: Cut Off Trees with BFS, A* & Union-Find Optimization

The article shares a career anecdote about a failed background check due to an omitted 5-day job, then provides a comprehensive solution to LeetCode 675 'Cut Off Trees for Golf Event' using BFS, A* search with Manhattan heuristic, and Union-Find pre-check for unreachable trees.

A*AlgorithmBFS
0 likes · 20 min read
LeetCode 675: Cut Off Trees with BFS, A* & Union-Find Optimization
Java Captain
Java Captain
Nov 8, 2026 · Backend Development

Why Dependency Injection Thrives in Java But Not Go or C++: IoC Trade-offs

The article explains that dependency injection is just one inversion-of-control pattern; Java adopts DI due to its object-oriented purity and reflection-enabled runtime frameworks, while Go and C++ prefer lighter callbacks, closures, and compile-time abstraction via headers, making DI frameworks less necessary despite the pattern's universal value for decoupling and testing.

C#DecouplingDependency Injection
0 likes · 6 min read
Why Dependency Injection Thrives in Java But Not Go or C++: IoC Trade-offs
Architect's Guide
Architect's Guide
Nov 8, 2026 · Backend Development

Implementing Spring Boot API Rate Limiting with Redis and Custom Annotations

This article demonstrates how to implement API rate limiting in Spring Boot using Redis for request counting and a custom @RequestLimit annotation with an interceptor to enforce limits per user session, including complete code examples for the annotation, interceptor, configuration, and controller usage.

API securityBackendCustom Annotation
0 likes · 8 min read
Implementing Spring Boot API Rate Limiting with Redis and Custom Annotations
LuTiao Programming
LuTiao Programming
Nov 8, 2026 · Backend Development

Beyond Chatbots: Building Production-Grade AI Contract Review in Java

This article details a complete Java architecture for AI-powered contract review, covering PDF parsing, text normalization, structured LLM output with enums and records, chunking long documents, async task processing with retries, business rule validation, human-in-the-loop workflows, and feedback capture for continuous improvement.

AI IntegrationJavaPDF parsing
0 likes · 21 min read
Beyond Chatbots: Building Production-Grade AI Contract Review in Java
Java Captain
Java Captain
Nov 7, 2026 · Industry Insights

Why ByteDance Embraces Go/Rust While Alibaba Sticks with Java: History, Talent, and Migration Economics

The article explains how historical regional talent pools, legacy codebases, and cost-benefit analysis drove Chinese tech giants' language choices: ByteDance adopted Go/Rust due to its Beijing-based PHP/C++ heritage and greenfield start, while Alibaba remains on Java because of its Hangzhou roots, massive Spring ecosystem, and prohibitive migration costs for marginal gains.

Backend ArchitectureChinese tech giantsGo
0 likes · 9 min read
Why ByteDance Embraces Go/Rust While Alibaba Sticks with Java: History, Talent, and Migration Economics
Architect's Guide
Architect's Guide
Nov 7, 2026 · Backend Development

Thread Pool Misuse in Production: Key Lessons from a Real Incident

A production timeout incident caused by unbounded CompletableFuture.get() calls and shared thread pools leads to a comprehensive guide on proper thread pool configuration, isolation, timeout handling, ThreadLocal cleanup, dynamic queue sizing, core thread calculation formulas, and ParallelStream pitfalls.

CompletableFutureConcurrencyJava
0 likes · 17 min read
Thread Pool Misuse in Production: Key Lessons from a Real Incident
Architecture Pony
Architecture Pony
Nov 5, 2026 · Backend Development

OpenFeign & Load Balancing: Proxy Internals & Timeout Governance

This article dissects OpenFeign's declarative HTTP client internals, covering JDK dynamic proxy mechanics, load balancing integration, timeout pyramid design, connection pooling, retry disciplines, and common pitfalls with production-ready configurations and source-code walkthroughs.

Connection PoolingJavaOpenFeign
0 likes · 26 min read
OpenFeign & Load Balancing: Proxy Internals & Timeout Governance
IoT Full-Stack Technology
IoT Full-Stack Technology
Nov 5, 2026 · Backend Development

Strategy Pattern in Spring Boot: Extensible Interface Design Without If-Else Chains

This tutorial demonstrates implementing the Strategy Pattern in Spring Boot using a calculator example, showing how to register strategy beans via @Component, inject them into a factory map at startup, and route requests dynamically for extensible callback handling without modifying existing code.

Callback HandlingExtensibilityFactory Pattern
0 likes · 6 min read
Strategy Pattern in Spring Boot: Extensible Interface Design Without If-Else Chains
LuTiao Programming
LuTiao Programming
Nov 5, 2026 · Backend Development

Instant Account Freeze in Java: One Version Bump Revokes All Tokens & Sessions

This article details a Java implementation for one-click account freezing that uses a security version counter to instantly invalidate all access tokens, refresh tokens, sessions, and trusted devices across multiple clients without maintaining token blacklists, covering distributed caching, audit logging, and recovery flows.

Account FreezeDistributed CachingJava
0 likes · 23 min read
Instant Account Freeze in Java: One Version Bump Revokes All Tokens & Sessions
LuTiao Programming
LuTiao Programming
Nov 4, 2026 · Backend Development

Complete Java Login Risk Control: From Brute-Force Detection to Adaptive Authentication

This article details a complete Java implementation of login risk control, covering rule-based risk scoring, device fingerprinting, impossible travel detection, adaptive multi-factor authentication, and a two-phase login API that dynamically adjusts security friction based on real-time risk signals like new devices, geo-anomalies, and recent security events.

Adaptive MFABrute Force ProtectionDevice Fingerprinting
0 likes · 26 min read
Complete Java Login Risk Control: From Brute-Force Detection to Adaptive Authentication
Java Tech Enthusiast
Java Tech Enthusiast
Nov 4, 2026 · Backend Development

Java SMS One-Click Login: Complete Production-Ready Implementation with Rate Limiting & Anti-Brute Force

This article provides a complete Java implementation of SMS one-click login using Spring Boot 3, Redis, and JWT, covering business flow, configuration, Redis key design, core service code with rate limiting, blacklist, daily limits, one-time verification codes, login verification with JWT issuance, controller endpoints, production security optimizations including Lua atomic scripts, graphical captcha, channel fallback, risk control, and compliance, plus extension directions like carrier authentication and anomaly detection.

Anti-Brute ForceJavaProduction Security
0 likes · 11 min read
Java SMS One-Click Login: Complete Production-Ready Implementation with Rate Limiting & Anti-Brute Force
Su San Talks Tech
Su San Talks Tech
Nov 3, 2026 · Backend Development

5 Essential IntelliJ IDEA Plugins for Automated Java Code Quality Analysis

This article details five IntelliJ IDEA plugins — Alibaba Java Coding Guidelines, CheckStyle, PMD, FindBugs, and SonarLint — covering installation, usage, configuration, and rule sets to automate code review, detect bugs, enforce standards, and improve overall code health in Java projects.

Alibaba Java Coding GuidelinesCheckStyleFindBugs
0 likes · 14 min read
5 Essential IntelliJ IDEA Plugins for Automated Java Code Quality Analysis
Java Architect Essentials
Java Architect Essentials
Nov 3, 2026 · Backend Development

Java Devs: Verify Codex Access Before Subscribing, Then Scope Project Access

This guide walks Java developers through the correct sequence for adopting GPT-6.1 Sol via Codex: first confirm model availability in ChatGPT Work or Codex clients, then select a subscription tier matching actual usage, and finally grant scoped, auditable project access with Git-backed guardrails and PR-style review loops.

AI-assisted codingCodexGPT-6.1 Sol
0 likes · 7 min read
Java Devs: Verify Codex Access Before Subscribing, Then Scope Project Access
LuTiao Programming
LuTiao Programming
Nov 3, 2026 · Information Security

Java Trusted Device Login: Secure 30-Day 2FA Skip via Rotating Tokens

This article details a complete Java implementation for trusted device login, covering secure token generation, server-side validation, hash storage, token rotation, revocation via MFA versioning, risk-based signals, and user-facing device management, ensuring 30-day 2FA bypass without compromising security.

2FAJavaRevocation
0 likes · 21 min read
Java Trusted Device Login: Secure 30-Day 2FA Skip via Rotating Tokens
LuTiao Programming
LuTiao Programming
Nov 2, 2026 · Backend Development

Complete Java TOTP 2FA Implementation: QR Binding, Replay Protection & Recovery Codes

This article details a production-ready Java implementation of TOTP two-factor authentication covering QR code binding, secret encryption, time-drift handling, replay attack prevention via atomic step consumption, rate limiting, recovery codes with hashed storage, and secure 2FA disable flows requiring re-authentication.

JavaQR code bindingRFC 6238
0 likes · 23 min read
Complete Java TOTP 2FA Implementation: QR Binding, Replay Protection & Recovery Codes
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Nov 1, 2026 · Backend Development

Designing Production-Grade APIs: Contracts, Security, Idempotency & Rate Limiting with Code

This comprehensive guide covers designing production-ready APIs from contract design and security (HMAC-SHA256 signatures, nonce replay protection) to idempotency (five patterns with Redis Lua), distributed rate limiting (token bucket, sliding window), observability (TraceID, logging, monitoring), and versioning strategies, with production-ready Java code examples.

API DesignBackend DevelopmentJava
0 likes · 39 min read
Designing Production-Grade APIs: Contracts, Security, Idempotency & Rate Limiting with Code
SpringMeng
SpringMeng
Nov 1, 2026 · Backend Development

XXL-JOB AI Executor: Schedule AI Tasks Like Regular Cron Jobs

This article explains how XXL-JOB v3.1.0+ integrates AI capabilities via built-in handlers for Ollama, Dify, and OpenClaw, allowing AI tasks to be scheduled, retried, and logged alongside regular jobs, with code examples, setup steps, pros/cons, and use cases.

AI executorDifyJava
0 likes · 14 min read
XXL-JOB AI Executor: Schedule AI Tasks Like Regular Cron Jobs
LuTiao Programming
LuTiao Programming
Nov 1, 2026 · Backend Development

Complete Java Passkey Implementation: Registration, Auth, Anti-Replay & Multi-Device

This article provides a complete Java implementation guide for Passkey passwordless authentication, covering credential registration with challenge generation, public key storage, signature verification, anti-replay protection via one-time challenges, multi-device credential management, account recovery considerations, Spring Security WebAuthn integration, and a layered authentication architecture separating auth methods from session management.

Challenge-ResponseJavaMulti-Device Management
0 likes · 21 min read
Complete Java Passkey Implementation: Registration, Auth, Anti-Replay & Multi-Device
java1234
java1234
Oct 31, 2026 · Backend Development

ZXing 3.5.4 Deep Dive: New Features, Barcode Support & Java Code Examples

This article explores ZXing 3.5.4's Java library updates including grayscale luminance source, QRCodeMultiReader metadata preservation, PDF417 fixes, and improved barcode recognition, with practical code examples for generating and reading QR codes and other barcode formats.

3.5.4BarcodeJava
0 likes · 16 min read
ZXing 3.5.4 Deep Dive: New Features, Barcode Support & Java Code Examples
LuTiao Programming
LuTiao Programming
Oct 31, 2026 · Backend Development

Java Multi-Device Login: Session-Centric Architecture for Device Control & Concurrency

This article details a session-centric Java architecture for multi-device login, covering device session creation, JWT with session IDs, single-device logout, admin forced logout, per-device-type concurrency control using Redis atomic operations, login limits with LRU eviction, device ID generation, refresh token binding, and security considerations for immediate token revocation.

JavaMulti-Device LoginRedis
0 likes · 18 min read
Java Multi-Device Login: Session-Centric Architecture for Device Control & Concurrency
Java Captain
Java Captain
Oct 30, 2026 · Backend Development

Master Java Date/Time: From Legacy Date to Modern LocalDateTime

This guide covers Java date/time handling from legacy Date and SimpleDateFormat to modern JDK 8+ APIs including LocalDateTime, DateTimeFormatter, Period, and Duration with practical code examples and conversion techniques.

DATETIMEDateTimeFormatterDuration
0 likes · 14 min read
Master Java Date/Time: From Legacy Date to Modern LocalDateTime
LuTiao Programming
LuTiao Programming
Oct 29, 2026 · Backend Development

Java SMS One-Click Login: Complete Implementation with Rate Limiting & Anti-Brute Force

This article provides a complete Java implementation of SMS one-click login using Spring Boot 3, Redis, and JWT, covering business flow, configuration, Redis key design, code for verification code generation, rate limiting, blacklist, and login validation, plus production security optimizations like Lua scripts, CAPTCHA, channel fallback, and compliance.

Anti-Brute ForceJavaProduction Security
0 likes · 10 min read
Java SMS One-Click Login: Complete Implementation with Rate Limiting & Anti-Brute Force
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Oct 27, 2026 · Artificial Intelligence

Connecting LLM, RAG, Agent & MCP: A Java Engineer's Production AI Engineering Guide

This article uses a real e-commerce customer service request to thread together LLM, RAG, Agent, MCP, vector search, and cosine similarity, providing five-layer architecture diagrams, production-grade Java code, 16 pitfall tables, and 13 interview Q&As to show how to embed uncertain model capabilities into deterministic engineering systems.

AI engineeringAgentCosine Similarity
0 likes · 59 min read
Connecting LLM, RAG, Agent & MCP: A Java Engineer's Production AI Engineering Guide
Java Captain
Java Captain
Oct 27, 2026 · Backend Development

How to Install and Switch Between Multiple JDKs on Windows

This tutorial explains how to install Java 7 and Java 8 on Windows, configure version-specific environment variables (JAVA_HOME7, JAVA_HOME8), set classpath and PATH dynamically, remove system Java executables, and verify the active JDK version using the command line.

JDKJavaJava 7
0 likes · 3 min read
How to Install and Switch Between Multiple JDKs on Windows
Architect's Tech Stack
Architect's Tech Stack
Oct 26, 2026 · Information Security

Java CVE-2026-91403: Compromised cacerts Roots Allow Silent MITM on All LTS Versions

Oracle disclosed CVE-2026-91403 (CVSS 9.1) where compromised eMudhra intermediate CA private keys in the JDK cacerts trust store allow attackers to forge valid certificates for any domain, enabling undetectable man-in-the-middle attacks on all Java LTS versions; the article details detection via keytool, removal steps, container image fixes, and interim mitigations like revocation checking and custom trust managers.

CVE-2026-91403JavaMITM
0 likes · 15 min read
Java CVE-2026-91403: Compromised cacerts Roots Allow Silent MITM on All LTS Versions
IoT Full-Stack Technology
IoT Full-Stack Technology
Oct 26, 2026 · Backend Development

How to Implement Redis Cache Warming in Spring Boot

This article demonstrates how to implement Redis cache warming in Spring Boot using an abstract cache class, ApplicationContextAware utility, and CommandLineRunner to preload hot data at startup, with a concrete NewsCache example showing RedisTemplate integration and automatic cache reload on expiration.

Backend DevelopmentCache PreheatingCache Warming
0 likes · 6 min read
How to Implement Redis Cache Warming in Spring Boot
IT Services Circle
IT Services Circle
Oct 26, 2026 · Information Security

Java CVE-2026-91403: eMudhra CA Private Key Leak Breaks HTTPS Trust — Upgrade & Mitigation Guide

Oracle's Security Alert for CVE-2026-91403 reveals eight eMudhra intermediate CA private keys were leaked, causing Java's trust store to accept forged certificates. Affected versions include Oracle Java SE 8u511, 11.0.33, 17.0.21, 21.0.13, 25.0.5, 27.0.1 and GraalVM variants. Remediation requires upgrading to patched builds and restarting JVMs, plus either removing the compromised root certificates from cacerts or enabling revocation checking via JVM flags. Older unsupported JDKs likely share the risk.

CA certificateCVE-2026-91403HTTPS trust
0 likes · 7 min read
Java CVE-2026-91403: eMudhra CA Private Key Leak Breaks HTTPS Trust — Upgrade & Mitigation Guide
IoT Full-Stack Technology
IoT Full-Stack Technology
Oct 25, 2026 · Backend Development

Implementing Redis Cache Preheating in Spring Boot: A Practical Guide

This article explains cache preheating concepts and demonstrates a complete Spring Boot implementation using an abstract cache class, ApplicationContext utility, CommandLineRunner for startup loading, and a concrete NewsCache example with RedisTemplate to load hot data at startup, reducing cache penetration and database load.

ApplicationContextAwareCache PreheatingCommandLineRunner
0 likes · 6 min read
Implementing Redis Cache Preheating in Spring Boot: A Practical Guide
Architect's Guide
Architect's Guide
Oct 25, 2026 · Backend Development

8 Java Asynchronous Implementation Patterns for High Performance

This article explores eight ways to implement asynchronous programming in Java, including Thread, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, Hutool ThreadUtil, and Guava ListenableFuture, with code examples and trade-offs for each approach.

Asynchronous ProgrammingCompletableFutureFuture
0 likes · 14 min read
8 Java Asynchronous Implementation Patterns for High Performance
Raymond Ops
Raymond Ops
Oct 25, 2026 · Operations

Linux CPU Spike Troubleshooting: From Alert to Root Cause

A comprehensive guide to diagnosing Linux server CPU spikes using systematic evidence chains: verify alert scope, identify processes and threads, distinguish user/kernel/interrupt time, analyze memory and I/O pressure, leverage perf and language runtimes, check container quotas, correlate deployments and cron jobs, and validate fixes with repeatable measurements.

CPUContainerJava
0 likes · 38 min read
Linux CPU Spike Troubleshooting: From Alert to Root Cause
Architect's Guide
Architect's Guide
Oct 24, 2026 · Backend Development

Silent Token Refresh: Access vs Refresh Tokens with JWT Implementation

This article explains why silent token refresh is needed to prevent sudden logouts, demonstrates backend automatic token renewal using Java JWT (jjwt 0.9.1) with Maven dependencies, details the dual-token (AT/RT) frontend pattern for security and convenience, and discusses handling edge cases like long-idle form submissions that cause 401 errors.

Javaaccess tokenauthentication
0 likes · 10 min read
Silent Token Refresh: Access vs Refresh Tokens with JWT Implementation
Java Tech Workshop
Java Tech Workshop
Oct 24, 2026 · Backend Development

How Spring Boot Auto-Configuration Finds and Loads Classes: A Deep Dive

This article explains Spring Boot's auto-configuration mechanism, covering how @EnableAutoConfiguration triggers AutoConfigurationImportSelector, loads candidate classes from META-INF imports files, evaluates conditional annotations like @ConditionalOnClass and @ConditionalOnMissingBean at different phases, orders configurations via @AutoConfigureBefore/After, binds properties with @ConfigurationProperties, and troubleshoots silent failures using --debug and ConditionEvaluationReport.

Auto-ConfigurationBackend DevelopmentJava
0 likes · 24 min read
How Spring Boot Auto-Configuration Finds and Loads Classes: A Deep Dive
Java Captain
Java Captain
Oct 24, 2026 · Backend Development

Java Crash Debug: EXCEPTION_ACCESS_VIOLATION in plcommpro.dll – JVM Flags, GC, JDK Downgrade

The author documents a step-by-step troubleshooting journey for a Java service crashing with EXCEPTION_ACCESS_VIOLATION (0xc0000005) in plcommpro.dll, trying minidump enablement, JDK downgrade from 8u241 to 8u191, JIT compilation exclusion for Hibernate, heap sizing, GC switch to ParallelOldGC, and DLL version checks, with each fix extending uptime but not fully resolving the native crash.

EXCEPTION_ACCESS_VIOLATIONGC TuningHibernate
0 likes · 6 min read
Java Crash Debug: EXCEPTION_ACCESS_VIOLATION in plcommpro.dll – JVM Flags, GC, JDK Downgrade
macrozheng
macrozheng
Oct 23, 2026 · Information Security

PHP & Java Critical Vulnerabilities: Memory Corruption, Compromised Certificates, AI-Assisted Discovery

The article details two critical PHP vulnerabilities (CVE-2026-109618/109619) causing remote code execution via memory initialization flaws and use-after-free, a Java vulnerability (CVE-2026-91403) involving compromised eMudhra CA certificates enabling MITM attacks, and how AI tools like GPT-5.6 Sol accelerated vulnerability discovery and exploit development.

AI vulnerability discoveryCVE-2026-109618CVE-2026-109619
0 likes · 16 min read
PHP & Java Critical Vulnerabilities: Memory Corruption, Compromised Certificates, AI-Assisted Discovery
Java Captain
Java Captain
Oct 23, 2026 · Backend Development

Druid Connection Pool: Complete Java Setup Guide with Helper Class & Tests

This tutorial demonstrates configuring and using Alibaba's Druid connection pool in Java applications, covering Maven dependencies, properties configuration, basic connection retrieval, a reusable helper class with query and execute methods, and JUnit test cases for CRUD operations.

Backend DevelopmentConnection PoolDruid
0 likes · 12 min read
Druid Connection Pool: Complete Java Setup Guide with Helper Class & Tests
JavaGuide
JavaGuide
Oct 22, 2026 · Information Security

PHP & Java Critical Vulnerabilities: Memory Corruption, Cert Trust Flaws & AI Discovery

The article details two critical PHP vulnerabilities (CVE-2026-109618 and CVE-2026-109619) enabling unauthenticated RCE via memory initialization and use-after-free flaws, a Java vulnerability (CVE-2026-91403) involving trust in compromised eMudhra CA certificates, and how AI models like GPT-5.6 Sol accelerated vulnerability discovery and exploit development.

AI-assisted vulnerability researchCVE-2026-109618CVE-2026-109619
0 likes · 16 min read
PHP & Java Critical Vulnerabilities: Memory Corruption, Cert Trust Flaws & AI Discovery
Java Captain
Java Captain
Oct 22, 2026 · Backend Development

MyBatis Annotation-Based SQL Configuration: Complete Guide with Examples

This tutorial demonstrates how to configure MyBatis SQL statements using Java annotations instead of XML, covering Maven dependencies, project structure, core configuration files, entity mapping, dynamic SQL providers, mapper interfaces with @Select/@Insert/@Update/@Delete annotations, service layer implementation, and JUnit testing.

AnnotationsDynamic SQLJUnit
0 likes · 17 min read
MyBatis Annotation-Based SQL Configuration: Complete Guide with Examples
macrozheng
macrozheng
Oct 21, 2026 · Cloud Native

Why Quarkus Is Winning Cloud-Native Java: Build-Time Over Runtime Reflection

The article explains why Quarkus is gaining adoption over Spring Boot for cloud-native Java, detailing its build-time processing architecture that eliminates runtime reflection, resulting in 1.3s JVM startup, 200ms native startup, 2.5x lower memory, and 2.7x higher throughput, with trade-offs like ecosystem maturity and Native Image complexity.

Build-Time ProcessingCloud NativeJava
0 likes · 19 min read
Why Quarkus Is Winning Cloud-Native Java: Build-Time Over Runtime Reflection
Architecture Pony
Architecture Pony
Oct 21, 2026 · Backend Development

Building a Spring Boot Starter from Scratch: Auto-Configuration, Conditional Assembly & Rate-Limiter Example

This comprehensive guide walks through creating a production-ready Spring Boot 3.x starter, covering auto-configuration mechanics, conditional annotations, configuration properties, registration files, and a complete token-bucket rate-limiter implementation with AOP, plus debugging tips and common pitfalls.

AOPAuto-ConfigurationConditional Assembly
0 likes · 53 min read
Building a Spring Boot Starter from Scratch: Auto-Configuration, Conditional Assembly & Rate-Limiter Example
Architect's Guide
Architect's Guide
Oct 21, 2026 · Backend Development

High-Performance Local Cache Solutions Compared: Guava, Caffeine, Ehcache & ConcurrentHashMap

This article compares four Java local caching solutions — ConcurrentHashMap, Guava Cache, Caffeine, and Ehcache — detailing their features, performance characteristics, and code examples, while addressing cache consistency challenges in two-level cache architectures using MQ or Canal for synchronization.

Cache ConsistencyCaffeineEhcache
0 likes · 11 min read
High-Performance Local Cache Solutions Compared: Guava, Caffeine, Ehcache & ConcurrentHashMap
Ray's Galactic Tech
Ray's Galactic Tech
Oct 21, 2026 · Backend Development

Agent Observability: From Traces to Task Failure Attribution — Production Design with Go, Java, OpenTelemetry & Kubernetes

This article presents a production-grade observability design for agent systems, covering task modeling, trace propagation, lease/fencing/checkpoint mechanisms, OpenTelemetry instrumentation in Go and Java, MCP integration, Kubernetes collector setup, PromQL dashboards, Argo CD release correlation, and fault injection experiments for failure attribution.

Failure AttributionGoJava
0 likes · 51 min read
Agent Observability: From Traces to Task Failure Attribution — Production Design with Go, Java, OpenTelemetry & Kubernetes
SpringMeng
SpringMeng
Oct 20, 2026 · Backend Development

Google Guava Deep Dive: Fluent Strings, Immutable Collections, and Local Caching

This article explores Google Guava's core utilities for Java developers, demonstrating how Joiner, Splitter, and CharMatcher simplify string handling, how Immutable collections provide true immutability versus JDK's unmodifiable views, and how Multimap, BiMap, and Table solve common collection gaps. It also covers primitive utilities, functional transforms with Functions and Predicate, null-safety via Preconditions and Optional, a self-maintaining local Cache, and ListenableFuture for cleaner async callbacks.

Google GuavaImmutableJava
0 likes · 11 min read
Google Guava Deep Dive: Fluent Strings, Immutable Collections, and Local Caching
Coder Trainee
Coder Trainee
Oct 19, 2026 · Backend Development

I Integrated AI into Our Java System in One Week — The Token Bill Almost Killed Me

A developer shares a week-long journey integrating AI into a Java customer service system, detailing how over-engineering with Spring AI Graph was replaced by a simple ChatClient + Tools approach, token costs were cut 80% via model routing, context compression, and semantic caching, a production latency spike was fixed with Tool result limits and circuit breakers, and three operational essentials — budget alerts, conversation logging, and a kill switch — were added for sustainability.

AI IntegrationJavaSpring AI
0 likes · 8 min read
I Integrated AI into Our Java System in One Week — The Token Bill Almost Killed Me
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Oct 19, 2026 · Backend Development

Beyond API Calls: Master LLM Internals, KV Cache, RAG & Function Calling with Java

This comprehensive guide teaches backend engineers LLM fundamentals—from token prediction and attention mechanisms to KV Cache optimization—and provides production-ready Java code for token budgeting, SSE streaming, RAG, function calling, and agent loops, plus 14 real-world pitfalls and interview preparation.

AgentAttention MechanismFunction Calling
0 likes · 59 min read
Beyond API Calls: Master LLM Internals, KV Cache, RAG & Function Calling with Java
Java Captain
Java Captain
Oct 19, 2026 · Backend Development

Java Jedis Tutorial: Redis Connection Pooling & 5 Data Type Operations

This tutorial demonstrates setting up Redis on Windows, configuring a Maven project with Jedis 4.1.1, building a connection pool utility, and providing JUnit test examples for operating Redis Strings, Lists, Hashes, Sets, and Sorted Sets with Jedis API.

Connection PoolJUnitJava
0 likes · 13 min read
Java Jedis Tutorial: Redis Connection Pooling & 5 Data Type Operations
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Oct 18, 2026 · Artificial Intelligence

ML Classification in One Diagram: Interview Answers & Java Implementation

This article explains the four machine learning paradigms—supervised, unsupervised, semi-supervised, and reinforcement learning—with a visual mind map, compares classification, regression, clustering, and dimensionality reduction tasks, provides a simulated interview Q&A covering K-Means pitfalls and core differences, and demonstrates a real-time text classification service using Java libraries Tribuo, ONNX, Spring Boot, and HanLP.

Interview PreparationJavaReinforcement Learning
0 likes · 14 min read
ML Classification in One Diagram: Interview Answers & Java Implementation
Code Archaeology
Code Archaeology
Oct 18, 2026 · Backend Development

Choosing a Java Garbage Collector: Which Metric Are You Optimizing For?

This guide explains Java garbage collector internals and selection criteria, covering Serial, Parallel, G1, ZGC, and Shenandoah, detailing their trade-offs between throughput, latency, and memory overhead, and provides scenario-based recommendations for microservices, low-latency systems, batch processing, and small containers, including upcoming Java 27 defaults.

Backend DevelopmentG1Garbage Collection
0 likes · 15 min read
Choosing a Java Garbage Collector: Which Metric Are You Optimizing For?
Java Tech Enthusiast
Java Tech Enthusiast
Oct 18, 2026 · Backend Development

Java vs Python: Why You Should Extend, Not Switch, for AI & Data

This article analyzes whether Java developers should switch to Python, distinguishing three motivations—AI application development, data analysis/automation, and career dissatisfaction—and argues for extending skills with Python rather than switching, detailing ecosystem boundaries, a real-world SaaS architecture, and practical learning targets.

AI application developmentBackend DevelopmentCareer Development
0 likes · 15 min read
Java vs Python: Why You Should Extend, Not Switch, for AI & Data
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 18, 2026 · Backend Development

Enforce Spring Boot Architecture Rules Automatically with ArchUnit

This tutorial demonstrates how to use ArchUnit to automatically enforce architectural constraints in Spring Boot projects, covering package structure validation, layered architecture protection, cycle detection between modules, and blocking problematic dependencies like BigDecimal(double) constructor through automated tests.

ArchUnitArchitecture TestingAutomated Governance
0 likes · 8 min read
Enforce Spring Boot Architecture Rules Automatically with ArchUnit
Architect's Guide
Architect's Guide
Oct 18, 2026 · Backend Development

Insert 300K Records in 13 Seconds: The Right Way to Batch Insert

The article benchmarks multiple approaches for inserting 300,000 records into MySQL, showing that naive single inserts take over 4 hours, while optimized batched inserts using MyBatis or JDBC with proper batch sizes (1000–5000) and transaction management achieve 13–24 seconds, and summarizes key optimization strategies.

Bulk InsertJDBCJava
0 likes · 14 min read
Insert 300K Records in 13 Seconds: The Right Way to Batch Insert
SpringMeng
SpringMeng
Oct 18, 2026 · Interview Experience

China Merchants Bank Java Backend Interview: 20 Technical Questions & Answers

A developer shares their successful China Merchants Bank Java backend interview experience, detailing 20 technical questions covering HashMap, ConcurrentHashMap, synchronization, thread pools, Redis cache penetration, MySQL indexing, Spring Boot auto-configuration, Agent memory, RAG, multi-agent orchestration, and more, with answers and preparation tips.

AgentAuto-ConfigurationBackend
0 likes · 35 min read
China Merchants Bank Java Backend Interview: 20 Technical Questions & Answers