Tagged articles

Java

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

Design PatternsFactory PatternJava
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.

InitializationJavaThread Safety
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.

JDK 21JavaSemaphore
0 likes · 8 min read
Can Java 21 Virtual Threads Render Thread Pools Obsolete?
CodeSmart Hoops
CodeSmart Hoops
May 7, 2026 · Interview Experience

E‑commerce Concurrency Case Study: 12 Interview Questions with Answers

This article provides a self‑test for interview preparation, presenting twelve common interview questions and detailed answers on an e‑commerce concurrency case, covering serial vs async performance, CompletableFuture.allOf, ConcurrentHashMap.compute atomicity, layered cache design, Semaphore rate limiting, ReentrantLock fairness, AtomicInteger CAS, exceptional fallback, double‑layer protection, concurrency safety testing, thread‑pool configuration, and precise cache invalidation.

CompletableFutureJavaReentrantLock
0 likes · 21 min read
E‑commerce Concurrency Case Study: 12 Interview Questions with Answers
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.

JavaTeam LeadershipTechnical Management
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.

AIBackendJava
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 EncryptionBackendJava
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.

Data StructuresHashMapJava
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.

Auto-configurationBackend DevelopmentConditional Annotations
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.

JavaRestTemplateSpring Boot
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.

JavaPBCSpring Boot
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.

@SpringBootApplicationAuto-configurationBackend Development
0 likes · 10 min read
What Does @SpringBootApplication Actually Do? A Deep Dive into Spring Boot’s Core Annotation
Java Tech Enthusiast
Java Tech Enthusiast
May 4, 2026 · Backend Development

Minimalist Spring Boot 3: Annotation‑Based Efficient Sensitive‑Word Handling

This guide demonstrates how to use a custom @SensitiveFilter annotation together with an AOP aspect and the lightweight sensitive‑word library to implement global sensitive‑word filtering in Spring Boot 3, supporting both automatic replacement and detection modes while eliminating repetitive code across controllers.

AOPJavaSensitive Word Filtering
0 likes · 14 min read
Minimalist Spring Boot 3: Annotation‑Based Efficient Sensitive‑Word Handling
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.

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

Auto-configurationJavaSpring 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.

Code IsolationJavaflow engine
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.

JavaPerformanceType Erasure
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 promptingCode GenerationJava
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.

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

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

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

HttpClientJDK 26Java
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.

==JavaReference Types
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.

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

BackendJavaNetty
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 promptingBackendJava
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 ProgrammingCompletableFutureJava
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.

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

AICloud NativeJVM
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.

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

BackendCode ExampleDesign Pattern
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.

JavaKafkaMicroservices
0 likes · 9 min read
How I Built a High‑Performance Java Price‑Comparison Engine from Scratch
MeowKitty Programming
MeowKitty Programming
Apr 27, 2026 · Artificial Intelligence

Java AI Agents: Beyond Tool Calls to Memory Layers

The article explains that recent Spring AI updates—AutoMemoryTools and the Session API—introduce long‑term and short‑term memory capabilities, arguing that Java AI agents must shift focus from merely invoking tools to managing context and memory to become reliable production systems.

AI AgentsAutoMemoryToolsJava
0 likes · 6 min read
Java AI Agents: Beyond Tool Calls to Memory Layers
Java Companion
Java Companion
Apr 27, 2026 · Artificial Intelligence

From Spring Boot 3.5 to an AI OS: One JAR Powers Agents, Knowledge Base, and Toolchain

MateClaw is an open‑source, Java‑centric AI operating system built on Spring Boot 3.5 and Spring AI Alibaba that runs as a single JAR, offering multi‑agent collaboration, a structured wiki‑style knowledge base, tool‑guarded utilities, multi‑model routing, and cross‑channel deployment while keeping all data on‑premises.

AIJavaMulti-agent
0 likes · 16 min read
From Spring Boot 3.5 to an AI OS: One JAR Powers Agents, Knowledge Base, and Toolchain
Java Tech Workshop
Java Tech Workshop
Apr 27, 2026 · Backend Development

How to Integrate Kafka with SpringBoot for High‑Performance Messaging

This article walks through Kafka’s core architecture, explains why it achieves massive throughput, and provides a step‑by‑step SpringBoot integration—including environment setup, Maven dependencies, configuration, producer and consumer code, advanced features like transactions and dead‑letter queues, plus performance monitoring and tuning tips.

ConsumerJavaKafka
0 likes · 11 min read
How to Integrate Kafka with SpringBoot for High‑Performance Messaging
Su San Talks Tech
Su San Talks Tech
Apr 27, 2026 · Backend Development

10 Common Pitfalls in MyBatis-Plus and How to Avoid Them

The article enumerates ten typical traps when using MyBatis-Plus—such as incorrect pagination counts, ineffective pagination plugins, logical delete mishandling, auto‑fill failures, optimistic‑lock issues, null‑value conditions, batch‑insert slowness, enum mapping errors, wrapper overwrites, and type‑handler problems—explains why they occur, and provides concrete code‑level solutions and best‑practice recommendations.

Batch InsertEnum MappingJava
0 likes · 19 min read
10 Common Pitfalls in MyBatis-Plus and How to Avoid Them
Ray's Galactic Tech
Ray's Galactic Tech
Apr 26, 2026 · Backend Development

Dissecting MCP Protocol: Scaling Java Microservices for AI‑Native Tooling

This article analyzes the Model Context Protocol (MCP), detailing its architecture, JSON‑RPC extensions, Streamable HTTP transport, and governance layers, and demonstrates how to transform high‑traffic Java microservices into a secure, observable AI‑native capability layer using an independent MCP gateway, tooling standards, and production‑grade implementations.

AI-nativeJavaMCP
0 likes · 46 min read
Dissecting MCP Protocol: Scaling Java Microservices for AI‑Native Tooling
Top Architect
Top Architect
Apr 26, 2026 · Backend Development

Why the Service Layer Should Not Return a Result Object in Java

The article explains why returning a Result wrapper from the Service layer couples business and presentation logic, reduces reusability, complicates testing and transaction handling, and suggests keeping services pure by returning domain objects and handling errors via exceptions.

ArchitectureJavaService Layer
0 likes · 12 min read
Why the Service Layer Should Not Return a Result Object in Java
Java Tech Enthusiast
Java Tech Enthusiast
Apr 26, 2026 · Industry Insights

How Sun Microsystems—once a programmer’s dream company—collapsed

Sun Microsystems, once hailed for its groundbreaking CPUs, operating systems, and programming language, rose from a Stanford‑born workstation startup to dominate 80s‑90s workstations and servers, but arrogance, market blind spots, and the rise of Linux and Intel CPUs led to its rapid decline and eventual acquisition by Oracle.

JavaSPARCSolaris
0 likes · 12 min read
How Sun Microsystems—once a programmer’s dream company—collapsed
Selected Java Interview Questions
Selected Java Interview Questions
Apr 26, 2026 · Fundamentals

Java Generics: T, E, K, V, and ?—Do You Still Mix Them Up?

This article explains why Java generics are essential, clarifies the conventional meanings of type parameters T, E, K, V, describes how to use unbounded, upper‑bounded and lower‑bounded wildcards, introduces the PECS rule, details type erasure, and lists common pitfalls with practical code examples.

JavaPECSType Erasure
0 likes · 14 min read
Java Generics: T, E, K, V, and ?—Do You Still Mix Them Up?
Java Tech Workshop
Java Tech Workshop
Apr 26, 2026 · Backend Development

Getting Started with SpringBoot Integration of RabbitMQ

This article explains why RabbitMQ is essential for distributed systems, outlines its core functions and typical scenarios, and provides step‑by‑step instructions for setting up Docker or local installations, adding Maven dependencies, configuring SpringBoot, and implementing Direct, Fanout, and Topic exchange patterns with code examples and troubleshooting tips.

Direct ExchangeJavaTopic Exchange
0 likes · 20 min read
Getting Started with SpringBoot Integration of RabbitMQ
Lisa Notes
Lisa Notes
Apr 26, 2026 · Fundamentals

Master Java Object Type Conversion: Upcasting and Downcasting Basics

This article explains Java object type conversion, covering upcasting (implicit parent‑to‑child casting) and downcasting (explicit child‑to‑parent casting), their safety rules, static method behavior, and how to use the instanceof operator to avoid runtime errors.

DowncastingInstanceofJava
0 likes · 5 min read
Master Java Object Type Conversion: Upcasting and Downcasting Basics
The Dominant Programmer
The Dominant Programmer
Apr 25, 2026 · Backend Development

Integrating LangChain4j with Spring Boot for Fast AI Conversations on Alibaba Baichuan

This guide walks through using the SpringAIAlibaba framework to integrate Alibaba Baichuan with Spring Boot via LangChain4j, explains core concepts, compares LangChain4j to Spring AI and OpenAI, and provides step‑by‑step dependency setup, environment configuration, code examples, and a simple browser test.

AI chatAgentAlibaba Baichuan
0 likes · 11 min read
Integrating LangChain4j with Spring Boot for Fast AI Conversations on Alibaba Baichuan
Ray's Galactic Tech
Ray's Galactic Tech
Apr 25, 2026 · Artificial Intelligence

Mastering Spring AI MCP: Bidirectional Communication, Four Providers, Sampling Callbacks, and Dual‑Mode Deployment

This article explains why traditional function‑calling is insufficient for production AI services and shows how Spring AI's Model Context Protocol (MCP) introduces bidirectional communication, addressable resources, parameterized prompts, tool orchestration, and server‑initiated sampling, providing a complete roadmap to build a production‑grade AI microservice architecture.

AIJavaMCP
0 likes · 37 min read
Mastering Spring AI MCP: Bidirectional Communication, Four Providers, Sampling Callbacks, and Dual‑Mode Deployment
Java Tech Workshop
Java Tech Workshop
Apr 25, 2026 · Information Security

Step‑by‑Step Guide to Integrating Spring Boot with OAuth2.0 Authorization and Resource Servers

This article walks through building a complete OAuth2.0 solution in Spring Boot, covering core concepts, a comparison of the four grant types, project initialization, detailed configuration of the authorization and resource servers, custom login pages, end‑to‑end testing, advanced optimizations, and security best‑practice recommendations.

JWTJavaOAuth2
0 likes · 24 min read
Step‑by‑Step Guide to Integrating Spring Boot with OAuth2.0 Authorization and Resource Servers
Java Architect Handbook
Java Architect Handbook
Apr 25, 2026 · Backend Development

Why MyBatis Mapper Interfaces Don't Need Implementation Classes

MyBatis generates mapper implementations at runtime using JDK dynamic proxies; the proxy intercepts interface calls, builds a statementId from the interface’s fully‑qualified name and method name, looks up the corresponding MappedStatement via the namespace‑id convention, and delegates execution to SqlSession, eliminating the need for a concrete class.

JDK Dynamic ProxyJavaMapperMethod
0 likes · 13 min read
Why MyBatis Mapper Interfaces Don't Need Implementation Classes
MeowKitty Programming
MeowKitty Programming
Apr 25, 2026 · Backend Development

When Connecting Java to AI, More Tools Aren’t Always Better: Dynamic Tool Discovery Is the New Hotspot

The article explains why loading a Java AI agent with dozens of tools hurts token efficiency and accuracy, and how Spring AI’s dynamic tool discovery—implemented via ToolSearchToolCallAdvisor—lets models fetch only the needed tools per turn, saving up to 64% of tokens and simplifying tool governance for large Java back‑ends.

AI AgentsBackend IntegrationDynamic Tool Discovery
0 likes · 7 min read
When Connecting Java to AI, More Tools Aren’t Always Better: Dynamic Tool Discovery Is the New Hotspot
Tech Freedom Circle
Tech Freedom Circle
Apr 25, 2026 · Fundamentals

Why a Simple Singleton Answer Failed an Alibaba Interview: The Real Role of volatile, Memory Barriers, and Happens‑Before

The article dissects an Alibaba interview question about the volatile modifier, showing why answering only with a lazy‑loaded singleton is insufficient, and explains how volatile prevents instruction reordering, establishes memory barriers, and creates happens‑before relationships to make double‑checked locking safe.

Happens-BeforeJavaconcurrency
0 likes · 20 min read
Why a Simple Singleton Answer Failed an Alibaba Interview: The Real Role of volatile, Memory Barriers, and Happens‑Before
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 25, 2026 · Backend Development

Seven Techniques to Retrieve Spring Boot Properties

This article demonstrates seven practical ways to access configuration properties in a Spring Boot 3.5.0 application, covering ContextRefreshedEvent listeners, ConfigurableEnvironment, the Environment interface, @Value, @ConfigurationProperties, ConfigurableBeanFactory, and the Actuator /env endpoint, each with code examples and usage notes.

ActuatorConfigurationEnvironment
0 likes · 9 min read
Seven Techniques to Retrieve Spring Boot Properties
Java Tech Workshop
Java Tech Workshop
Apr 25, 2026 · Backend Development

Secure SpringBoot: Configuring HTTPS and Enabling HTTP/2

This guide explains why plain HTTP is unsafe for enterprise projects, outlines the core principles and benefits of HTTPS and HTTP/2, compares certificate types, provides step‑by‑step commands to generate self‑signed and authority‑issued certificates, and shows how to configure SpringBoot, enable automatic HTTP‑to‑HTTPS redirects, verify HTTP/2 activation, and apply production‑grade security hardening.

HTTPSJavaSSL
0 likes · 22 min read
Secure SpringBoot: Configuring HTTPS and Enabling HTTP/2
MeowKitty Programming
MeowKitty Programming
Apr 24, 2026 · Backend Development

MCP Has Changed: Why Java Teams Should Move From SSE to Streamable HTTP for AI

The 2025 MCP specification replaces the old HTTP+SSE transport with Streamable HTTP, requiring Java services to handle both POST and GET, manage session IDs, support reconnection and authentication, and rethink gateway, load‑balancing, and client recovery strategies instead of relying on a simple SSE long‑connection model.

AI IntegrationJavaMCP
0 likes · 7 min read
MCP Has Changed: Why Java Teams Should Move From SSE to Streamable HTTP for AI