Tagged articles

Java

5000 articles · Page 7 of 50
Subtle Storm
Subtle Storm
May 17, 2026 · Backend Development

Why Distributed Locks Matter and How to Implement Them with DB, Redis, and ZooKeeper

The article explains why a simple JVM lock fails in multi‑instance services, illustrates the overselling problem with an e‑commerce example, and then compares three practical distributed‑lock solutions—database‑based, Redis‑based, and ZooKeeper‑based—detailing their mechanisms, strengths, weaknesses, and suitable scenarios.

ConcurrencyDatabaseJava
0 likes · 8 min read
Why Distributed Locks Matter and How to Implement Them with DB, Redis, and ZooKeeper
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2026 · Backend Development

14 Advanced Java Collection Tricks to Write Cleaner Code

This article presents fourteen practical Java collection techniques—ranging from creating immutable and empty collections to using computeIfAbsent, Map.merge, Collectors.groupingBy, and EnumMap/EnumSet—each illustrated with concise code snippets and explanations that improve readability, safety, and performance in Spring Boot applications.

CollectionsEnumMapJava
0 likes · 9 min read
14 Advanced Java Collection Tricks to Write Cleaner Code
21CTO
21CTO
May 16, 2026 · Fundamentals

What’s New in JDK 26? Key Language, Library, and Runtime Enhancements

JDK 26, the latest non‑LTS Java release, adds ten JEP‑driven enhancements—including pattern‑matching for instanceof and switch, HTTP/3 support, PEM encoding, structured concurrency, lazy constants, a vector API, Applet removal, final‑mean changes, AOT cache support, and G1 GC throughput gains—providing developers with practical new capabilities to test before the next LTS version.

JDK 26JEPJava
0 likes · 8 min read
What’s New in JDK 26? Key Language, Library, and Runtime Enhancements
TonyBai
TonyBai
May 16, 2026 · Fundamentals

How Go Cured My 10‑Year Over‑Engineering Habit from Java and TypeScript

The article examines the pervasive over‑engineering syndrome among Java and TypeScript developers, illustrates how Go’s strict language design forces simpler, more readable code, and shows through personal anecdotes and community discussions that this shift dramatically improves maintainability and debugging speed.

GoJavaOver‑engineering
0 likes · 10 min read
How Go Cured My 10‑Year Over‑Engineering Habit from Java and TypeScript
samdeepthink
samdeepthink
May 15, 2026 · Backend Development

Designing a Marketing PMS: Activity Model, Rule Engine, Conflict Handling, and Allocation Mechanisms

The article explains the core responsibilities and three‑layer architecture of a marketing PMS, details the activity‑template model, walks through the rule‑engine execution flow with container‑component and needNum logic, compares self‑built and Drools solutions, and describes mutual‑exclusion, stacking, allocation strategies, and the three‑stage cal/use/rollback workflow with caching and consistency safeguards.

JavaRule Engineallocation
0 likes · 24 min read
Designing a Marketing PMS: Activity Model, Rule Engine, Conflict Handling, and Allocation Mechanisms
Architect's Guide
Architect's Guide
May 15, 2026 · Backend Development

One‑Line HTTP Requests with OKHttpUtil: A Minimal Java Wrapper

The article introduces OKHttpUtil, a lightweight wrapper around Square’s OkHttp library that enables Java developers to perform HTTP GET, POST, file upload, and download operations with a single line of code, includes Maven setup, Spring Boot integration, fluent API usage, and examples of wrapping external services such as eBay.

API wrapperHTTP clientHTTP request
0 likes · 10 min read
One‑Line HTTP Requests with OKHttpUtil: A Minimal Java Wrapper
Linyb Geek Road
Linyb Geek Road
May 14, 2026 · Backend Development

How to Build a Reliable 15‑Minute Order Auto‑Cancel in Java: From Naïve @Scheduled to Production‑Ready Redisson

The article walks through the pitfalls of a seemingly simple 15‑minute unpaid‑order cancellation requirement, evaluates five implementation options—from a basic @Scheduled poll to Redis ZSet, DelayQueue, and distributed Redisson solutions—culminating in a production‑grade Redisson scheduler with optimistic‑lock safeguards and detailed best‑practice guidelines.

JavaRedisRedisson
0 likes · 13 min read
How to Build a Reliable 15‑Minute Order Auto‑Cancel in Java: From Naïve @Scheduled to Production‑Ready Redisson
Java Architect Essentials
Java Architect Essentials
May 13, 2026 · Backend Development

Boost CRUD Efficiency with MyBatisPlus Pro: A BaseController Guide

This article introduces MyBatisPlus Pro, walks through adding the MyBatisPlus dependency, creating a utility class, defining a generic BaseController with full CRUD, pagination support, and shows how to extend it in specific controllers, providing a ready‑to‑use RESTful API template.

BaseControllerCRUDJava
0 likes · 9 min read
Boost CRUD Efficiency with MyBatisPlus Pro: A BaseController Guide
Architect's Ambition
Architect's Ambition
May 13, 2026 · Artificial Intelligence

Deep Dive into Spring AI Alibaba: Architecture, Core Features, and Practical Implementation Guide

This article provides a comprehensive analysis of Spring AI Alibaba, detailing its five‑layer architecture, core capabilities such as unified model access, cloud‑native integration, and Agentic AI features, and offers concrete code examples and production recommendations to help Java developers quickly build and deploy AI agents.

AI AgentsAgent FrameworkGraph workflow
0 likes · 12 min read
Deep Dive into Spring AI Alibaba: Architecture, Core Features, and Practical Implementation Guide
MeowKitty Programming
MeowKitty Programming
May 12, 2026 · Backend Development

Why AI Prompt Tricks Matter Less Than a Structured Java Development Workflow

The article outlines a step‑by‑step AI‑assisted workflow for Java backend developers, emphasizing early requirement translation, using AI to map existing code, breaking implementation into tiny, well‑scoped tasks, generating risk‑focused tests, and performing a reverse review before submitting a PR, all while keeping human verification at each stage.

AIJavaPrompt Engineering
0 likes · 8 min read
Why AI Prompt Tricks Matter Less Than a Structured Java Development Workflow
Cloud Architecture
Cloud Architecture
May 12, 2026 · Information Security

High-Concurrency Phone Encryption: Blind Index, KMS Management & Rotation

This article presents a production‑grade solution for encrypting phone numbers in high‑concurrency microservices, combining random AES‑GCM ciphertext with HMAC‑based blind indexes, multi‑version KMS‑managed keys, zero‑downtime key rotation, and detailed component designs to ensure confidentiality, exact searchability, and operational stability.

Database SecurityEncryptionJava
0 likes · 40 min read
High-Concurrency Phone Encryption: Blind Index, KMS Management & Rotation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 12, 2026 · Backend Development

Reproducing Three Classic Spring Boot Concurrency Deadlocks in Just 10 Lines

The article explains three typical deadlock scenarios in Spring Boot 3.5—circular‑wait, connection‑pool starvation, and implicit DML deadlocks—shows minimal 10‑line code reproductions, demonstrates the resulting errors, and provides concrete fixes such as ordered locking, removing REQUIRES_NEW propagation, and using asynchronous events.

ConcurrencyDeadlockJava
0 likes · 9 min read
Reproducing Three Classic Spring Boot Concurrency Deadlocks in Just 10 Lines
Cloud Architecture
Cloud Architecture
May 11, 2026 · Operations

3 Billion Products, 500 Million Daily Queries: How I Boosted a Failing Elasticsearch Cluster 5×

A large‑scale e‑commerce search system handling 3 billion product documents and 500 million daily queries was on the brink of collapse, but a systematic overhaul across query modeling, index design, write pipelines, cluster topology, and application‑level governance lifted throughput five‑fold while cutting P99 latency from 3.2 seconds to 180 ms.

ElasticsearchJavaQuery Optimization
0 likes · 30 min read
3 Billion Products, 500 Million Daily Queries: How I Boosted a Failing Elasticsearch Cluster 5×
Architect's Guide
Architect's Guide
May 11, 2026 · Backend Development

Why UUID Falls Short and How Snowflake Solves Distributed ID Generation

The article examines the limitations of UUIDs for distributed systems, outlines the strict requirements for global unique IDs, compares common approaches such as database auto‑increment and Redis, and provides a detailed analysis of Twitter's Snowflake algorithm with its structure, Java implementation, advantages, drawbacks, and mitigation strategies.

JavaMySQLRedis
0 likes · 14 min read
Why UUID Falls Short and How Snowflake Solves Distributed ID Generation
ZhiKe AI
ZhiKe AI
May 11, 2026 · Backend Development

Java Rewrites OpenClaw: An Architecture‑Level Translation, Not a Simple Port

A Java team rebuilt the popular Node.js AI‑Agent platform OpenClaw from scratch, replacing AI‑generated “vibe code” with a carefully refactored architecture that leverages Spring AI, JobRunr, and Spring Modulith, and demonstrates how to run the new Java version with just a few commands.

AI AgentsArchitecture TranslationJava
0 likes · 16 min read
Java Rewrites OpenClaw: An Architecture‑Level Translation, Not a Simple Port
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 11, 2026 · Backend Development

Boost Performance: Using DataLoader in Spring Boot for Efficient Batch Processing

This article explains how to integrate the Java‑DataLoader library into a Spring Boot 3.5.0 application, covering dependency setup, entity and repository definitions, service methods, DataLoader configuration, testing, contextual loading, and custom two‑level caching to achieve high‑performance batch data fetching.

Batch loadingDataLoaderGraphQL
0 likes · 12 min read
Boost Performance: Using DataLoader in Spring Boot for Efficient Batch Processing
MeowKitty Programming
MeowKitty Programming
May 10, 2026 · Backend Development

Why Java Developers Should Stop Treating Null as a Minor Issue – JSpecify Turns NPEs into Enforceable Contracts

The article explains how Java developers have become numb to NullPointerExceptions, why AI‑assisted coding makes undocumented null assumptions riskier, and how JSpecify's nullability annotations—adopted by Spring 7—provide explicit contracts that improve code safety and tooling support.

AI code generationJSpecifyJava
0 likes · 7 min read
Why Java Developers Should Stop Treating Null as a Minor Issue – JSpecify Turns NPEs into Enforceable Contracts
samdeepthink
samdeepthink
May 10, 2026 · Backend Development

Why Debugging Is the Best Way to Master Framework Source Code

The author argues that understanding frameworks through a debugging mindset and concise demo programs—such as inspecting Redis’s single‑threaded model, Spring’s circular‑dependency resolution, ThreadPoolExecutor’s rejection policy, and HashMap’s resize behavior—provides deeper insight than memorization, and shows how to isolate problems into minimal, testable units.

DebuggingFrameworksHashMap
0 likes · 4 min read
Why Debugging Is the Best Way to Master Framework Source Code
java1234
java1234
May 10, 2026 · Artificial Intelligence

Bringing Python‑Level AI Agents to Java Production: A Deep Dive into AgentScope Java

AgentScope Java is an open‑source, agent‑oriented framework that brings ReAct, tool calling, memory, multi‑agent collaboration, runtime intervention, plug‑in integration, reactive architecture, GraalVM native images and OpenTelemetry observability to Java, enabling production‑grade AI agents with familiar Java tooling.

AI AgentsAgentScope JavaGraalVM
0 likes · 9 min read
Bringing Python‑Level AI Agents to Java Production: A Deep Dive into AgentScope Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 9, 2026 · Backend Development

9 Essential Java Code Optimizations to Eliminate Bad Practices

This article presents nine practical Java code‑optimization techniques—including string formatting, loop refactoring, resource management, buffered I/O, multithreading, enums, exception handling, and third‑party libraries—each illustrated with before‑and‑after code samples and clear explanations of why the improved version is more readable, efficient, and maintainable.

JavaPerformanceSpring Boot
0 likes · 14 min read
9 Essential Java Code Optimizations to Eliminate Bad Practices
Cloud Architecture
Cloud Architecture
May 9, 2026 · Backend Development

High‑Concurrency Flash‑Sale Blueprint: Redis Atomic Stock and Kafka Throttling

The article presents a production‑grade, scalable flash‑sale architecture that combines Redis atomic inventory deduction, Kafka asynchronous peak‑shaving, and careful database finalization, detailing each layer’s goals, pre‑filtering techniques, Lua scripting, idempotency, capacity planning, monitoring, and compensation strategies to prevent overselling and ensure reliability.

JavaKafkaRedis
0 likes · 31 min read
High‑Concurrency Flash‑Sale Blueprint: Redis Atomic Stock and Kafka Throttling
samdeepthink
samdeepthink
May 9, 2026 · Backend Development

When You Can’t Understand Someone Else’s Code, Is It Their Skill or Yours?

The article explains that difficulty reading code often stems from unfamiliar design patterns and complex construction logic rather than poor code quality, illustrating with factory and strategy patterns in inventory systems, and provides a checklist to distinguish between genuinely bad code and gaps in a developer’s knowledge.

Code OrganizationDesign PatternsFactory Pattern
0 likes · 9 min read
When You Can’t Understand Someone Else’s Code, Is It Their Skill or Yours?
Java Tech Workshop
Java Tech Workshop
May 8, 2026 · Fundamentals

6 Common Misconceptions About Java’s static Keyword

This article debunks six frequent misunderstandings of Java’s static keyword, covering its class-level nature, the impossibility of overriding static methods, the prohibition of this/super in static contexts, the one‑time execution of static blocks, the lack of inherent thread safety for static variables, and why static fields should not be initialized in constructors or instance blocks.

InitializationJavaMemory Model
0 likes · 10 min read
6 Common Misconceptions About Java’s static Keyword
Programmer XiaoFu
Programmer XiaoFu
May 8, 2026 · Backend Development

Can Java 21 Virtual Threads Render Thread Pools Obsolete?

The article examines how Java 21’s cheap virtual threads change the role of traditional thread pools, explaining why pooling virtual threads is a bad idea, how thread pools still act as natural throttlers, and which scenarios—especially CPU‑bound work and synchronized blocks—remain unsuitable for virtual threads.

ConcurrencyJDK 21Java
0 likes · 8 min read
Can Java 21 Virtual Threads Render Thread Pools Obsolete?
ITPUB
ITPUB
May 7, 2026 · R&D Management

How a 35‑Year‑Old Engineer Built a Technical Management Career in IT

The author recounts a 16‑year IT journey—from unproductive early jobs and frequent moves, through a pivotal switch to a major internet firm, to successive roles as tech lead, manager, and backend head—highlighting the challenges, decisions, and lessons that shaped a successful technical leadership path.

JavaSystem Architecturecareer development
0 likes · 23 min read
How a 35‑Year‑Old Engineer Built a Technical Management Career in IT
Architect's Guide
Architect's Guide
May 7, 2026 · Artificial Intelligence

Spring AI 2.0 vs LangChain4j: Which Should You Choose?

The article provides a side‑by‑side analysis of Spring AI 2.0 and LangChain4j, comparing their goals, version alignment, programming models, RAG and agent capabilities, ecosystem integration, learning curve, and operational considerations to help Java teams decide which library best fits their project constraints.

AI AgentsJavaLLM Integration
0 likes · 11 min read
Spring AI 2.0 vs LangChain4j: Which Should You Choose?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 7, 2026 · Information Security

Secure Anything with Google Tink: Encrypt Everywhere in Just Three Lines

This article introduces Google Tink, an open‑source cryptographic library for Java, explains its design goals and primitive abstractions, and walks through concise code examples that generate keysets, perform AEAD encryption, stream large files, compute MACs, and create digital signatures, all with minimal boilerplate.

AEADGoogle TinkJava
0 likes · 13 min read
Secure Anything with Google Tink: Encrypt Everywhere in Just Three Lines
LuTiao Programming
LuTiao Programming
May 6, 2026 · Backend Development

Can You Build an MCP Server with Spring Boot? Complete Java Guide to Standardized AI APIs

This article explains why the Model Context Protocol (MCP) is becoming the universal AI interface standard, compares three implementation approaches, and provides a step‑by‑step tutorial for Java developers to create a production‑ready MCP server with Spring Boot, including tool definition, registration, controller, LLM integration, and best‑practice optimizations.

AIJavaLLM
0 likes · 10 min read
Can You Build an MCP Server with Spring Boot? Complete Java Guide to Standardized AI APIs
MeowKitty Programming
MeowKitty Programming
May 6, 2026 · Backend Development

Why Faster AI Code Generation Demands Strong Transaction Boundaries for Java Developers

As AI accelerates Java business code generation, developers must carefully define transaction boundaries, distinguishing atomic operations, avoiding oversized or overly fragmented transactions, and coordinating with messaging and caching to ensure consistency, recoverability, and reliable system behavior.

AI code generationJavaMicroservices
0 likes · 8 min read
Why Faster AI Code Generation Demands Strong Transaction Boundaries for Java Developers
Architect's Guide
Architect's Guide
May 6, 2026 · Backend Development

Quickly Implement API Encryption in Spring Boot with a Single Library

This article walks through using RSA to encrypt Spring Boot API responses, covering the theory behind RSA, two security scenarios, Maven dependency setup, configuration, controller annotations, encryption/decryption code, a front‑end JavaScript example, common pitfalls, and a final security summary.

API EncryptionEncryptionJava
0 likes · 11 min read
Quickly Implement API Encryption in Spring Boot with a Single Library
LuTiao Programming
LuTiao Programming
May 6, 2026 · Fundamentals

HashMap Deep Dive: How Hash Collisions Are Resolved and When Lists Turn into Red‑Black Trees

HashMap is not a simple key‑value store but an array‑based scheduling system that uses a three‑step put process, hash perturbation, bit‑wise indexing, and conditional conversion of long bucket lists into red‑black trees, with resize mechanics that can become performance bottlenecks in high‑concurrency Java applications.

ConcurrencyData StructuresHashMap
0 likes · 8 min read
HashMap Deep Dive: How Hash Collisions Are Resolved and When Lists Turn into Red‑Black Trees
Coder Trainee
Coder Trainee
May 6, 2026 · Backend Development

Spring Boot Auto-Configuration: In‑Depth Source Code Walkthrough

This article explores the complete execution flow of Spring Boot’s auto‑configuration, detailing the role of @EnableAutoConfiguration, the AutoConfigurationImportSelector hierarchy, how candidate configurations are loaded from spring.factories, filtered by conditions, and how to create custom starters, with interview‑style Q&A.

Backend DevelopmentConditional AnnotationsCustom Starter
0 likes · 12 min read
Spring Boot Auto-Configuration: In‑Depth Source Code Walkthrough
MeowKitty Programming
MeowKitty Programming
May 5, 2026 · Backend Development

Codex Is More Than Autocomplete—Java Developers Learn to Delegate Tasks to AI

The article argues that Java developers should treat OpenAI's Codex as a coding agent capable of handling well‑defined engineering tasks—such as codebase navigation, targeted refactoring, test generation, and pre‑review checks—by clearly specifying boundaries, goals, and verification steps rather than merely asking it to write snippets.

AI coding agentCodexJava
0 likes · 8 min read
Codex Is More Than Autocomplete—Java Developers Learn to Delegate Tasks to AI
Java Tech Enthusiast
Java Tech Enthusiast
May 5, 2026 · Backend Development

Quick Start Guide to Using EasyExcel with Spring Boot 3 (Verified)

This tutorial walks through building a Spring Boot 3 project that integrates Alibaba's EasyExcel for Excel export and import, covering project structure, Maven dependencies, entity mapping, listener implementation, service and controller code, testing endpoints, and key Spring Boot 3 considerations such as Jakarta packages, JDK 17+, response header handling, memory management, and production‑grade best practices.

Backend DevelopmentEasyExcelExcel export
0 likes · 14 min read
Quick Start Guide to Using EasyExcel with Spring Boot 3 (Verified)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 5, 2026 · Backend Development

Stop Manually Concatenating URLs: Master Spring Boot’s Powerful URI Utilities

This article walks through Spring Boot 3.5.0’s URI building tools—including UriComponents, UriBuilderFactory, encoding options, ServletUriComponentsBuilder, and MVC link generation—showing how to construct correct, automatically‑encoded URLs for RestTemplate, WebClient, and controller methods with concrete code examples and outputs.

JavaSpring BootWebClient
0 likes · 8 min read
Stop Manually Concatenating URLs: Master Spring Boot’s Powerful URI Utilities
Architect's Guide
Architect's Guide
May 5, 2026 · Backend Development

Why This Lightweight Rule Engine Lets You Ditch If‑Else Statements

The article introduces the liteflow rule‑engine framework, explains its architecture, component types, EL rule files, data‑context handling, configuration options, and demonstrates a real‑world e‑commerce workflow that replaces verbose if‑else code with concise rule definitions.

ConfigurationJavaLiteFlow
0 likes · 9 min read
Why This Lightweight Rule Engine Lets You Ditch If‑Else Statements
Architect-Kip
Architect-Kip
May 5, 2026 · Backend Development

Scalable PBC Architecture for Decoupled Logistics Workflow Orchestration

This article presents a detailed design of a Process Business Capability (PBC) architecture that decouples logistics workflow steps, replaces hard‑coded controller logic with configurable nodes, introduces a unified entry point, a flow engine for matching and execution, and demonstrates the complete Spring Boot implementation with code examples and database schemas.

JavaPBCProcess Orchestration
0 likes · 35 min read
Scalable PBC Architecture for Decoupled Logistics Workflow Orchestration
java1234
java1234
May 5, 2026 · Artificial Intelligence

Spring AI 2.0: New Video Tutorial Series Empowers Java Developers with AI

The author announces a refreshed Spring AI 2.0 video tutorial series and provides a detailed overview of the framework’s design goals, provider‑agnostic API, full‑type model support, Spring integration, enterprise value, typical use cases, and a comparison with competing Java AI libraries.

AI FrameworkJavaLangChain4j
0 likes · 7 min read
Spring AI 2.0: New Video Tutorial Series Empowers Java Developers with AI
Java Tech Workshop
Java Tech Workshop
May 5, 2026 · Backend Development

Java Reflection: Powerful Magic or Dangerous Black Art?

The article explains Java’s reflection mechanism, showing how it lets code inspect and manipulate classes at runtime—enabling frameworks like Spring and MyBatis—while warning about performance overhead, security risks, and maintenance challenges, and offers best‑practice guidelines to use it safely.

FrameworksJavaPerformance
0 likes · 14 min read
Java Reflection: Powerful Magic or Dangerous Black Art?
Coder Trainee
Coder Trainee
May 5, 2026 · Backend Development

What Does @SpringBootApplication Actually Do? A Deep Dive into Spring Boot’s Core Annotation

This article dissects the @SpringBootApplication annotation, explaining how it combines @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan, and walks through the auto‑configuration mechanism, conditional annotations, and common interview questions with concrete code examples.

@SpringBootApplicationBackend DevelopmentComponentScan
0 likes · 10 min read
What Does @SpringBootApplication Actually Do? A Deep Dive into Spring Boot’s Core Annotation
Tinker Programmer
Tinker Programmer
May 4, 2026 · Fundamentals

Master LRU & LFU Cache Strategies for Interview Success

This article explains why LRU needs a doubly linked list, how to achieve O(1) LFU with two hash maps and a minFreq pointer, and why Redis uses approximate LRU and an 8‑bit Morris counter for LFU, providing full Java, Go, and Python implementations.

Cache EvictionGoJava
0 likes · 5 min read
Master LRU & LFU Cache Strategies for Interview Success
CodeNotes
CodeNotes
May 4, 2026 · Backend Development

Mastering ThreadLocal in Java: Core Principles, Real‑World Scenarios & Best Practices

This article explains how ThreadLocal provides per‑thread variable copies in Java web applications, details its internal storage in Thread objects, showcases ten practical scenarios—from request tracing to async tasks—and highlights common pitfalls such as memory leaks and thread‑pool data contamination, offering concrete best‑practice recommendations.

ConcurrencyJavaLogging
0 likes · 23 min read
Mastering ThreadLocal in Java: Core Principles, Real‑World Scenarios & Best Practices
LuTiao Programming
LuTiao Programming
May 4, 2026 · Backend Development

Barclays 2026 Java Spring Boot Microservices Interview Q&A: Deep Dive into Core Concepts

This article dissects a comprehensive set of Barclays Java Spring Boot microservices interview questions, covering HashMap internals, REST method semantics, code implementations, Spring dependency injection, JDBC evolution, JPA/Hibernate usage, SQL injection defenses, microservice architecture essentials, and best‑practice REST API design.

HashMapJPAJava
0 likes · 9 min read
Barclays 2026 Java Spring Boot Microservices Interview Q&A: Deep Dive into Core Concepts
java1234
java1234
May 4, 2026 · Backend Development

Building a WeChat Mini‑Program Pet Adoption System in 20 Minutes with Cursor AI

In just 20 minutes, the author uses Cursor AI with Opus 4.7 to create a complete pet‑adoption solution that includes a WeChat mini‑program front‑end, a Vue‑based admin portal, and a Spring Boot backend with JWT security, demonstrating rapid AI‑assisted development and detailed architecture.

Cursor AIJavaPet Adoption
0 likes · 9 min read
Building a WeChat Mini‑Program Pet Adoption System in 20 Minutes with Cursor AI
Coder Trainee
Coder Trainee
May 4, 2026 · Backend Development

Spring Boot Startup Process: A Zero‑to‑One Source Code Walkthrough

This article dissects the Spring Boot startup sequence step by step, showing how a minimal @SpringBootApplication triggers listeners, type deduction, auto‑configuration loading, environment preparation, IOC container creation, bean refresh, and embedded Tomcat launch, with interview‑ready explanations.

InterviewJavaSpring Boot
0 likes · 9 min read
Spring Boot Startup Process: A Zero‑to‑One Source Code Walkthrough
Java Tech Enthusiast
Java Tech Enthusiast
May 3, 2026 · Backend Development

Escape the If‑Else Nightmare with Powerful Workflow Orchestration

The article explains how excessive if‑else branching in multi‑business Java systems harms maintainability and reliability, and demonstrates how a flow engine combined with plugin extensions can isolate code, configure per‑business execution chains, and safely handle success, rollback, and callbacks.

JavaOrchestrationWorkflow
0 likes · 6 min read
Escape the If‑Else Nightmare with Powerful Workflow Orchestration
Java Tech Workshop
Java Tech Workshop
May 3, 2026 · Backend Development

Mastering Java Annotations: From Basic Usage to Custom Annotation Processors

This article explains the fundamentals of Java annotations, their core purposes, built‑in annotations, meta‑annotations, and provides step‑by‑step practical examples for creating a runtime @Sensitive annotation and a compile‑time @AutoGetter processor, while also dissecting how Spring leverages annotations for component scanning, dependency injection, and request mapping.

Annotation ProcessorJavaMeta‑annotations
0 likes · 27 min read
Mastering Java Annotations: From Basic Usage to Custom Annotation Processors
IT Services Circle
IT Services Circle
May 2, 2026 · Fundamentals

7 Recurring Mistakes I See in Every PR After Reviewing Over 1,000

After reviewing more than a thousand pull requests, the author identifies seven recurring problems—unreadable code, hidden error handling, thread‑safety oversights, N+1 database queries, hard‑coded configuration, ignoring failure paths, and overly large PRs—and explains why they matter and how to avoid them.

JavaPerformanceThread Safety
0 likes · 13 min read
7 Recurring Mistakes I See in Every PR After Reviewing Over 1,000
Java Tech Enthusiast
Java Tech Enthusiast
May 2, 2026 · Backend Development

10 Common MyBatis‑Plus Pitfalls and How to Avoid Them

This article enumerates ten frequent pitfalls when using MyBatis‑Plus—such as incorrect total counts in pagination, pagination interceptor misconfiguration, logical‑delete failures, auto‑fill issues, optimistic‑lock mismatches, null handling in query wrappers, poor batch‑insert performance, enum mapping errors, type‑handler problems, and overall pros and cons—providing concrete examples, root‑cause analysis, and practical solutions for each.

BatchInsertEnumMappingJava
0 likes · 20 min read
10 Common MyBatis‑Plus Pitfalls and How to Avoid Them
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 2, 2026 · Backend Development

Beyond Controller Validation: 90% Miss Spring’s Advanced Validation Techniques

The article explains how standard Spring Boot controller‑level validation leaves service methods unchecked, and demonstrates using @Validated with MethodValidationPostProcessor, custom exception handling, and a MethodValidationExcludeFilter to apply, convert, and selectively disable validation across the application.

Custom FilterJavaMethodValidationPostProcessor
0 likes · 7 min read
Beyond Controller Validation: 90% Miss Spring’s Advanced Validation Techniques
Java Tech Workshop
Java Tech Workshop
May 2, 2026 · Fundamentals

Java Generics Deep Dive: Pros and Cons of Type Erasure

The article explains how Java generics, introduced in Java 5 to improve type safety and reduce code duplication, rely on type erasure for backward compatibility, detailing its implementation, advantages such as compatibility and performance, drawbacks like lack of primitive support and overload restrictions, and practical techniques to mitigate these issues.

JavaPerformancecompiler
0 likes · 19 min read
Java Generics Deep Dive: Pros and Cons of Type Erasure
IT Services Circle
IT Services Circle
May 1, 2026 · Artificial Intelligence

10 Essential AI Prompt Templates Every Programmer Should Use

The article presents ten practical AI prompt templates that cover the full software development workflow—from requirement clarification and code generation to testing, refactoring, debugging, performance tuning, SQL optimization, documentation, design review, and cross‑language translation—helping developers get accurate, production‑ready results from AI.

AI promptingDebuggingJava
0 likes · 12 min read
10 Essential AI Prompt Templates Every Programmer Should Use
Java Tech Workshop
Java Tech Workshop
May 1, 2026 · Backend Development

Exception Handling Best Practices: From try‑catch to Custom Exceptions

This article explores Java exception handling from basic try‑catch‑finally syntax, through multi‑catch and try‑with‑resources, to designing custom business exceptions, offering concrete code examples, logging tips, global handlers, and performance considerations for robust backend development.

Javacustom exceptionsexception handling
0 likes · 18 min read
Exception Handling Best Practices: From try‑catch to Custom Exceptions
Architect's Guide
Architect's Guide
May 1, 2026 · Backend Development

Senior Architects Reveal a Comprehensive Learning Roadmap for Aspiring System Designers

The article outlines a step‑by‑step learning system compiled by senior architects, covering skill foundations, source‑code analysis, distributed and microservice architectures, concurrency, performance tuning, essential Java tools, and a hands‑on e‑commerce project to help developers become well‑rounded architects.

ConcurrencyJavaMicroservices
0 likes · 7 min read
Senior Architects Reveal a Comprehensive Learning Roadmap for Aspiring System Designers
Java Tech Workshop
Java Tech Workshop
May 1, 2026 · Fundamentals

7 Crucial Differences Between Java int and Integer You Must Know

This article explains the seven key differences between Java's primitive int and its wrapper Integer, covering default values, memory layout, comparison pitfalls, caching, autoboxing/unboxing, performance impact, and appropriate usage scenarios with concrete code examples and benchmarks.

AutoboxingIntegerJava
0 likes · 22 min read
7 Crucial Differences Between Java int and Integer You Must Know
FunTester
FunTester
Apr 30, 2026 · Backend Development

Understanding Gatherer and Groovy’s Collection Capabilities

The article explains how JDK 24’s Gatherer API extends Java streams with custom intermediate operations, compares its functionality to Groovy’s rich collection methods, and provides concrete Gatherer implementations for slicing, fixed and sliding windows, folding, and subsequence detection, complete with runnable code examples.

CollectionFunctional ProgrammingGatherer
0 likes · 16 min read
Understanding Gatherer and Groovy’s Collection Capabilities
IT Services Circle
IT Services Circle
Apr 30, 2026 · Backend Development

How a Single Front‑end Change Dragged Four Backend Teams – The BFF Solution

A tiny UI tweak that required a meeting with four backend groups exposed the pain of calling many micro‑services from the front‑end, and the article shows how introducing a Backend‑For‑Frontend (BFF) layer can aggregate, transform, and simplify those calls while improving reliability and performance.

API aggregationBFFBackend For Frontend
0 likes · 21 min read
How a Single Front‑end Change Dragged Four Backend Teams – The BFF Solution
MeowKitty Programming
MeowKitty Programming
Apr 30, 2026 · Backend Development

Why Codex Agents Are Redefining the Java Developer Workflow

The article analyzes how OpenAI's Codex CLI, an AI coding agent, is shifting Java development from manual code writing to task‑oriented automation, outlining suitable use cases, practical prompting techniques, and the new skills engineers must adopt to keep quality and control.

AI coding agentCodexJava
0 likes · 7 min read
Why Codex Agents Are Redefining the Java Developer Workflow
Java Tech Workshop
Java Tech Workshop
Apr 30, 2026 · Fundamentals

Why You Should Stop Misusing String: Complete Guide to String, StringBuffer, and StringBuilder

This article thoroughly examines Java's String, StringBuffer, and StringBuilder, explaining their internal implementations, immutability, JDK 9 changes, performance characteristics, and best‑practice usage scenarios, while providing concrete code examples, benchmarks, and interview questions to help developers choose the right tool.

InterviewJavaMemory
0 likes · 21 min read
Why You Should Stop Misusing String: Complete Guide to String, StringBuffer, and StringBuilder
Java Architect Handbook
Java Architect Handbook
Apr 30, 2026 · Fundamentals

What Is a Daemon Thread and How Does It Differ From a Normal Thread?

The article explains that a daemon (background) thread in Java supports user threads but does not prevent JVM shutdown; when all non‑daemon threads finish, the JVM exits regardless of daemon threads, covering definitions, usage scenarios, creation methods, pitfalls, detailed comparisons, and typical interview questions.

ConcurrencyDaemonThreadJVM
0 likes · 10 min read
What Is a Daemon Thread and How Does It Differ From a Normal Thread?
Senior Xiao Ying
Senior Xiao Ying
Apr 30, 2026 · Backend Development

Stop Hardcoding Secrets: Secure Spring Boot Configurations with @SecretValue

This article explains why storing passwords and API keys in plain‑text configuration files is risky, outlines the three core principles of configuration security, and provides a step‑by‑step guide to using the @SecretValue annotation from the spring‑secret‑starter library to inject secrets safely from services such as AWS Secrets Manager.

@SecretValueAWS Secrets ManagerConfiguration Security
0 likes · 11 min read
Stop Hardcoding Secrets: Secure Spring Boot Configurations with @SecretValue
macrozheng
macrozheng
Apr 30, 2026 · Operations

How AI-Powered Arthas with MCP Transforms Online Issue Diagnosis

The article explains how integrating Arthas with the Model Context Protocol (MCP) enables AI-driven, natural‑language troubleshooting of Java‑based online incidents, offering step‑by‑step diagnostics, concrete case studies, and a balanced view of its advantages and current limitations.

AI debuggingArthasJava
0 likes · 11 min read
How AI-Powered Arthas with MCP Transforms Online Issue Diagnosis
Java Companion
Java Companion
Apr 30, 2026 · Backend Development

JDK 26 Introduces ofFileChannel: Simplify Large File Chunk Uploads

JDK 26 adds HttpRequest.BodyPublishers.ofFileChannel, letting developers read specific file segments directly from a shared FileChannel without copying data into heap memory, dramatically reducing memory usage and simplifying parallel chunk uploads to object storage such as OSS or S3.

FileChannelHttpClientJDK 26
0 likes · 12 min read
JDK 26 Introduces ofFileChannel: Simplify Large File Chunk Uploads
Java Tech Workshop
Java Tech Workshop
Apr 30, 2026 · Fundamentals

Do You Really Understand the Difference Between == and equals() in Java?

This article explains how == compares primitive values and object references, why Object.equals() defaults to ==, how classes like String and Integer override equals(), the impact of the string constant pool, integer caching, auto‑boxing, floating‑point pitfalls, and best practices for correctly comparing objects in Java.

==InterviewJava
0 likes · 16 min read
Do You Really Understand the Difference Between == and equals() in Java?
MeowKitty Programming
MeowKitty Programming
Apr 29, 2026 · Artificial Intelligence

10 Must‑Try Open‑Source AI Projects for Java Developers: RAG, Agents, Knowledge Bases, and Text‑to‑SQL

This article curates ten open‑source AI projects on Gitee that Java developers can use to learn RAG pipelines, AI agents, knowledge‑base construction, Text‑to‑SQL, workflow orchestration, and multi‑model integration, offering concrete use cases, learning goals, and guidance on selecting a learning path.

AIJavaLangChain4j
0 likes · 13 min read
10 Must‑Try Open‑Source AI Projects for Java Developers: RAG, Agents, Knowledge Bases, and Text‑to‑SQL
Java Architect Handbook
Java Architect Handbook
Apr 29, 2026 · Backend Development

How Many Ways Can You Create a ThreadPool in Java? Interview Essentials

The article explains the four ways to create a thread pool in Java, why the Executors factory methods are unsafe for production, how to manually configure ThreadPoolExecutor with its seven parameters, and compares scheduled and ForkJoin pools while providing interview‑focused Q&A and practical configuration formulas.

ConcurrencyExecutorsForkJoinPool
0 likes · 14 min read
How Many Ways Can You Create a ThreadPool in Java? Interview Essentials
IT Services Circle
IT Services Circle
Apr 29, 2026 · Backend Development

10 Common MyBatis-Plus Pitfalls and How to Avoid Them

This article analyzes ten frequent pitfalls when using MyBatis-Plus—such as incorrect pagination totals, pagination plugin misconfiguration, logical delete failures, auto‑fill issues, optimistic‑lock mismatches, null handling in QueryWrapper, batch‑insert performance, enum mapping errors, wrapper condition overrides, and type‑handler problems—provides root‑cause explanations, concrete code examples, and practical solutions to help developers write more robust and efficient Java backend code.

Batch InsertEnum MappingJava
0 likes · 19 min read
10 Common MyBatis-Plus Pitfalls and How to Avoid Them
Architect's Guide
Architect's Guide
Apr 29, 2026 · Backend Development

How to Use Spring Boot, Netty, and WebSocket for Server‑to‑Client Push

This article walks through building a Netty‑based WebSocket server integrated with Spring Boot, configuring the channel pipeline, implementing custom handlers, exposing a push‑message service, and testing the end‑to‑end flow that enables the backend to push real‑time messages to web clients.

JavaNettyServer Push
0 likes · 8 min read
How to Use Spring Boot, Netty, and WebSocket for Server‑to‑Client Push
Su San Talks Tech
Su San Talks Tech
Apr 29, 2026 · Artificial Intelligence

10 Essential AI Prompt Templates Every Programmer Should Use

The article explains why well‑crafted prompts are crucial for AI‑assisted programming, introduces the STAR principle for prompt design, and provides ten ready‑to‑use prompt templates covering requirement analysis, test generation, code explanation, refactoring, debugging, performance tuning, SQL design, documentation, architecture review, and language translation.

AI promptingJavaPrompt Engineering
0 likes · 12 min read
10 Essential AI Prompt Templates Every Programmer Should Use
Architecture & Thinking
Architecture & Thinking
Apr 29, 2026 · Backend Development

Must‑Know CompletableFuture: Usage, Best Practices, and Real‑World Scenarios

This article explains why CompletableFuture replaces traditional Future in high‑concurrency Java applications, demonstrates core APIs such as runAsync, supplyAsync, thenApply, allOf, anyOf, thenCombine, and exception handling, and provides detailed code examples—including serial, parallel, aggregation, and an e‑commerce order‑processing case—to guide robust asynchronous programming.

Asynchronous ProgrammingCompletableFutureConcurrency
0 likes · 26 min read
Must‑Know CompletableFuture: Usage, Best Practices, and Real‑World Scenarios
The Dominant Programmer
The Dominant Programmer
Apr 29, 2026 · Backend Development

Spring MVC + OpenFeign: Contract‑First API, Controller Logic, and Feign Reuse in Microservices

This article explains a standard Spring MVC + OpenFeign design pattern for microservices, where a contract‑first interface defines routing and API specs, Controllers implement business logic, and Feign clients reuse the same interface for remote calls, with full Maven project setup, code samples, and Nacos integration.

Contract-FirstJavaMaven
0 likes · 15 min read
Spring MVC + OpenFeign: Contract‑First API, Controller Logic, and Feign Reuse in Microservices
LuTiao Programming
LuTiao Programming
Apr 29, 2026 · Backend Development

Java 2026 Learning Roadmap: The Proven Path to Double Your Salary

This article outlines a step‑by‑step Java learning roadmap—from core fundamentals to microservices, high‑concurrency, AI integration, and cloud‑native deployment—showing how targeted skill progression can dramatically boost both technical competence and earning potential.

AIJVMJava
0 likes · 9 min read
Java 2026 Learning Roadmap: The Proven Path to Double Your Salary
Top Architect
Top Architect
Apr 28, 2026 · Backend Development

Elegant API Rate Limiting with Spring Interceptor and Redis

This article demonstrates a step‑by‑step implementation of API anti‑brush (rate limiting) using a Spring Interceptor combined with Redis, explains how to configure time windows and request limits, introduces a custom @AccessLimit annotation for fine‑grained control, discusses path‑parameter pitfalls, real‑IP handling, and shares practical testing results.

API securityInterceptorJava
0 likes · 20 min read
Elegant API Rate Limiting with Spring Interceptor and Redis
Java Architect Handbook
Java Architect Handbook
Apr 28, 2026 · Backend Development

SpringBoot + Disruptor: Achieving 6 Million Orders per Second with Ultra‑Fast Concurrency

This article explains why Disruptor—a lock‑free, high‑throughput Java queue from LMAX—was chosen over traditional brokers, details its core concepts such as RingBuffer, Sequence, and WaitStrategy, and provides a step‑by‑step SpringBoot demo that can handle up to six million orders per second without pressure.

DisruptorJavaMessage Queue
0 likes · 13 min read
SpringBoot + Disruptor: Achieving 6 Million Orders per Second with Ultra‑Fast Concurrency
Architect's Guide
Architect's Guide
Apr 28, 2026 · Backend Development

Tired of Endless if‑else? Try a Rule Engine for Cleaner Logic

The article shows how a growing list of if‑else checks for user eligibility becomes hard to maintain, then walks through designing and implementing a Java rule engine—defining rule abstractions, building an AND/OR executor, and demonstrating usage with concrete examples, while discussing its advantages and drawbacks.

Code ExampleDesign PatternJava
0 likes · 7 min read
Tired of Endless if‑else? Try a Rule Engine for Cleaner Logic
Java Backend Technology
Java Backend Technology
Apr 28, 2026 · Backend Development

10 Common MyBatis-Plus Pitfalls and How to Avoid Them

This article examines ten frequent pitfalls when using MyBatis-Plus—such as incorrect pagination counts, disabled pagination, logical‑delete mishandling, auto‑fill failures, optimistic‑lock issues, batch‑insert slowness, enum mapping errors, JSON type‑handler problems, and query‑wrapper quirks—explains their causes, and provides concrete code‑level solutions and best‑practice recommendations.

Batch InsertEnum MappingJSON TypeHandler
0 likes · 18 min read
10 Common MyBatis-Plus Pitfalls and How to Avoid Them
LuTiao Programming
LuTiao Programming
Apr 28, 2026 · Backend Development

How I Built a High‑Performance Java Price‑Comparison Engine from Scratch

Starting from a simple sequential Java price‑aggregator, the article walks through successive architectural upgrades—concurrent calls with CompletableFuture, timeout and fallback handling, Spring Boot service exposure, caching, bulkhead isolation, microservice split, and Kafka‑driven event processing—showing how latency drops from 1500 ms to under 20 ms.

ConcurrencyJavaKafka
0 likes · 9 min read
How I Built a High‑Performance Java Price‑Comparison Engine from Scratch