Tagged articles

Java

5000 articles · Page 2 of 50
samdeepthink
samdeepthink
Jul 27, 2026 · Backend Development

WeChat Pay Integration Walkthrough: From Order Creation to Callback Confirmation

This article walks through a production‑grade WeChat Pay V2 integration, detailing the multi‑layer architecture, required configuration, unified order parameters, thread‑safe service usage, signature generation, and a four‑step callback verification process—including signature check, idempotency, amount validation, and active order query—to ensure reliable payment confirmation.

Callback SecurityJavaMicroservices
0 likes · 18 min read
WeChat Pay Integration Walkthrough: From Order Creation to Callback Confirmation
Java Tech Workshop
Java Tech Workshop
Jul 27, 2026 · Backend Development

Spring Boot + EasyExcel: High‑Performance, Elegant Excel Import/Export

This article explains why native Apache POI causes memory‑heavy, boilerplate Excel import/export code, introduces Alibaba's EasyExcel as a low‑memory, annotation‑driven alternative, and provides step‑by‑step Spring Boot examples for exporting, importing, custom conversion, validation, pagination, and template filling while highlighting common pitfalls and solutions.

EasyExcelExcel exportExcel import
0 likes · 15 min read
Spring Boot + EasyExcel: High‑Performance, Elegant Excel Import/Export
SpringMeng
SpringMeng
Jul 27, 2026 · Backend Development

Why More Developers Choose Apache PDFBox for PDF Processing

This article provides a comprehensive guide to Apache PDFBox, covering its licensing advantages, architecture, installation, core operations such as creating, editing, extracting, merging, encrypting PDFs, migration tips from 2.x to 3.x, performance considerations, and recommended use cases for Java backend development.

ApacheJavaOpen Source
0 likes · 17 min read
Why More Developers Choose Apache PDFBox for PDF Processing
The Dominant Programmer
The Dominant Programmer
Jul 26, 2026 · Artificial Intelligence

Building Smart Agents with Spring AI Alibaba: A Hands‑On Guide

This article walks through the Spring AI Alibaba Agent Framework (v1.1.2.0), explaining the ReAct reasoning‑acting loop, core APIs, configuration, code examples, testing commands, and common troubleshooting steps so developers can quickly create LLM‑driven agents with tool‑calling and memory support.

Agent FrameworkAlibabaJava
0 likes · 15 min read
Building Smart Agents with Spring AI Alibaba: A Hands‑On Guide
Ops Community
Ops Community
Jul 26, 2026 · Operations

When APM Agent Overheads Spike: In‑Depth Comparison of SkyWalking vs Pinpoint

The article provides a step‑by‑step methodology for establishing a performance baseline, verifying JVM and agent versions, collecting CPU, memory, GC, thread, and network metrics, configuring SkyWalking and Pinpoint agents, running controlled experiments, and using the results to choose the most suitable APM probe.

APMJavaPerformance
0 likes · 15 min read
When APM Agent Overheads Spike: In‑Depth Comparison of SkyWalking vs Pinpoint
java1234
java1234
Jul 26, 2026 · Backend Development

Why PDFBox Is Gaining Popularity Among Java Developers

Apache PDFBox, an open‑source Java library under the Apache 2.0 license, lets developers create, read, modify, and extract data from PDFs, offering extensive features, command‑line tools, and seamless Maven integration, which explains its growing adoption in Java‑based backend and enterprise projects.

ApacheJavaMaven
0 likes · 9 min read
Why PDFBox Is Gaining Popularity Among Java Developers
Coder Life Journal
Coder Life Journal
Jul 26, 2026 · Industry Insights

Why Writing Less Code with AI Makes Developers More Anxious

Although AI coding tools let Java developers generate DTOs, interfaces, tests and business logic faster, the resulting speed boost often leaves them uneasy because the reasoning and design decisions that used to be embedded in handwritten code disappear, leading to deeper doubts during review and deployment.

AI codingJavaautomation
0 likes · 7 min read
Why Writing Less Code with AI Makes Developers More Anxious
LuTiao Programming
LuTiao Programming
Jul 25, 2026 · Backend Development

Why Delayed Double Delete Fails: A Hierarchical Java Design for MySQL‑Redis Consistency

The article analyzes why MySQL and Redis cannot guarantee strong consistency with simple cache‑aside patterns, explains the pitfalls of delayed double delete, and presents a tiered Java design—including transaction‑after‑commit deletion, retryable invalidation, CDC/Outbox pipelines, TTL safeguards, and multi‑level cache considerations—to achieve reliable cache consistency.

CDCCache invalidationJava
0 likes · 22 min read
Why Delayed Double Delete Fails: A Hierarchical Java Design for MySQL‑Redis Consistency
samdeepthink
samdeepthink
Jul 25, 2026 · Fundamentals

Why Veteran Developers Caution Beginners About IDEs—and the Three Steps to Master First

The article argues that beginners should first grasp the three fundamental stages of Java program execution—compilation, dependency resolution, and runtime—by manually using javac and java, because understanding these processes reveals what an IDE automates, prevents hidden pitfalls, and ultimately empowers confident IDE use.

CompilationDependency ManagementIDE
0 likes · 5 min read
Why Veteran Developers Caution Beginners About IDEs—and the Three Steps to Master First
IT Services Circle
IT Services Circle
Jul 25, 2026 · Backend Development

Why More Developers Are Choosing Spring WebFlux for High‑Performance Applications

Spring WebFlux replaces the thread‑per‑request model of Spring MVC with an event‑loop, non‑blocking architecture that dramatically reduces memory and CPU usage, supports back‑pressure, streaming, and GraalVM native images, making it ideal for high‑concurrency microservices while acknowledging its learning curve and debugging challenges.

GraalVMJavaMicroservices
0 likes · 18 min read
Why More Developers Are Choosing Spring WebFlux for High‑Performance Applications
The Dominant Programmer
The Dominant Programmer
Jul 24, 2026 · Backend Development

Build a Spring Boot Code Review Skill: Turn Claude Code into Your Senior Architect

This guide walks you through creating a Claude Code Skill for Spring Boot projects that automates comprehensive, security‑aware code reviews by encapsulating architectural standards, generating structured reports, and integrating with CI/CD pipelines to boost code quality and team productivity.

AI automationBackend DevelopmentClaude Code
0 likes · 16 min read
Build a Spring Boot Code Review Skill: Turn Claude Code into Your Senior Architect
Top Architect
Top Architect
Jul 24, 2026 · Backend Development

Stop Manually Deploying JARs: Embrace Dynamic Hot Deployment

The article demonstrates how to let users upload a JAR that implements a given interface, then hot‑replace the implementation at runtime using either reflection or Spring annotation‑based loading, covering class loading, bean registration, and cleanup with concrete code examples.

Dynamic LoadingHot DeploymentJava
0 likes · 10 min read
Stop Manually Deploying JARs: Embrace Dynamic Hot Deployment
LuTiao Programming
LuTiao Programming
Jul 24, 2026 · Backend Development

Why Scheduled Tasks Run Multiple Times in a Cluster – The Real Issue Isn’t Quartz but Poor Architecture

When a Java application that uses Spring’s @Scheduled moves from a single server to a cluster, the same job may execute on every node, causing duplicate orders, messages, and data; the article explains why this happens, examines common lock‑based fixes and their pitfalls, and proposes a robust, idempotent, sharded task architecture.

@ScheduledJavaSpring
0 likes · 15 min read
Why Scheduled Tasks Run Multiple Times in a Cluster – The Real Issue Isn’t Quartz but Poor Architecture
Programmer1970
Programmer1970
Jul 23, 2026 · Fundamentals

6 Real Scenarios That Break Java’s ClassLoader Parent‑Delegation Model

The article examines six practical situations—SPI, Tomcat WebAppClassLoader, OSGi bundles, JDBC driver loading, custom ClassLoaders, and Java agents—where Java’s default parent‑delegation class‑loading mechanism is intentionally bypassed, explaining the motivations, implementations, and associated risks of each approach.

ClassLoaderInstrumentationJava
0 likes · 13 min read
6 Real Scenarios That Break Java’s ClassLoader Parent‑Delegation Model
samdeepthink
samdeepthink
Jul 23, 2026 · Backend Development

Enterprise-Scale Source Code for 4 Real-World Projects: Flash Sale, Product Catalog, Payment System, and DDD Implementation

The author releases the complete, production‑ready source code for four enterprise‑level projects—a flash‑sale service handling 60 million members, a high‑concurrency product system for hundreds of millions of users, a payment platform serving over a hundred million users, and a three‑year DDD migration case study—while the fifth column remains under development.

DDDJavaMicroservices
0 likes · 5 min read
Enterprise-Scale Source Code for 4 Real-World Projects: Flash Sale, Product Catalog, Payment System, and DDD Implementation
SpringMeng
SpringMeng
Jul 23, 2026 · Backend Development

Escape the if‑else Nightmare: Why Workflow Orchestration Is a Game‑Changer

The article explains how excessive if‑else branching in multi‑business systems leads to maintenance chaos, and demonstrates how a workflow engine combined with plugin extensions can isolate code, simplify extensions, and improve reliability through configurable flow chains and node execution.

Javabackend architectureflow chain
0 likes · 6 min read
Escape the if‑else Nightmare: Why Workflow Orchestration Is a Game‑Changer
LuTiao Programming
LuTiao Programming
Jul 22, 2026 · Backend Development

Why Does Pagination Slow Down at 10 Million Records? Rethinking MySQL LIMIT in Java Backends

The article explains why deep pagination with large offsets becomes increasingly slow, why adding indexes often does not help, examines common “optimizations” like delayed joins, introduces cursor (keyset) pagination as a high‑performance alternative, and provides practical guidelines for designing pagination APIs in Java back‑ends at scale.

Cursor PaginationDeep PaginationJava
0 likes · 16 min read
Why Does Pagination Slow Down at 10 Million Records? Rethinking MySQL LIMIT in Java Backends
Su San Talks Tech
Su San Talks Tech
Jul 22, 2026 · Artificial Intelligence

Getting Started with AgentScope-Java: Build Enterprise AI Agents in Minutes

This guide introduces AgentScope-Java, Alibaba's open‑source Java framework for building production‑grade AI agents, explains how it solves the lack of Java‑native agent tools, compares it with Spring AI Alibaba, walks through core concepts, installation, tool registration, multi‑agent orchestration, underlying architecture, distributed deployment, real‑world examples, and evaluates its strengths and limitations.

AI AgentsAgentScopeHarnessAgent
0 likes · 27 min read
Getting Started with AgentScope-Java: Build Enterprise AI Agents in Minutes
The Dominant Programmer
The Dominant Programmer
Jul 21, 2026 · Backend Development

Practical Guide to Applying Domain‑Driven Design in Spring Boot Microservices

This guide explains Domain‑Driven Design (DDD) and shows how to structure Spring Boot microservices by organizing code around business domains, detailing strategic and tactical concepts, package layouts, layer responsibilities, cross‑domain communication, comparisons with traditional layering, evolution steps, and common FAQs.

DDDDomain-Driven DesignJava
0 likes · 19 min read
Practical Guide to Applying Domain‑Driven Design in Spring Boot Microservices
Coder Life Journal
Coder Life Journal
Jul 21, 2026 · Backend Development

Why ThreadPoolExecutor Won’t Expand When the Queue Isn’t Full

The article explains that ThreadPoolExecutor’s execution flow first fills core threads, then enqueues tasks, and only creates non‑core threads after the work queue is full, so a high maximumPoolSize (e.g., 100) does not guarantee rapid thread growth, and queue choice and rejection policies critically shape scaling behavior.

ConcurrencyJavaQueue
0 likes · 9 min read
Why ThreadPoolExecutor Won’t Expand When the Queue Isn’t Full
Top Architect
Top Architect
Jul 21, 2026 · Backend Development

Stop Confusing PO, VO, BO, DTO, DAO, and POJO – A Complete Guide

This article clarifies the roles and differences of PO, VO, BO, DTO, DAO, and POJO in Java backend development, showing where each object belongs in the architecture, providing concrete code examples, and offering practical advice to keep layers clean and maintainable.

BODAODTO
0 likes · 11 min read
Stop Confusing PO, VO, BO, DTO, DAO, and POJO – A Complete Guide
Tinker Programmer
Tinker Programmer
Jul 21, 2026 · Backend Development

Migrating a High‑Traffic Java 8 Service to JDK 21/25: Pitfalls, Compatibility Checks, and Best‑Practice SOP

The author details a production migration of a core transaction service from Java 8 to JDK 21/25—handling millions of users and 30 k QPS—by exposing runtime silent‑failure pitfalls, outlining six compatibility‑risk categories, prescribing version‑selection rules, a step‑by‑step gray‑scale upgrade and rollback plan, and quantifying performance gains such as ZGC latency reduction and AppCDS startup speedup.

JDK 21JDK 25Java
0 likes · 20 min read
Migrating a High‑Traffic Java 8 Service to JDK 21/25: Pitfalls, Compatibility Checks, and Best‑Practice SOP
Java Tech Workshop
Java Tech Workshop
Jul 21, 2026 · Backend Development

A Lighter‑Than‑MQ Async Solution: Spring’s Hidden Transactional Event Feature

The article explains how Spring’s built‑in @Async and TransactionalEventListener mechanisms provide a lightweight, zero‑dependency alternative to external message queues for local asynchronous processing, detailing their advantages, limitations, and production‑grade enhancements such as custom thread pools, dead‑letter persistence, and clustering strategies.

JavaMessage QueueSpring
0 likes · 17 min read
A Lighter‑Than‑MQ Async Solution: Spring’s Hidden Transactional Event Feature
Su San Talks Tech
Su San Talks Tech
Jul 21, 2026 · Backend Development

Why Apache PDFBox Is Becoming the Go-To Java PDF Library

This article provides a comprehensive guide to Apache PDFBox, covering its licensing advantages, latest version, installation steps, core APIs for creating, editing, extracting, merging, encrypting and signing PDFs, underlying architecture, migration tips, performance considerations, and real‑world use cases.

Apache PDFBoxJavaOpen-source libraries
0 likes · 18 min read
Why Apache PDFBox Is Becoming the Go-To Java PDF Library
LuTiao Programming
LuTiao Programming
Jul 20, 2026 · Artificial Intelligence

AI Coding Agents Boost PRs 24%—Why Java Teams Face New Challenges

Microsoft’s study of tens of thousands of engineers shows AI coding agents raise merged pull requests by 24%, but the metric masks deeper issues: faster code production creates verification bottlenecks, knowledge debt, and a shift from coding to review that Java teams must address.

AI AgentsAI codingJava
0 likes · 14 min read
AI Coding Agents Boost PRs 24%—Why Java Teams Face New Challenges
Su San Talks Tech
Su San Talks Tech
Jul 20, 2026 · Backend Development

What’s New in Jackson 3? A Complete Migration Guide

This article explains the major breaking changes introduced in Jackson 3—including the JDK 17 baseline, package and groupId renames, immutable JsonMapper, unchecked exceptions, default configuration shifts, performance tweaks, and module consolidation—while providing step‑by‑step migration advice and a quick‑reference table for developers upgrading from Jackson 2.

JacksonJavaPerformance
0 likes · 16 min read
What’s New in Jackson 3? A Complete Migration Guide
Java Tech Workshop
Java Tech Workshop
Jul 20, 2026 · Backend Development

Spring Boot 4’s Underrated Feature: Spring Data AOT Explained

Spring Data AOT in Spring Boot 4 moves all repository parsing, reflection and query generation to compile time, dramatically cutting startup time, reducing memory and Metaspace usage, enabling compile‑time SQL validation, simplifying GraalVM native‑image configuration, and providing measurable performance gains backed by real‑world benchmarks.

AOTGraalVMJava
0 likes · 17 min read
Spring Boot 4’s Underrated Feature: Spring Data AOT Explained
samdeepthink
samdeepthink
Jul 20, 2026 · Fundamentals

Implementing the Singleton Pattern in One Line: Scala vs. Java

The article shows that Scala’s built‑in object keyword lets you create a singleton with a single line, contrasts this with Java’s multi‑line implementation, explains why design patterns exist, and discusses when and how to use them responsibly.

Design PatternsJavaObject-Oriented
0 likes · 3 min read
Implementing the Singleton Pattern in One Line: Scala vs. Java
Lobster Programming
Lobster Programming
Jul 20, 2026 · Fundamentals

A Comprehensive Guide to New Features from JDK 8 Through JDK 27

The article systematically outlines the major new features introduced in JDK 8 and each subsequent release up to JDK 27, highlighting language enhancements, API additions, module system, garbage collectors, virtual threads, and offering migration recommendations for different project scenarios.

JDKJavaLanguage Features
0 likes · 10 min read
A Comprehensive Guide to New Features from JDK 8 Through JDK 27
Linyb Geek Road
Linyb Geek Road
Jul 20, 2026 · Artificial Intelligence

Understanding Agent Harness: An Architecture Guide for Java Developers

The article deep‑dives into Agent Harness, comparing it to Spring’s IoC container, explains its five‑layer design, lifecycle management, skill registration, memory handling, security sandboxing, checkpointing, multi‑model routing, and multi‑agent collaboration, and even provides a minimal 20‑line implementation for Java developers.

AI AgentsAgent HarnessJava
0 likes · 16 min read
Understanding Agent Harness: An Architecture Guide for Java Developers
TonyBai
TonyBai
Jul 20, 2026 · Industry Insights

From a Failed Handheld Project to AI’s Cornerstone: Inside Java’s 30‑Year Survival Gamble

The article analyzes the official documentary “The Java Story,” tracing Java’s origins from a failed embedded‑device project, its pivotal moments—including the Mosaic‑driven HotJava launch, the Servlet breakthrough, the Sun‑Microsoft lawsuit, the OpenJDK open‑source shift, and the recent Loom, Valhalla, and Panama initiatives—showing how technical choices and community strength kept the language alive for three decades.

AIJavaOpen Source
0 likes · 16 min read
From a Failed Handheld Project to AI’s Cornerstone: Inside Java’s 30‑Year Survival Gamble
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 19, 2026 · Backend Development

8 Java File‑Writing Techniques for Large Files, High Concurrency, and Cross‑Platform Scenarios

This article walks through eight Java file‑writing approaches—from the modern Files.writeString() API to low‑level FileChannel and asynchronous channels—detailing their parameters, performance characteristics, and ideal use cases such as large files, high‑throughput logging, and cross‑platform line handling.

AsynchronousJavaNIO
0 likes · 10 min read
8 Java File‑Writing Techniques for Large Files, High Concurrency, and Cross‑Platform Scenarios
webdream
webdream
Jul 18, 2026 · Backend Development

Java Architecture Overview: 7 Key Patterns from Layered to DDD

The article explains why solid architecture matters for Java projects, outlines seven mainstream architectural patterns—including layered, DDD, hexagonal, clean, CQRS, event‑driven, and microkernel—and provides a decision guide to help teams choose the most suitable approach based on complexity, experience, performance, and evolution needs.

CQRSClean ArchitectureDomain-Driven Design
0 likes · 11 min read
Java Architecture Overview: 7 Key Patterns from Layered to DDD
Cloud Architecture
Cloud Architecture
Jul 18, 2026 · Backend Development

RabbitMQ Idempotent Consumption: Keeping Duplicate Processing Within Business Limits

The article explains why RabbitMQ provides at‑least‑once delivery, how duplicate consumption arises in publish‑subscribe scenarios, and presents a step‑by‑step design—including deduplication keys, a deduplication table, transactional writes, proper ACK ordering, and a checklist of common pitfalls—to ensure idempotent processing stays within acceptable business tolerances.

Database TransactionJavaMessage Queue
0 likes · 20 min read
RabbitMQ Idempotent Consumption: Keeping Duplicate Processing Within Business Limits
Java Tech Workshop
Java Tech Workshop
Jul 18, 2026 · Backend Development

Spring Boot 4.0 + gRPC: Minimal Integration in 4 Steps, Faster Than REST

This tutorial shows how to integrate gRPC with Spring Boot 4.0 using the grpc‑spring‑boot‑starter in just four concise steps, covering a side‑by‑side comparison with REST, Maven setup, protobuf contract definition, server implementation, and client invocation with streaming support.

JavaMicroservicesProtobuf
0 likes · 14 min read
Spring Boot 4.0 + gRPC: Minimal Integration in 4 Steps, Faster Than REST
Tinker Programmer
Tinker Programmer
Jul 18, 2026 · Backend Development

From CMS to ZGC: How Java GC Pauses Dropped Below 1 ms

The article chronicles Java’s garbage‑collector evolution—from the deprecated CMS to G1’s pitfalls and the low‑latency ZGC and Shenandoah—explaining why CMS was removed, how G1 can degrade, and how ZGC/Shenandoah achieve sub‑millisecond pauses, plus new JDK 25/26 features and practical tuning steps.

G1Garbage CollectionJDK25
0 likes · 18 min read
From CMS to ZGC: How Java GC Pauses Dropped Below 1 ms
java1234
java1234
Jul 18, 2026 · Backend Development

Should You Store Money as Long or BigDecimal in Java?

The article explains why floating‑point types are unsafe for monetary values, compares the Long‑in‑cents and BigDecimal‑in‑yuan approaches, lists their advantages and drawbacks, and provides concrete Java code, database schemas, layer‑boundary conversion patterns, and common pitfalls.

BigDecimalFinancialJava
0 likes · 8 min read
Should You Store Money as Long or BigDecimal in Java?
Linyb Geek Road
Linyb Geek Road
Jul 18, 2026 · Cloud Native

How to Shrink Spring Boot Docker Images with JLink

This guide explains how to use JLink together with jdeps and a multi‑stage Docker build to create a minimal custom Java runtime, reducing Spring Boot Docker image size from over 200 MB to under 50 MB while improving startup speed and security.

DockerJLinkJava
0 likes · 10 min read
How to Shrink Spring Boot Docker Images with JLink
The Dominant Programmer
The Dominant Programmer
Jul 17, 2026 · Artificial Intelligence

Mastering Spring AI Alibaba Graph: A Complete Guide from Basics to Advanced

This article provides a thorough walkthrough of Spring AI Alibaba Graph, covering its core concepts, API details, environment setup, common pitfalls, and advanced features such as human-in-the-loop support, parallel execution, and checkpointing, enabling Java developers to build sophisticated AI workflows.

AI WorkflowAlibaba GraphGraph engine
0 likes · 20 min read
Mastering Spring AI Alibaba Graph: A Complete Guide from Basics to Advanced
Cloud Architecture
Cloud Architecture
Jul 17, 2026 · Backend Development

Elasticsearch Cluster: Inverted Index, Mechanics, Architecture for 100M+ Queries

This article provides a comprehensive, production‑grade guide to Elasticsearch clusters, covering the fundamentals of inverted indexes and Lucene segments, near‑real‑time write mechanics, shard routing, indexing pipelines, query execution flow, scaling strategies, and practical tips to avoid common pitfalls in high‑traffic search systems.

ElasticsearchIndexingJava
0 likes · 37 min read
Elasticsearch Cluster: Inverted Index, Mechanics, Architecture for 100M+ Queries
Tinker Programmer
Tinker Programmer
Jul 17, 2026 · Backend Development

How Java 21 Virtual Threads Enable 100 k Threads Without Thread‑Pool Tuning

After weeks of futile thread‑pool tuning for an IO‑bound gateway, the author switched to Java 21 virtual threads, achieving stable 5,000 concurrent requests with dramatically lower P99 latency, reduced memory usage, and higher CPU efficiency, and then explains virtual‑thread internals, Scoped Values, migration steps, and limitations.

ConcurrencyJavaPerformance
0 likes · 18 min read
How Java 21 Virtual Threads Enable 100 k Threads Without Thread‑Pool Tuning
Java Architect Handbook
Java Architect Handbook
Jul 17, 2026 · Backend Development

Interview Question: What’s the Relationship Between BeanFactory and FactoryBean?

This article explains the distinction between Spring's BeanFactory and FactoryBean, covering their roles, core APIs, typical implementations, key differences in registration and retrieval, classic use cases, common pitfalls, and frequent interview follow‑up questions, with concrete code examples and comparison tables.

BeanFactoryFactoryBeanInterview
0 likes · 10 min read
Interview Question: What’s the Relationship Between BeanFactory and FactoryBean?
Ctrip Technology
Ctrip Technology
Jul 17, 2026 · Artificial Intelligence

From Demo to Production: How Our Java Agent Harness Fixes Common Pitfalls

Java agents often work in demos but crash in production due to stack mismatches, governance gaps, and runtime issues such as memory drift, large tool outputs, and lack of observability; the Spring‑Ai‑Trip harness adds progressive compression, spill protection, skill injection, hot‑plug tools, and concurrent execution to bridge the gap.

AI AgentJavaMemory Compression
0 likes · 31 min read
From Demo to Production: How Our Java Agent Harness Fixes Common Pitfalls
Java Tech Workshop
Java Tech Workshop
Jul 17, 2026 · Backend Development

Production-Ready WebSocket Connection Pool for Real-Time Market Data with Load Balancing

The article analyzes the fatal issues of using raw WebSocket clients for high‑frequency market feeds and presents a production‑grade, reusable connection‑pool design that adds rate limiting, automatic reconnection, heartbeat, hash‑based load balancing, fault isolation and full lifecycle management to support stable delivery of hundreds of thousands of subscriptions.

Hash ShardingJavaconnection-pool
0 likes · 22 min read
Production-Ready WebSocket Connection Pool for Real-Time Market Data with Load Balancing
liandk
liandk
Jul 17, 2026 · Fundamentals

Observer Pattern Explained: Code Demo and Real‑World Use Cases

This article introduces the Observer pattern, explains its purpose of decoupling publishers and subscribers, walks through a complete Java implementation with an official‑account subscription example, lists typical business scenarios, compares it with the Mediator pattern, and outlines its advantages and pitfalls.

DecouplingDesign PatternsJava
0 likes · 6 min read
Observer Pattern Explained: Code Demo and Real‑World Use Cases
Coder Trainee
Coder Trainee
Jul 16, 2026 · Backend Development

Complete Summary of the Six‑Part Java Interview High‑Frequency Questions Series

This article compiles all 60 high‑frequency Java interview questions from six core backend topics—basics, collections, concurrency, JVM, Spring, and microservices—provides a quick‑reference table, outlines the most common and hardest questions, and shares a five‑layer answering technique for interview success.

ConcurrencyInterviewJVM
0 likes · 10 min read
Complete Summary of the Six‑Part Java Interview High‑Frequency Questions Series
Programmer XiaoFu
Programmer XiaoFu
Jul 16, 2026 · Backend Development

Can Java 21 Virtual Threads Replace CompletableFuture for Async Programming?

With Java 21’s virtual threads making threads cheap, the article examines whether the traditional CompletableFuture async style can be dropped, showing that simple IO can now be written synchronously, while complex task orchestration, fallback, and timeout still benefit from CompletableFuture’s richer API.

Async ProgrammingCompletableFutureConcurrency
0 likes · 10 min read
Can Java 21 Virtual Threads Replace CompletableFuture for Async Programming?
Java Tech Enthusiast
Java Tech Enthusiast
Jul 16, 2026 · Frontend Development

How to Build a Java Desktop App with Shadcn UI, React, and JxBrowser

This article demonstrates how to create a cross‑platform Java desktop application by embedding a React + TypeScript UI built with shadcn/ui inside a Chromium‑based JxBrowser view, covering window setup, resource loading for development and production, and two Java‑Web communication strategies (JS‑Java bridge and Protobuf + gRPC).

JavaJxBrowserProtobuf
0 likes · 7 min read
How to Build a Java Desktop App with Shadcn UI, React, and JxBrowser
Tinker Programmer
Tinker Programmer
Jul 16, 2026 · Fundamentals

How Pattern Matching Let Me Scrap the Visitor Pattern in Java

The article walks through a real‑world refactor of a Java event‑handling system, showing how instanceof pattern matching, switch pattern matching, record patterns, sealed classes and the new JDK 25 syntax features replace verbose if‑else chains and the Visitor pattern, yielding shorter, safer, compile‑time‑checked code.

JDK 25JavaPattern Matching
0 likes · 15 min read
How Pattern Matching Let Me Scrap the Visitor Pattern in Java
samdeepthink
samdeepthink
Jul 16, 2026 · Backend Development

How Off‑Heap Caching Eliminates GC Scanning for Massive Product Data

The article explains why a large product cache moved from an in‑heap Caffeine cache to an off‑heap OHC solution, detailing serialization trade‑offs, per‑dimension cache configuration, singleflight loading, and the performance gains observed during high‑traffic promotions.

GC optimizationJavaKryo
0 likes · 4 min read
How Off‑Heap Caching Eliminates GC Scanning for Massive Product Data
Coder Trainee
Coder Trainee
Jul 16, 2026 · Interview Experience

Java Interview Essentials: 10 Must‑Ask Microservice Questions

This article presents ten essential microservice interview questions, covering service registration and discovery, API gateways, fault tolerance, distributed transactions, tracing, configuration management, messaging, ID generation, and service decomposition, each explained with principles, diagrams, code snippets, and tips for impressing interviewers.

InterviewJavaMicroservices
0 likes · 14 min read
Java Interview Essentials: 10 Must‑Ask Microservice Questions
Java Architect Handbook
Java Architect Handbook
Jul 15, 2026 · Backend Development

Build an Electronic Document Signing and Contract System with SpringBoot

This article walks through creating a SpringBoot‑based electronic document signing and contract system, covering the problem background, project structure, Maven setup, key controller and service code, utility classes, deployment steps, and a step‑by‑step demo of drafting, approval, sealing and signing workflows.

JavaMavenSpringBoot
0 likes · 13 min read
Build an Electronic Document Signing and Contract System with SpringBoot
samdeepthink
samdeepthink
Jul 15, 2026 · Interview Experience

How to Present Your Project Experience in a Programming Interview to Stand Out

The article explains how candidates should showcase only the most relevant, deeply‑involved projects—detailing background, role, challenges, solutions, and impact—to demonstrate technical depth and decision‑making ability during a Java interview, while avoiding superficial or overly lengthy descriptions.

InterviewJavaproject experience
0 likes · 8 min read
How to Present Your Project Experience in a Programming Interview to Stand Out
samdeepthink
samdeepthink
Jul 15, 2026 · Fundamentals

How the JVM Implements Java’s Object‑Oriented Model

The article walks through the JVM’s internal steps that turn a simple `new User()` statement into a fully formed Java object, detailing memory allocation, the object header’s type pointer, the Klass structure, and why methods are stored at the class level rather than in each instance.

JVMJavaKlass
0 likes · 4 min read
How the JVM Implements Java’s Object‑Oriented Model
Java Tech Workshop
Java Tech Workshop
Jul 15, 2026 · Backend Development

Generating Trillions of Unique Order IDs Without Collisions

The article analyzes why simple auto‑increment or timestamp‑based IDs fail at massive scales, compares common distributed ID schemes, and presents an improved Snowflake‑plus‑segment hybrid solution with clock‑rollback protection, automatic machine/room allocation, and production‑grade safeguards for trillion‑level order processing.

JavaMicroservicesMySQL
0 likes · 19 min read
Generating Trillions of Unique Order IDs Without Collisions
Su San Talks Tech
Su San Talks Tech
Jul 15, 2026 · Artificial Intelligence

How Codex Transforms Java Development: From Theory to Real-World Projects

Codex, OpenAI’s cloud‑native software‑engineering agent, replaces the traditional write‑test‑fix cycle with an automated loop that can pull repositories, modify multiple files, run tests in isolated sandboxes, and output merge‑ready diffs, delivering 60‑75% speed gains for Java backend tasks when used with well‑crafted prompts and proper governance.

AI code generationJavaOpenAI Codex
0 likes · 34 min read
How Codex Transforms Java Development: From Theory to Real-World Projects
LuTiao Programming
LuTiao Programming
Jul 14, 2026 · Backend Development

Stop Writing Ad‑hoc Reports for Your Boss: Build a One‑sentence Data Query Assistant with GPT + Spring Boot

The article explains why Java developers waste time on repetitive ad‑hoc reports, proposes using GPT as a natural‑language front‑end to call secure Spring Boot metric tools, and walks through a step‑by‑step implementation that includes tool definition, permission checks, audit logging, and safe prompt engineering.

AIData QueryGPT
0 likes · 16 min read
Stop Writing Ad‑hoc Reports for Your Boss: Build a One‑sentence Data Query Assistant with GPT + Spring Boot
The Dominant Programmer
The Dominant Programmer
Jul 14, 2026 · Backend Development

How to Fix Spring AI Ollama Timeout: Full Guide to Configuring OkHttp Read Timeout

The article explains why Spring AI Ollama requests time out after 10 seconds despite server‑side timeout settings, analyzes the independent OkHttp read timeout and other ineffective configurations, and provides a step‑by‑step solution that creates a custom OllamaApi bean with a longer OkHttp read timeout to permanently fix the issue.

ConfigurationJavaOllama
0 likes · 10 min read
How to Fix Spring AI Ollama Timeout: Full Guide to Configuring OkHttp Read Timeout
Coder Trainee
Coder Trainee
Jul 14, 2026 · Backend Development

Top 10 Must‑Know Spring Interview Questions for Java Developers

This article walks through the ten most frequently asked Spring interview topics—including IoC/DI concepts, bean lifecycle, AOP mechanics, circular‑dependency resolution, @Transactional behavior, Spring Boot startup steps, auto‑configuration, @Autowired vs @Resource, bean scopes, and the differences between servlet filters and Spring interceptors—providing concrete code examples and key points that can earn interviewers' extra credit.

AOPBean ScopeIoC
0 likes · 12 min read
Top 10 Must‑Know Spring Interview Questions for Java Developers
Yumin Fish Harvest
Yumin Fish Harvest
Jul 14, 2026 · Backend Development

Mastering CQRS: When to Separate Read and Write in DDD

This article explains how CQRS splits write operations that enforce business rules using domain models from read operations optimized for page performance, illustrates common pitfalls of mixing the two, and provides concrete Java code, SQL examples, migration steps, validation checklists, and best‑practice guidelines for implementing lightweight CQRS in a DDD‑based backend.

CQRSCommand Query SeparationDomain-Driven Design
0 likes · 26 min read
Mastering CQRS: When to Separate Read and Write in DDD
Java Architect Handbook
Java Architect Handbook
Jul 14, 2026 · Frontend Development

Building a Java Desktop App with Shadcn UI, React, and JxBrowser

The article explains how to replace outdated Swing/JavaFX UI by embedding a React application styled with shadcn/ui into a Java desktop program using JxBrowser, covering reliable web view setup, dev‑vs‑prod resource loading via a custom jxb:// scheme, and two Java‑to‑JS communication approaches (JS‑Java bridge and Protobuf + gRPC) with concrete code examples.

Desktop applicationJavaJxBrowser
0 likes · 8 min read
Building a Java Desktop App with Shadcn UI, React, and JxBrowser
Tinker Programmer
Tinker Programmer
Jul 14, 2026 · Fundamentals

Lambda Isn’t Just Sugar: Avoid the ParallelStream Pitfall That Blocks Your Thread Pool

The article dissects Java 8‑10 core features—revealing that Lambda is powered by invokedynamic rather than anonymous classes, exposing the danger of default parallelStream blocking the common ForkJoinPool in I/O‑heavy code, and offering concrete best‑practice guidelines for Optional, var, and collection factory usage.

CollectionFactoryJavaLambda
0 likes · 17 min read
Lambda Isn’t Just Sugar: Avoid the ParallelStream Pitfall That Blocks Your Thread Pool
samdeepthink
samdeepthink
Jul 14, 2026 · Backend Development

Thread‑Pool Outage Postmortem: Four Defense Layers to Prevent Data Loss

A July 13 incident revealed that sharing a single thread pool across order, refund, and status sync services caused queue saturation, task rejection, and data loss, prompting a four‑layer defense—pool isolation, CallerRunsPolicy with structured alerts, minute‑level DingTalk notifications, and a compensation tool—to ensure reliability and quick recovery.

ConcurrencyJavaalerting
0 likes · 10 min read
Thread‑Pool Outage Postmortem: Four Defense Layers to Prevent Data Loss
java1234
java1234
Jul 14, 2026 · Backend Development

Quarkus: Java Framework Up to 5× Faster Than Spring Boot, Uses Half the Memory

Quarkus, Red Hat's cloud‑native Java framework, achieves dramatically faster startup (0.3‑1 s vs 2‑5 s) and roughly half the memory usage (150‑200 MB vs 300‑500 MB) by moving many optimizations to compile time, and offers a Spring‑like developer experience with extensions, reactive support, and hot‑reload tooling.

Dev ModeJavaKubernetes
0 likes · 9 min read
Quarkus: Java Framework Up to 5× Faster Than Spring Boot, Uses Half the Memory
dbaplus Community
dbaplus Community
Jul 13, 2026 · Interview Experience

How to Process a 10 GB CSV File with Only 512 MB RAM?

The article walks through an interview scenario where a candidate must handle a 10 GB CSV using just 512 MB of memory, critiques naive answers, and presents a step‑by‑step streaming, chunked, and checkpoint‑based solution with optional Kafka/Flink considerations.

CSVFlinkInterview
0 likes · 8 min read
How to Process a 10 GB CSV File with Only 512 MB RAM?
Cloud Architecture
Cloud Architecture
Jul 13, 2026 · Backend Development

Production-Grade Payment System Guide: Java Implementation for Alipay & WeChat All-Channel Integration

This article explains why a payment system is more than a simple SDK integration, presents a four‑layer architecture (access, state, event, governance), details state machines, idempotent callbacks, outbox pattern, reconciliation, high‑concurrency handling, observability, security, and provides Java code examples for integrating Alipay and WeChat across all channels.

AlipayJavaSpring Boot
0 likes · 29 min read
Production-Grade Payment System Guide: Java Implementation for Alipay & WeChat All-Channel Integration
Architecture Digest
Architecture Digest
Jul 13, 2026 · Artificial Intelligence

Deep Dive into Solon AI v4.0.3: The Seven‑Layer Java Full‑Stack Agent Framework and How to Get Started

Solon AI v4.0.3 introduces a seven‑layer Java full‑stack agent framework, unifies model access, adds robust RAG and multi‑agent capabilities, delivers benchmarked performance gains, and provides a step‑by‑step path for Java developers to build enterprise‑grade AI applications.

AI FrameworkJavaMulti-agent
0 likes · 8 min read
Deep Dive into Solon AI v4.0.3: The Seven‑Layer Java Full‑Stack Agent Framework and How to Get Started
Tinker Programmer
Tinker Programmer
Jul 13, 2026 · Backend Development

Choosing the Right Java LTS for Production: Lessons from 12 Years of Java 8‑25 Evolution

The article reviews the twelve‑year evolution of Java LTS releases from 8 to 25, explains the new six‑month release cadence, details common upgrade pitfalls, quantifies performance gains such as virtual threads and ZGC, and provides concrete version‑selection guidance for legacy, mid‑life, and new projects.

Garbage CollectionJDKJava
0 likes · 16 min read
Choosing the Right Java LTS for Production: Lessons from 12 Years of Java 8‑25 Evolution
SpringMeng
SpringMeng
Jul 13, 2026 · Backend Development

Add AI to a Spring Boot Project in a Few Lines with Spring AI 2.0

This guide walks through integrating Spring AI 2.0 into a Spring Boot application, covering Maven dependency setup, model configuration, ChatClient usage for synchronous and streaming calls, Redis‑backed chat memory for multi‑turn conversations, and testing with Postman and a UI component.

AIJavaOpenAI
0 likes · 14 min read
Add AI to a Spring Boot Project in a Few Lines with Spring AI 2.0
AI Illustrated Series
AI Illustrated Series
Jul 13, 2026 · Artificial Intelligence

Building Enterprise‑Grade AI Agents in Java in 3 Days

This article walks Java developers through turning Spring AI into an enterprise‑grade AI agent that can query internal databases, access a vector‑based knowledge base, enforce role‑based permissions, persist chat sessions in Redis, add full observability, and be container‑deployed with Docker and Kubernetes.

AI AgentDockerJava
0 likes · 10 min read
Building Enterprise‑Grade AI Agents in Java in 3 Days
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 13, 2026 · Backend Development

5 Elegant Spring Boot Gray Release Techniques You Can Implement Immediately

This article walks through five practical ways to implement gray (canary) releases in Spring Boot 3.5.0, covering gateway‑based weight and header routing, programmatic route configuration, a custom reactive load‑balancer, and application‑layer annotations with custom HandlerMapping, each illustrated with concrete code samples.

AnnotationCustom Load BalancerJava
0 likes · 12 min read
5 Elegant Spring Boot Gray Release Techniques You Can Implement Immediately
The Dominant Programmer
The Dominant Programmer
Jul 12, 2026 · Artificial Intelligence

Complete Guide to Building a Spring AI + Ollama Embedding Vectorization Project

This guide walks through adding embedding support to a Spring AI application by configuring Ollama, creating an EmbeddingService for vector generation and similarity calculations, exposing REST endpoints via EmbeddingController, and providing a simple HTML front‑end for interactive testing, with step‑by‑step instructions and code samples.

JavaOllamaREST API
0 likes · 19 min read
Complete Guide to Building a Spring AI + Ollama Embedding Vectorization Project
Coder Trainee
Coder Trainee
Jul 12, 2026 · Backend Development

10 Must‑Know Java Concurrency Interview Questions

This article walks through ten essential Java concurrency interview topics—including the Java Memory Model, volatile semantics, synchronized lock upgrades, CAS pitfalls, AQS internals, ReentrantLock versus synchronized, ThreadPoolExecutor parameters, ThreadLocal memory‑leak issues, CountDownLatch vs CyclicBarrier, and deadlock conditions—providing code snippets, tables and detailed explanations to help candidates answer interview questions confidently.

AQSCASConcurrency
0 likes · 12 min read
10 Must‑Know Java Concurrency Interview Questions
java1234
java1234
Jul 12, 2026 · Fundamentals

Oracle JDK vs OpenJDK: Key Differences and How to Choose

The article explains that OpenJDK is the open‑source reference implementation while Oracle JDK is Oracle’s distribution built on it, outlines their minimal functional differences after Java 11, compares licensing, update policies and commercial support, shows how to identify the installed JDK, and offers practical selection guidance for students, enterprises and production environments.

JDKJavaLicense
0 likes · 7 min read
Oracle JDK vs OpenJDK: Key Differences and How to Choose
LuTiao Programming
LuTiao Programming
Jul 11, 2026 · Backend Development

Stop Manually Scanning Maven Red Logs: Why Java Teams Should Adopt Cursor Automations

The article explains how Java teams can replace time‑consuming manual inspection of Maven CI failures with Cursor Automations, detailing concrete use cases, rule definitions, safe‑fix scopes, and sample prompts that let AI locate, summarize, and suggest actions for CI and PR review issues while keeping developers in control.

AICIGitHub Actions
0 likes · 18 min read
Stop Manually Scanning Maven Red Logs: Why Java Teams Should Adopt Cursor Automations
Coder Trainee
Coder Trainee
Jul 11, 2026 · Fundamentals

Top 10 Must‑Know Java Collection Interview Questions (Part 2)

This article walks through ten core Java collection topics—including ArrayList vs LinkedList, HashMap internals across JDK 7 and 8, the put and resize processes, ConcurrentHashMap design, HashSet implementation, fail‑fast vs fail‑safe iterators, and the difference between Collection and Collections—providing the detailed analysis and code examples interviewers expect.

CollectionsConcurrentHashMapHashMap
0 likes · 10 min read
Top 10 Must‑Know Java Collection Interview Questions (Part 2)
Raymond Ops
Raymond Ops
Jul 11, 2026 · Databases

How to Diagnose and Optimize Production Database Connection Pool Exhaustion

This article walks through the principles of database connection pools, common causes of pool exhaustion such as leaks, mis‑configuration, slow SQL and DB limits, and provides a step‑by‑step methodology with monitoring, thread‑stack analysis, and concrete configuration and SQL optimizations to restore stability.

HikariCPJavaPerformance Monitoring
0 likes · 29 min read
How to Diagnose and Optimize Production Database Connection Pool Exhaustion
Java Tech Enthusiast
Java Tech Enthusiast
Jul 11, 2026 · Backend Development

Replace if…else with a lightweight rule engine – Introducing Easy Rules

The article explains why extensive if…else chains degrade code readability, maintainability, and testability, and introduces Easy Rules—a lightweight Java rule engine that externalizes business logic into reusable rule objects, offering annotation, fluent API, expression, and YAML/JSON definitions, plus composite rules and engine configurations.

AnnotationEasy RulesFluent API
0 likes · 18 min read
Replace if…else with a lightweight rule engine – Introducing Easy Rules
Java Architect Handbook
Java Architect Handbook
Jul 11, 2026 · Backend Development

Can Multiple Company Systems Share a Single Account? A Deep Dive into Session Sharing and SSO with CAS

This article examines the challenges of managing user authentication across many corporate systems, explains traditional session mechanisms, explores session sharing solutions for clustered environments, and provides a detailed walkthrough of implementing single sign‑on using CAS with Java and Redis, including code samples and a comparison with OAuth2.

AuthenticationCASJava
0 likes · 17 min read
Can Multiple Company Systems Share a Single Account? A Deep Dive into Session Sharing and SSO with CAS
AI Illustrated Series
AI Illustrated Series
Jul 11, 2026 · Artificial Intelligence

Turn Java Methods into AI Agent Tools with @Tool Annotation – Day 2 of 3‑Day Spring AI Crash Course

This article explains how to equip a Spring AI Agent with real‑world capabilities by annotating Java methods with @Tool, registers those tools for the agent, demonstrates single‑ and multi‑tool orchestration, and shows how the Advisor mechanism brings AOP‑style processing such as RAG and memory management into AI workflows.

AI AgentAdvisorBackend Development
0 likes · 10 min read
Turn Java Methods into AI Agent Tools with @Tool Annotation – Day 2 of 3‑Day Spring AI Crash Course
Java Tech Workshop
Java Tech Workshop
Jul 11, 2026 · Backend Development

Mastering @Valid and @Validated: Practical Group Validation in Spring

This article explains the fundamental differences between Spring's @Valid and @Validated annotations, demonstrates how to apply group validation, nested object checks, and custom validation annotations, and provides a complete strategy for global exception handling and production‑grade best practices.

Custom AnnotationGroup ValidationJava
0 likes · 17 min read
Mastering @Valid and @Validated: Practical Group Validation in Spring