Tagged articles

Java

5000 articles · Page 4 of 50
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.

JDKJavaPerformance
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 AgentsArchitectureJava
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.

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

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

ArchitectureCQRSDomain-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 TransactionJavaRabbitMQ
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.

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

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

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

JavaPerformanceScoped Values
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.

BeanFactoryFactoryBeanIOC
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 ShardingJavaReal-time Data
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.

Design PatternsJavaObserver Pattern
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.

BackendJVMJava
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 ProgrammingCompletableFutureJava
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 optimizationJavaPerformance
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.

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

Javainterviewproject 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 generationCloud NativeJava
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 ScopeDependency Injection
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.

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

AlertingJavaThread Pool
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.

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

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

Custom Load BalancerGray ReleaseJava
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.

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

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

Easy RulesFluent APIJava
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.

BackendCASJava
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 AnnotationJavaSpring
0 likes · 17 min read
Mastering @Valid and @Validated: Practical Group Validation in Spring
LuTiao Programming
LuTiao Programming
Jul 10, 2026 · Backend Development

Using Codex to Automate Full Java Spring Boot Tasks, Not Just Generate Code

The article explains how Java developers can treat Codex as an engineering agent that executes complete, well‑scoped Spring Boot tasks—by defining project rules, isolating work in a Git worktree, crafting detailed prompts with acceptance criteria, and reviewing changes in stages—to save repetitive development effort.

AGENTS.mdAI codingCodex
0 likes · 18 min read
Using Codex to Automate Full Java Spring Boot Tasks, Not Just Generate Code
Coder Trainee
Coder Trainee
Jul 10, 2026 · Fundamentals

Top 10 Essential Java Interview Questions: Fundamentals Edition

This article presents ten high‑frequency Java interview questions covering value vs. reference passing, String vs. StringBuilder vs. StringBuffer, == vs. equals, hashCode/equals contract, final/finally/finalize, abstract class vs. interface, reference types, static vs. non‑static inner classes, generics with type erasure, and the exception hierarchy, each with concise explanations, code examples, and extra insights for rapid interview preparation.

JVMJavaOOP
0 likes · 11 min read
Top 10 Essential Java Interview Questions: Fundamentals Edition
Yumin Fish Harvest
Yumin Fish Harvest
Jul 10, 2026 · Fundamentals

Distinguishing Entities vs Value Objects in DDD: Criteria & Code

Learn how to tell whether a domain concept is an Entity or a Value Object by asking if its identity matters or only its attributes, see concrete examples with Money, Address and Order, understand immutable design, proper equals/hashCode implementation, and validation through unit tests.

Domain-Driven DesignEntityImmutable
0 likes · 13 min read
Distinguishing Entities vs Value Objects in DDD: Criteria & Code
Yumin Fish Harvest
Yumin Fish Harvest
Jul 10, 2026 · Backend Development

Why Traditional Service Layers Fail and How DDD Restores Order

The article shows how a typical three‑layer OrderService accumulates scattered business rules, mixes technical details with domain logic, lacks clear boundaries, and diverges from business language, then explains how Domain‑Driven Design reorganizes code around aggregates and bounded contexts to solve these problems while outlining when DDD is unnecessary.

DDDDomain-Driven DesignJava
0 likes · 11 min read
Why Traditional Service Layers Fail and How DDD Restores Order
Java Tech Enthusiast
Java Tech Enthusiast
Jul 10, 2026 · Artificial Intelligence

Add AI to Your Java Project in Just a Few Lines with Spring AI 2.0

Spring AI 2.0 lets Java developers integrate large‑language‑model capabilities with minimal code by adding a starter, configuring model parameters, injecting a ChatClient bean, and optionally enabling Redis‑backed chat memory for multi‑turn conversations, all demonstrated with runnable examples and screenshots.

AI IntegrationChat MemoryChatGPT
0 likes · 13 min read
Add AI to Your Java Project in Just a Few Lines with Spring AI 2.0
Java Architect Handbook
Java Architect Handbook
Jul 10, 2026 · Artificial Intelligence

Spring AI 2.0 vs Spring AI Alibaba: Which One Should You Choose?

This article compares Spring AI 2.0 and Spring AI Alibaba, detailing their design philosophies, core architectures, recent upgrades, code examples, strengths, weaknesses, and ideal use‑cases, and explains how the two frameworks can be combined for enterprise AI solutions.

AI IntegrationCloud NativeGraph engine
0 likes · 19 min read
Spring AI 2.0 vs Spring AI Alibaba: Which One Should You Choose?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 10, 2026 · Fundamentals

13 Common Java Pitfalls You Might Be Falling Into

This article enumerates thirteen frequent Java mistakes—from returning null and misusing string concatenation to improper synchronization and lock handling—showing the flawed code, explaining why it is problematic, and providing concise, correct alternatives with runnable examples.

ConcurrentModificationExceptionJavaJava21
0 likes · 14 min read
13 Common Java Pitfalls You Might Be Falling Into
Three Knives
Three Knives
Jul 10, 2026 · Cloud Native

Java Cloud‑Native’s Emperor’s New Clothes: How Long Have We Been Hijacked by Upgrades?

The article critically examines the recent Java ecosystem upgrades—Jakarta namespace changes, Spring Boot 3.0’s Java 17 requirement, GraalVM Native Image hype, and Virtual Threads—showing that the promised benefits are minimal while migration costs and compatibility risks are substantial, and it highlights Feat as a pragmatic alternative.

Cloud NativeFeat frameworkGraalVM Native Image
0 likes · 9 min read
Java Cloud‑Native’s Emperor’s New Clothes: How Long Have We Been Hijacked by Upgrades?
The Dominant Programmer
The Dominant Programmer
Jul 9, 2026 · Backend Development

Full Spring Boot Example: Integrating Spring AI with Local Ollama for Fast AI Chat

This tutorial walks through installing Ollama, configuring JDK 17, adding Spring AI dependencies, setting up application.yml, implementing a chat controller, creating launch scripts, testing the endpoints, and comparing local Ollama with Alibaba Cloud Bailei, highlighting cost‑free, private, offline AI chat in a Spring Boot project.

JavaLocal LLMOllama
0 likes · 16 min read
Full Spring Boot Example: Integrating Spring AI with Local Ollama for Fast AI Chat
Coder Trainee
Coder Trainee
Jul 9, 2026 · Backend Development

Java Concurrency Deep Dive – Part 8: Real‑World Pitfalls and Post‑mortem

This article reviews common Java concurrency pitfalls—including deadlocks, ThreadLocal memory leaks, Integer‑cache loops, unbounded thread‑pool queues, and swallowed exceptions—illustrates each with code samples, analyzes real production incidents, and provides a concise checklist and tool‑selection guide for safe concurrent programming.

ConcurrentHashMapJavaThreadLocal
0 likes · 9 min read
Java Concurrency Deep Dive – Part 8: Real‑World Pitfalls and Post‑mortem
Java Tech Enthusiast
Java Tech Enthusiast
Jul 9, 2026 · Backend Development

Why AI Coding Tools Are Racing to Task Orchestration—and What It Means for Java Developers

The latest updates to Codex, Claude Code, Cursor and ZCode show AI coding tools shifting from single‑prompt chat to distributed task orchestration, prompting Java teams to adopt persistent job queues, state machines, worktree isolation, OpenTelemetry tracing and fine‑grained retry policies to manage AI‑driven development pipelines.

AI codingJavaJobRunr
0 likes · 20 min read
Why AI Coding Tools Are Racing to Task Orchestration—and What It Means for Java Developers
Long Ge's Treasure Box
Long Ge's Treasure Box
Jul 9, 2026 · Backend Development

Mastering WebSocket: Full‑Duplex Communication, Server Push, and Real‑Time Messaging Implementations

This article explains WebSocket fundamentals, compares it with HTTP polling, details the handshake and frame format, and provides complete server‑side examples in Python, FastAPI, Go, and Java Spring, followed by a full real‑time chat system with private messaging, database schema, heartbeat handling, and Redis‑based online presence management.

FastAPIGoJava
0 likes · 13 min read
Mastering WebSocket: Full‑Duplex Communication, Server Push, and Real‑Time Messaging Implementations
IoT Full-Stack Technology
IoT Full-Stack Technology
Jul 9, 2026 · Backend Development

Comprehensive Collection of Java Backend Architecture Diagrams

This article compiles a comprehensive set of 31 Java‑related architecture diagrams, covering core components such as the class loader, JVM, threading, Spring, Hibernate, as well as related technologies like Android, Linux kernel, cloud computing, and enterprise solutions, each illustrated with detailed images.

AndroidHibernateJVM
0 likes · 5 min read
Comprehensive Collection of Java Backend Architecture Diagrams
Java Backend Technology
Java Backend Technology
Jul 9, 2026 · Cloud Native

Quarkus 3.37 Beats Spring Boot: 50× Faster Startup and 70% Less Memory

Quarkus 3.37, released on June 24, 2026, introduces experimental JLink support, a full Hibernate ORM 7.4 upgrade, a reflection‑free Jackson serializer, AI‑native extensions, and numerous bug fixes, delivering up to 50‑fold faster startup, 70% lower memory usage, and measurable performance gains for Java cloud‑native applications.

AICloud NativeHibernate
0 likes · 11 min read
Quarkus 3.37 Beats Spring Boot: 50× Faster Startup and 70% Less Memory
Java Tech Workshop
Java Tech Workshop
Jul 9, 2026 · Backend Development

Build a Custom Spring Boot Starter to Package Common Utilities for One-Click Integration

The article walks through creating a custom Spring Boot starter that bundles common utilities such as unified response wrapping, global exception handling, type converters, thread pools, login context, and data masking, showing the standard two‑module structure, Maven setup, configuration properties, conditional annotations, and usage in a business project.

Auto-configurationJavaMaven
0 likes · 15 min read
Build a Custom Spring Boot Starter to Package Common Utilities for One-Click Integration
SpringMeng
SpringMeng
Jul 9, 2026 · Backend Development

Elegant Online User Count with Redis Sorted Sets (ZSET)

This article explains how to implement an online user counting feature by using Redis sorted sets, covering user identification (token or browser fingerprint), adding users with ZADD, querying current online users with ZRANGEBYSCORE, and cleaning up expired entries via ZREMRANGEBYSCORE and ZREM.

JavaRedisZset
0 likes · 6 min read
Elegant Online User Count with Redis Sorted Sets (ZSET)
Architecture & Thinking
Architecture & Thinking
Jul 9, 2026 · Backend Development

Prevent Cache Avalanche with Multi‑Level Caffeine + Redis: High‑Availability Design

The article explains how combining a local Caffeine cache with a Redis cluster in a three‑tier architecture can protect high‑traffic distributed systems from cache avalanche, detailing expiration strategies, hot‑cold data separation, fault‑tolerant fallback, consistency handling, performance benchmarks, and practical pitfalls.

CaffeineJavaMulti-level Cache
0 likes · 18 min read
Prevent Cache Avalanche with Multi‑Level Caffeine + Redis: High‑Availability Design
LuTiao Programming
LuTiao Programming
Jul 8, 2026 · Backend Development

AI Hotspots Shift: GPT Real‑Time Voice, Seedance Video, Grok Coding – Pressure on Java Back‑ends

Recent AI releases—OpenAI’s GPT‑Live for full‑duplex voice, ByteDance’s Seedance for multi‑shot video generation, and xAI’s Grok 4.5 for coding and knowledge work—force Java back‑end teams to evolve from handling orders and queues to managing diverse AI capabilities, routing, task orchestration, cost, audit and security.

AI IntegrationGPT‑LiveGrok
0 likes · 19 min read
AI Hotspots Shift: GPT Real‑Time Voice, Seedance Video, Grok Coding – Pressure on Java Back‑ends
Coder Trainee
Coder Trainee
Jul 8, 2026 · Backend Development

Deep Dive into Java Concurrency: Analyzing the ConcurrentHashMap Source (Part 7)

This article thoroughly examines Java's ConcurrentHashMap by tracing its evolution from JDK 1.5's segment‑lock design to JDK 8's CAS‑plus‑synchronized implementation, detailing internal structures, put/get algorithms, resizing mechanics, performance trade‑offs, and common interview questions.

ConcurrentHashMapJDK7JDK8
0 likes · 12 min read
Deep Dive into Java Concurrency: Analyzing the ConcurrentHashMap Source (Part 7)
Su San Talks Tech
Su San Talks Tech
Jul 8, 2026 · Artificial Intelligence

How to Build a Chat Service with Memory Using Spring AI 2.0

This article walks through integrating Spring AI 2.0 into a Spring Boot project, configuring model access, implementing synchronous and streaming chat endpoints, and adding Redis‑backed conversation memory to enable true multi‑turn interactions with large language models.

Chat MemoryChatClientJava
0 likes · 14 min read
How to Build a Chat Service with Memory Using Spring AI 2.0
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 8, 2026 · Backend Development

How to Efficiently Upload GB‑Scale Files with Spring Boot

The article explains why traditional single‑file uploads fail for files over 100 MB, introduces a chunked upload architecture, provides complete Spring Boot controller code for initializing, uploading, merging chunks, shows high‑performance merging with RandomAccessFile, front‑end chunk handling with progress, resumable checks, HMAC verification, and optional MinIO storage.

BackendJavaLarge Files
0 likes · 11 min read
How to Efficiently Upload GB‑Scale Files with Spring Boot
Tinker Programmer
Tinker Programmer
Jul 8, 2026 · Backend Development

10 Common DDD Mistakes and How to Avoid Them

This article reviews ten frequent misuses of Domain‑Driven Design—ranging from over‑engineering simple CRUD apps to misusing layers, aggregates, services, repositories, and events—provides concrete counter‑examples, explains why they happen, and offers practical corrective guidelines plus a self‑check checklist.

Anti-PatternsDDDJava
0 likes · 18 min read
10 Common DDD Mistakes and How to Avoid Them
IoT Full-Stack Technology
IoT Full-Stack Technology
Jul 8, 2026 · Backend Development

Comprehensive Collection of Java Backend Architecture Diagrams

This article presents a curated list of 31 Java backend architecture diagrams, covering class loader, JVM, technology stack, thread runtime, compilation, JMS, JMX, Spring, Hibernate, iBATIS, Struts, EJB, portal, Android, cloud, Linux kernel, VMware, SAP, SOA, GIS ESB, CRM, and OA, each illustrated with detailed images.

ArchitectureBackendHibernate
0 likes · 6 min read
Comprehensive Collection of Java Backend Architecture Diagrams
Java Tech Workshop
Java Tech Workshop
Jul 8, 2026 · Backend Development

Step‑by‑Step Walkthrough of Spring Boot’s Main‑Method to Container‑Ready Startup Chain

This article provides a line‑by‑line walkthrough of Spring Boot’s startup sequence, from the main method through SpringApplication.run, environment preparation, context creation, bean factory refresh, to the final ApplicationReadyEvent, highlighting key code snippets and common failure points.

ApplicationContextBeanLifecycleDependencyInjection
0 likes · 13 min read
Step‑by‑Step Walkthrough of Spring Boot’s Main‑Method to Container‑Ready Startup Chain
LuTiao Programming
LuTiao Programming
Jul 7, 2026 · Artificial Intelligence

Suddenly All Major AI Coders Shift to Task Orchestration—Java Finally Gets Its Main Stage

Recent updates to Codex, Claude Code, Cursor, and ZCode show a rapid move from simple code‑generation chat windows to full‑featured distributed task orchestration, and the Java ecosystem—through Spring Boot, JobRunr, and OpenTelemetry—now provides the essential backend platform to manage these AI‑driven development pipelines.

AI codingJavaJobRunr
0 likes · 21 min read
Suddenly All Major AI Coders Shift to Task Orchestration—Java Finally Gets Its Main Stage
Coder Trainee
Coder Trainee
Jul 7, 2026 · Backend Development

Deep Dive into Java ThreadPoolExecutor: Source Code Analysis (Part 6)

This article provides a thorough, source‑level walkthrough of Java's ThreadPoolExecutor, covering its core design, state machine, seven key parameters, task‑submission flow, worker creation, execution loop, rejection policies, common pool variants, and interview‑ready explanations of the execute() process.

BlockingQueueExecutorServiceJava
0 likes · 10 min read
Deep Dive into Java ThreadPoolExecutor: Source Code Analysis (Part 6)
samdeepthink
samdeepthink
Jul 7, 2026 · Fundamentals

How a Bloom Filter Stores 30 Million Items in Just 35 MB

The article explains how a Redis‑backed Bloom filter can deduplicate activity pop‑ups for 30 million users using only 35 MB of memory, compares alternative approaches, and details the underlying bit‑array and hash‑function mechanics, false‑positive rate, parameter sizing, expiration, and practical library choices.

Bloom FilterFalse positiveJava
0 likes · 15 min read
How a Bloom Filter Stores 30 Million Items in Just 35 MB
java1234
java1234
Jul 7, 2026 · Backend Development

Maven 4 Arrives After 15 Years: A Complete Rewrite of the Java Build Tool

Maven 4 (currently at 4.0.0‑rc‑5) introduces a Java 17 runtime requirement, separates Build POM from Consumer POM, adds a new POM 4.1.0 model that reduces repetitive configuration, and provides migration tools such as mvnup and mvnsh, while offering step‑by‑step guidance for upgrading from Maven 3.

CIJavaMaven
0 likes · 13 min read
Maven 4 Arrives After 15 Years: A Complete Rewrite of the Java Build Tool
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 7, 2026 · Backend Development

No AOP? Achieve Zero‑Intrusion Parameter Auto‑Filling in Spring Boot

This article demonstrates how to leverage Spring Boot's type‑conversion and AnnotationFormatterFactory to implement elegant, zero‑intrusion parameter auto‑filling, covering a basic string‑to‑object conversion example and a remote‑service lookup scenario with complete code and test results.

AnnotationFormatterFactoryBackend DevelopmentJava
0 likes · 7 min read
No AOP? Achieve Zero‑Intrusion Parameter Auto‑Filling in Spring Boot