Tagged articles

Java

5000 articles · Page 3 of 50
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 1, 2026 · Backend Development

Real‑Time Communication with Spring Boot + WebSocket: Multi‑Client Sessions, Private Chat, and Broadcast

This article demonstrates how to use Spring Boot 3.5.0 with WebSocket + STOMP to build real‑time messaging, covering environment setup, WebSocket configuration, a user‑binding interceptor, and concrete code for private‑user messages, point‑to‑point chats, and global broadcasts, complete with sample results.

JavaReal‑time communicationWebSocket
0 likes · 7 min read
Real‑Time Communication with Spring Boot + WebSocket: Multi‑Client Sessions, Private Chat, and Broadcast
IT Services Circle
IT Services Circle
May 31, 2026 · Backend Development

Why Hand‑Crafted HTTP Calls to LLMs Are a Pitfall and How Spring AI Solves It

The article analyzes the hidden dangers of writing raw HTTP calls for large language models in Java projects—hard‑coded keys, fragile request bodies, missing retries, no observability—and demonstrates how Spring AI’s unified abstractions, built‑in resilience, streaming, function calling, and seamless Spring integration eliminate these issues while enabling effortless model switching and production‑grade AI services.

AI integrationFunction CallingJava
0 likes · 20 min read
Why Hand‑Crafted HTTP Calls to LLMs Are a Pitfall and How Spring AI Solves It
Su San Talks Tech
Su San Talks Tech
May 30, 2026 · Databases

Why PostgreSQL Beats MySQL for AI‑Driven Applications

The article explains why many developers stuck with MySQL should consider PostgreSQL, highlighting its superior SQL standards support, MVCC concurrency, rich indexing, JSONB performance, full‑text search, extensive extensions, and practical installation and Java integration steps, while also comparing pros, cons, and ideal use cases.

Full-Text SearchIndexingJSONB
0 likes · 24 min read
Why PostgreSQL Beats MySQL for AI‑Driven Applications
Black & White Path
Black & White Path
May 30, 2026 · Information Security

DigDeep: A Sensitive Information Mining Tool for Penetration Testing

DigDeep is a Java‑based tool that efficiently extracts nearly one hundred types of high‑, medium‑, and low‑risk sensitive data from source files across cloud, mini‑program, app, and web environments, offering recursive scanning, risk‑level filtering, deduplication, and multi‑format export to aid security audits.

DigDeepJavaSecurity Tool
0 likes · 4 min read
DigDeep: A Sensitive Information Mining Tool for Penetration Testing
Coder Trainee
Coder Trainee
May 30, 2026 · Information Security

Implementing Fine-Grained Permission Control with Spring Security and OAuth2 (Part 4)

This article walks through building a Spring Security resource server with OAuth2, enabling method‑level, object‑level and URL‑level permission checks using annotations like @PreAuthorize, @PostAuthorize, @PostFilter, and demonstrates configuration, utility helpers, controller examples, testing steps, best practices, and common pitfalls.

JWTJavaPermission control
0 likes · 17 min read
Implementing Fine-Grained Permission Control with Spring Security and OAuth2 (Part 4)
AI Agent Super App
AI Agent Super App
May 29, 2026 · Databases

Why SQLite Is the World's Most Deployed Database—and How to Use It End‑to‑End

SQLite, the server‑less, single‑file database engine, is the most widely deployed database on the planet, powering Android, iOS, browsers and countless desktop apps; this article walks through its core features, Linux installation, command‑line CRUD, language bindings for Python, C, Java and Go, plus practical backup and performance tricks.

C#CLIJava
0 likes · 21 min read
Why SQLite Is the World's Most Deployed Database—and How to Use It End‑to‑End
IoT Full-Stack Technology
IoT Full-Stack Technology
May 29, 2026 · Backend Development

How We Cut a 30‑Second API Call to Under 1 Second on 2 Million Records

In a high‑concurrency transaction system, the author diagnosed a 30‑second API latency caused by costly SQL scans and Java Map creation on over two million rows, then applied SQL aggregation, moved counting logic into PostgreSQL, and introduced a Caffeine cache, ultimately reducing the response time to under 0.8 seconds while highlighting relational‑database limits for massive data.

Caffeine cacheJavaMyBatis
0 likes · 10 min read
How We Cut a 30‑Second API Call to Under 1 Second on 2 Million Records
LuTiao Programming
LuTiao Programming
May 28, 2026 · Backend Development

How a Master‑Child AI Agent Took Over a Spring Boot Project and Transformed the Development Team

After letting a Codex‑powered master‑child AI agent manage a multi‑module Spring Boot application, the author observed the system automatically scanning modules, inferring impact of a new refund feature, delegating tasks to specialized sub‑agents, and even fixing compile and runtime errors, revealing a shift from mere code completion to genuine engineering collaboration.

AI AgentJavaMicroservices
0 likes · 8 min read
How a Master‑Child AI Agent Took Over a Spring Boot Project and Transformed the Development Team
ITPUB
ITPUB
May 28, 2026 · Backend Development

Skipping Spring Upgrades: Hidden Risks or Upgrade Hazards? Tanzu Spring’s Answer

Enterprise Java teams face mounting technical debt and accelerating security vulnerabilities from outdated Spring versions, a problem amplified by AI‑driven attacks, and Tanzu Spring offers a six‑year extended lifecycle, automated upgrade tooling, AI‑integrated governance, and 24/7 vendor support to safely modernize their applications.

AIEnterpriseJava
0 likes · 11 min read
Skipping Spring Upgrades: Hidden Risks or Upgrade Hazards? Tanzu Spring’s Answer
The Dominant Programmer
The Dominant Programmer
May 28, 2026 · Artificial Intelligence

Spring AI RAG: Concepts, Hands‑On Implementation, and Full Code

This article explains the limitations of large language models, introduces Retrieval‑Augmented Generation (RAG) and its four‑step workflow, details Spring AI's RAG components and vector‑store options, and provides complete, runnable Java code—including Maven, configuration, and service classes—to build a local knowledge‑base Q&A system.

EmbeddingJavaOllama
0 likes · 18 min read
Spring AI RAG: Concepts, Hands‑On Implementation, and Full Code
Sohu Tech Products
Sohu Tech Products
May 27, 2026 · Backend Development

IDEA + JavaAI: A Hands‑On Review of Building a Mini‑Redis Spring Boot Starter

After struggling with AI‑generated code that failed on global edge cases, the author evaluates the FeiSuan JavaAI IDEA plugin, walking through its five‑agent workflow—from requirement planning to source generation—and demonstrates how it successfully creates a production‑ready mini‑redis Spring Boot starter with thorough testing.

AI code generationAgentIDEA
0 likes · 16 min read
IDEA + JavaAI: A Hands‑On Review of Building a Mini‑Redis Spring Boot Starter
Alibaba Cloud Native
Alibaba Cloud Native
May 27, 2026 · Artificial Intelligence

Quickly Build Enterprise Self‑Evolving Agents with AgentScope Builder and Harness Framework

This article presents a deep technical walkthrough of AgentScope Builder, showing how the Harness framework enables a single Java agent implementation to run on a personal machine as MinQwenPaw and then scale to a multi‑tenant, distributed enterprise platform with workspace isolation, sandboxing, and pluggable storage backends.

AgentArtificial IntelligenceJava
0 likes · 23 min read
Quickly Build Enterprise Self‑Evolving Agents with AgentScope Builder and Harness Framework
IT Services Circle
IT Services Circle
May 27, 2026 · Backend Development

How to Speed Up IntelliJ IDEA: 10 Essential Fixes

This article lists ten common IntelliJ IDEA problems—from sluggish performance and Lombok errors to Git commit issues and MySQL connection failures—and provides concrete configuration steps, code snippets, and best‑practice recommendations to resolve each pitfall for Java developers.

Code formattingGitIDE performance
0 likes · 21 min read
How to Speed Up IntelliJ IDEA: 10 Essential Fixes
Java Architect Handbook
Java Architect Handbook
May 27, 2026 · Fundamentals

What Triggers Young GC vs. Full GC in Java? Interview Guide

The article explains that Young GC fires when the Eden space is full, while Full GC can be triggered by old‑generation shortage, metaspace exhaustion, allocation‑guarantee failure, or an explicit System.gc() call, and provides interview‑ready answers, diagnostic steps, and a comparison table.

Garbage CollectionJVMJava
0 likes · 14 min read
What Triggers Young GC vs. Full GC in Java? Interview Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 27, 2026 · Backend Development

Why the Powerful Java WatchService API Is Still Overlooked

This article explains how to use Java's built‑in WatchService API to monitor file‑system changes in real time, covering service creation, directory registration, event handling, key lifecycle, polling methods, a complete runnable example, and an advanced version that leverages virtual threads for efficient concurrency.

File MonitoringJavaNIO
0 likes · 8 min read
Why the Powerful Java WatchService API Is Still Overlooked
Architect's Guide
Architect's Guide
May 27, 2026 · Backend Development

Comprehensive Collection of Java Backend Architecture Diagrams

This article compiles over thirty detailed architecture diagrams covering Java class loaders, JVM, Spring, Hibernate, Android, Linux kernel, cloud computing, and various enterprise technologies, offering developers a visual reference library for understanding and designing Java backend systems.

Enterprise ArchitectureHibernateJVM
0 likes · 5 min read
Comprehensive Collection of Java Backend Architecture Diagrams
Su San Talks Tech
Su San Talks Tech
May 27, 2026 · Artificial Intelligence

Why Switch from Hand‑Written HTTP Calls to Spring AI for Large‑Model Integration?

The article analyzes the drawbacks of manually coding HTTP calls to large language models—hard‑coded keys, fragile request construction, missing retries, and poor observability—and demonstrates how Spring AI’s layered abstraction, unified configuration, built‑in resilience, function calling, RAG support, and seamless Spring ecosystem integration solve these problems for production‑grade Java applications.

Function CallingJavaLLM
0 likes · 24 min read
Why Switch from Hand‑Written HTTP Calls to Spring AI for Large‑Model Integration?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 27, 2026 · Backend Development

Master Modern Spring Boot Logging: 8 Essential Scenarios Covered

This guide walks through configuring comprehensive logging in Spring Boot 3.5 for eight common scenarios—including JPA SQL, transaction flow, JDBC operations, RestTemplate, RestClient, WebClient, controller requests, and Feign calls—providing concrete code samples, YAML settings, and sample output to help developers troubleshoot and monitor applications effectively.

FeignJavaLogging
0 likes · 12 min read
Master Modern Spring Boot Logging: 8 Essential Scenarios Covered
LuTiao Programming
LuTiao Programming
May 26, 2026 · Industry Insights

When AI Agents Stop Chatting and Start Running Your Workflows

A brief experiment shows that an AI agent can execute an entire refund workflow—from querying the order to notifying finance—without any user clicks, illustrating a shift from traditional UI‑driven software to AI‑driven workflow automation that could reshape enterprise systems.

AI agentsAI industryJava
0 likes · 7 min read
When AI Agents Stop Chatting and Start Running Your Workflows
Architect's Ambition
Architect's Ambition
May 26, 2026 · Artificial Intelligence

Choosing CLI vs MCP for Enterprise AI Agents: A Hybrid Approach Balancing Cost and Effectiveness

The article compares CLI and MCP as integration methods for enterprise AI agents, presents benchmark data showing CLI's lower cost and higher reliability, explains why MCP is needed for compliance and structured data, and recommends a "CLI‑first, MCP‑supplement" architecture with reusable Python or Java implementations across multiple AI tools.

AI AgentCLIEnterprise Integration
0 likes · 24 min read
Choosing CLI vs MCP for Enterprise AI Agents: A Hybrid Approach Balancing Cost and Effectiveness
CodeNotes
CodeNotes
May 26, 2026 · Fundamentals

Mastering Java Lambda Expressions: From Anonymous Classes to Method References

This guide walks through the evolution from traditional classes to anonymous inner classes and finally to Java 8 lambda expressions, explains lambda syntax, demonstrates all four method‑reference forms, covers variable capture rules, this binding, practical stream chaining, and highlights common pitfalls for Java developers.

Functional ProgrammingJavaLambda
0 likes · 9 min read
Mastering Java Lambda Expressions: From Anonymous Classes to Method References
Su San Talks Tech
Su San Talks Tech
May 26, 2026 · Backend Development

Mybatis-Plus vs Mybatis-Flex: Which ORM Framework Is Best for Your Project?

This article provides a detailed comparison between Mybatis-Plus and Mybatis-Flex, examining their design philosophies, core mechanisms, feature sets, performance benchmarks, database support, dependency weight, and community maturity, and offers practical guidance on choosing the right framework for different project scenarios.

JavaMyBatis-FlexORM
0 likes · 19 min read
Mybatis-Plus vs Mybatis-Flex: Which ORM Framework Is Best for Your Project?
IoT Full-Stack Technology
IoT Full-Stack Technology
May 26, 2026 · Backend Development

Build a Real‑Time Message Push Service with Spring Boot, Netty and WebSocket

This article walks through creating a Netty‑based WebSocket server integrated with Spring Boot, covering server bootstrap, global channel management, pipeline configuration, a custom handler for client messages, and a push‑message service that can target individual users or broadcast to all connections, complete with code samples and testing steps.

JavaMessage PushNetty
0 likes · 6 min read
Build a Real‑Time Message Push Service with Spring Boot, Netty and WebSocket
java1234
java1234
May 26, 2026 · Artificial Intelligence

Master Spring AI Alibaba: Build AI Agents, Workflows, and Multi‑Agent Apps with Minimal Java Code

Spring AI Alibaba extends Spring AI with a native agent and workflow framework, integrating Alibaba's DashScope models, ReactAgent, multi‑agent orchestration, Graph workflows, tool calling, memory handling, and production‑grade features, enabling Java developers to create sophisticated AI applications with just a few lines of code.

AI integrationAgent frameworkDashScope
0 likes · 22 min read
Master Spring AI Alibaba: Build AI Agents, Workflows, and Multi‑Agent Apps with Minimal Java Code
Java Web Project
Java Web Project
May 26, 2026 · Artificial Intelligence

Master Spring AI Alibaba: Token Basics, RAG, and Multi‑Agent Implementation

This article walks through the core concepts of Spring AI Alibaba—including token mechanics, prompt structures, embedding, structured output, chat memory, RAG pipelines, function calling, and graph‑based multi‑agent workflows—while providing concrete code samples, configuration tips, performance tricks, and a curated list of common pitfalls.

Alibaba CloudFunction CallingGraph Agents
0 likes · 24 min read
Master Spring AI Alibaba: Token Basics, RAG, and Multi‑Agent Implementation
The Dominant Programmer
The Dominant Programmer
May 26, 2026 · Artificial Intelligence

Spring AI ChatMemory: Concepts, Practical Setup, and Common Issues

This guide explains how Spring AI abstracts LLM conversation memory using a three‑layer architecture, demonstrates configuring MessageWindowChatMemory with a sliding‑window strategy, shows two ways to register the memory advisor, and provides complete Maven, YAML, and Java code examples with test screenshots.

ChatMemoryConversation MemoryJava
0 likes · 9 min read
Spring AI ChatMemory: Concepts, Practical Setup, and Common Issues
Java Architect Essentials
Java Architect Essentials
May 25, 2026 · Backend Development

AOP Aspect Order Mistakes? Stop Misusing @Order – A Rule That Cuts Interview Errors to Zero

A real‑world incident where mis‑ordered Spring AOP aspects caused payment callbacks to report success while the transaction rolled back leads to a concise rule—smaller @Order values have higher priority—plus pitfalls, three common scenarios, and a four‑step debugging guide that eliminates interview mistakes.

@OrderAspectJJava
0 likes · 8 min read
AOP Aspect Order Mistakes? Stop Misusing @Order – A Rule That Cuts Interview Errors to Zero
CodeNotes
CodeNotes
May 25, 2026 · Fundamentals

Master Java Enums: Safer, More Readable Alternative to Magic Numbers

Java enums replace magic numbers with meaningful, type‑safe constants, improving readability and safety; the guide covers basic definitions, core methods, typical usages like switch statements and iteration, advanced features with fields and constructors, a comparison with static‑final constant classes, and common pitfalls to avoid.

Best PracticesEnumJava
0 likes · 6 min read
Master Java Enums: Safer, More Readable Alternative to Magic Numbers
IT Services Circle
IT Services Circle
May 25, 2026 · Backend Development

Druid vs HikariCP: Which Connection Pool Wins?

This article compares Druid and HikariCP, the two most popular Java database connection pools, by explaining how connection pools work, presenting benchmark results, dissecting HikariCP's lock‑free design and bytecode optimizations, detailing Druid's rich monitoring and security features, and offering a practical decision framework for different scenarios.

Connection PoolDruidHikariCP
0 likes · 19 min read
Druid vs HikariCP: Which Connection Pool Wins?
IoT Full-Stack Technology
IoT Full-Stack Technology
May 25, 2026 · Backend Development

Practical Spring Boot + Netty + WebSocket Message Push

This article walks through building a simple Netty server integrated with Spring Boot and WebSocket, showing how to configure the server, manage channel groups, implement custom handlers, and expose a service that can push messages to individual users or broadcast to all connected clients.

JavaMessage PushNetty
0 likes · 8 min read
Practical Spring Boot + Netty + WebSocket Message Push
Java Tech Workshop
Java Tech Workshop
May 25, 2026 · Backend Development

Ensuring SpringBoot Message Idempotency to Prevent Duplicate Consumption

The article analyzes why duplicate consumption is inevitable in MQ systems, defines message idempotency, and presents four practical solutions—including Redis SETNX, database unique indexes, state‑machine with optimistic locking, and global unique constraints—along with their pros, cons, and best‑practice guidelines for SpringBoot applications.

JavaMQMessage Idempotency
0 likes · 13 min read
Ensuring SpringBoot Message Idempotency to Prevent Duplicate Consumption
Linyb Geek Road
Linyb Geek Road
May 25, 2026 · Artificial Intelligence

Designing a Claude Code Harness for Production‑Grade Java Microservices

The article presents a detailed, production‑focused harness for Claude Code that structures prompts, rules, skills, and external hooks to compensate for LLM shortcomings in Java microservice development, preventing hallucinations, concurrency bugs, and false completions while ensuring reliable code delivery.

JavaLLMMicroservices
0 likes · 20 min read
Designing a Claude Code Harness for Production‑Grade Java Microservices
CodeNotes
CodeNotes
May 24, 2026 · Fundamentals

Master Java Basics: Essential Object, String, and Collection Methods Explained

This guide walks Java beginners through the fundamental classes Object, String, and Collection, detailing their most frequently used methods, key differences such as == versus equals, and practical code examples for overriding methods, string concatenation optimization, and common collection operations.

BeginnerCollectionCore API
0 likes · 9 min read
Master Java Basics: Essential Object, String, and Collection Methods Explained
Su San Talks Tech
Su San Talks Tech
May 24, 2026 · Backend Development

How to Speed Up IntelliJ IDEA: 10 Essential Fixes for Java Developers

This article lists ten common IntelliJ IDEA pitfalls—such as high memory usage, indexing delays, Lombok errors, broken breakpoints, console encoding issues, unwanted Git commits, slow Maven downloads, classpath mismatches, shortcut conflicts, and automatic code reformatting—and provides step‑by‑step solutions to make the IDE run smoothly for Java and Spring projects.

GitIDE optimizationIntelliJ IDEA
0 likes · 23 min read
How to Speed Up IntelliJ IDEA: 10 Essential Fixes for Java Developers
LuTiao Programming
LuTiao Programming
May 24, 2026 · Backend Development

How Spring Boot and MCP Enable Java to Lead the AI Agent Ecosystem

This article explains the Model Context Protocol (MCP), compares it with traditional function calling, and walks through building a Spring Boot MCP server that lets Claude Desktop automatically invoke Java tools, covering architecture, code examples, security extensions, and future enterprise AI integrations.

AI AgentClaude DesktopJava
0 likes · 11 min read
How Spring Boot and MCP Enable Java to Lead the AI Agent Ecosystem
Java Tech Workshop
Java Tech Workshop
May 24, 2026 · Fundamentals

Why Does Java Initialize Static Members Before Instance Members? A Deep Dive into Object Initialization

The article explains Java's two‑phase object initialization, the seven‑step JVM process, static versus instance execution order, parent‑child class initialization rules, variable assignment lifecycle, and common pitfalls such as static forward references and constructor‑called overridden methods, all illustrated with concrete code examples.

JVMJavaconstructor
0 likes · 10 min read
Why Does Java Initialize Static Members Before Instance Members? A Deep Dive into Object Initialization
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 24, 2026 · Backend Development

Stop Returning null! 4 Advanced Optional Patterns

The article explains why returning null from Java service methods is risky, demonstrates how to replace null with Optional as a return type, and presents four advanced Optional usage patterns—including chaining, flatMap, and proper scope—to write safer, more readable Spring Boot code.

Best PracticesFunctional ProgrammingJava
0 likes · 12 min read
Stop Returning null! 4 Advanced Optional Patterns
The Dominant Programmer
The Dominant Programmer
May 24, 2026 · Artificial Intelligence

Integrating Spring AI with Ollama for Tool Calling: A Complete Beginner‑to‑Practice Guide

This article walks through setting up Spring AI with Ollama, explains the tool‑calling workflow, shows two ways to define tools, provides full Maven and YAML configurations, presents runnable Java code for services, chat client, and controller, and addresses common compatibility and dependency issues.

AI integrationJavaOllama
0 likes · 12 min read
Integrating Spring AI with Ollama for Tool Calling: A Complete Beginner‑to‑Practice Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 23, 2026 · Artificial Intelligence

Auto‑Splitting AI Agent Tasks and Real‑Time Monitoring with Spring AI + TodoWrite

This article explains how the TodoWriteTool, a Spring AI extension, solves large‑language‑model “mid‑session forgetting” by automatically splitting complex agent tasks into explicit, sequential subtasks and providing real‑time progress monitoring, with a complete Spring Boot 3.5.0 setup, code examples, and a runnable demonstration.

AgentJavaSpring AI
0 likes · 7 min read
Auto‑Splitting AI Agent Tasks and Real‑Time Monitoring with Spring AI + TodoWrite
Linyb Geek Road
Linyb Geek Road
May 23, 2026 · Backend Development

8 Essential Claude Code Skills to Supercharge Your Spring Boot Projects

This article explains what Claude Code Skills are, lists the eight most valuable Spring Boot Skills, shows how to configure each Skill with concrete examples and YAML rules, and provides step‑by‑step instructions for integrating them into a Java 21 / Spring Boot 3.x project.

AI code generationClaude CodeJava
0 likes · 15 min read
8 Essential Claude Code Skills to Supercharge Your Spring Boot Projects
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 22, 2026 · Fundamentals

Upgrade from Java 8: 8 Powerful Features in Java 21 You Should Know

The article examines why many projects still cling to Java 8 and demonstrates eight transformative Java 21 features—including records, sealed classes, pattern‑matching for instanceof, switch expressions, text blocks, virtual threads, structured concurrency, and enhanced APIs—showing code examples and the benefits they bring to performance, readability, and maintainability.

JavaJava 21Records
0 likes · 11 min read
Upgrade from Java 8: 8 Powerful Features in Java 21 You Should Know
Java Tech Workshop
Java Tech Workshop
May 22, 2026 · Fundamentals

Proper Use of Java's Scanner Class for Console Input

This article explains the Scanner class in java.util, outlines a four‑step usage pattern, details its API for reading and validation, addresses the common nextInt/nextLine line‑skip issue with two reliable solutions, and provides best‑practice guidelines and example code to avoid resource leaks and input errors.

Best PracticesConsole InputIO
0 likes · 10 min read
Proper Use of Java's Scanner Class for Console Input
Java Architecture Diary
Java Architecture Diary
May 22, 2026 · Artificial Intelligence

What the Javadocs MCP Server Solves for Java AI Development

AI code assistants often misinterpret Java library placeholders because they rely on web searches or bytecode decompilation, which miss Javadoc details; the Javadocs MCP server indexes Maven Central Javadocs, letting AI retrieve accurate method signatures and placeholder rules, and can be added to Claude Code with a simple configuration.

AIClaudeHutool
0 likes · 7 min read
What the Javadocs MCP Server Solves for Java AI Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 22, 2026 · Backend Development

Why Hand‑Write WebSocket? Use Spring Boot + Netty‑SocketIO for Simpler Real‑Time Communication

This article walks through building a real‑time bidirectional communication system with Spring Boot 3.5.0 and the Netty‑SocketIO library, covering its core features, Maven setup, server implementation via CommandLineRunner, client HTML/JavaScript code, room support, and testing screenshots.

JavaReal‑time communicationSocket.IO
0 likes · 9 min read
Why Hand‑Write WebSocket? Use Spring Boot + Netty‑SocketIO for Simpler Real‑Time Communication
Java Tech Workshop
Java Tech Workshop
May 21, 2026 · Fundamentals

Understanding Java's Module System: A Deep Dive into module-info.java

This article explains why Java modularization was introduced, outlines the problems with the pre‑Java 9 classpath, introduces the Java Platform Module System (JPMS) and its core file module-info.java, and provides detailed guidance on concepts, syntax, best practices, real‑world examples, IDE setup, and common pitfalls.

Javajava-9jpms
0 likes · 43 min read
Understanding Java's Module System: A Deep Dive into module-info.java
java1234
java1234
May 21, 2026 · Backend Development

Three Months as an AI Code Babysitter: My Exhausting Journey and Hard Lessons

A veteran Java developer took a 5‑wan‑yuan retail project, relied on an end‑to‑end AI code generator for a month, then faced chaotic project structures, security flaws, and massive refactoring before discovering FeiSuan JavaAI's multi‑agent workflow that finally turned the disaster into a deliverable.

AIBackend DevelopmentJava
0 likes · 21 min read
Three Months as an AI Code Babysitter: My Exhausting Journey and Hard Lessons
Java Tech Workshop
Java Tech Workshop
May 21, 2026 · Backend Development

The Pros and Cons of Java’s var Local Variable Type Inference

This article examines Java's var local‑variable type inference introduced in Java 10, detailing its benefits such as reduced boilerplate, improved readability, and easier refactoring, while also highlighting drawbacks like potential readability loss, ambiguous types, and strict usage constraints that can lead to bugs if misused.

Best PracticesJavaJava 10
0 likes · 26 min read
The Pros and Cons of Java’s var Local Variable Type Inference
Su San Talks Tech
Su San Talks Tech
May 21, 2026 · Backend Development

Druid vs HikariCP: Which Java Connection Pool Wins?

The article compares Alibaba’s Druid and Spring Boot’s default HikariCP connection pools, explaining how connection pooling works, presenting benchmark results that show HikariCP’s lower latency and higher TPS, detailing HikariCP’s lock‑free ConcurrentBag and bytecode optimizations, and highlighting Druid’s rich monitoring, SQL firewall and leak detection features to help developers choose the right pool for different scenarios.

Connection PoolDruidHikariCP
0 likes · 18 min read
Druid vs HikariCP: Which Java Connection Pool Wins?
Senior Xiao Ying
Senior Xiao Ying
May 20, 2026 · Backend Development

Tired of N+1 Queries? Boost Your Spring Boot GraphQL Performance 40× with DataLoader

This article explains the N+1 query problem in a Spring Boot GraphQL service, demonstrates how DataLoader batches and caches requests to reduce database round‑trips, and provides step‑by‑step integration code, including dependency setup, schema definition, entity mapping, batch loader registration, and best‑practice recommendations.

Batch loadingDataLoaderGraphQL
0 likes · 8 min read
Tired of N+1 Queries? Boost Your Spring Boot GraphQL Performance 40× with DataLoader
Java Tech Workshop
Java Tech Workshop
May 20, 2026 · Backend Development

How Switch Expressions Evolved from Java 12 to Java 17

This article traces the evolution of Java's switch statement from a cumbersome statement to a modern expression, detailing the six shortcomings of the traditional switch, the introduction of arrow syntax and preview mode in Java 12, the yield keyword in Java 13, the standardization in Java 14, and the powerful pattern‑matching and null‑handling features added in Java 17, while providing concrete code examples and practical guidance.

Code examplesJavaPattern Matching
0 likes · 19 min read
How Switch Expressions Evolved from Java 12 to Java 17
Architecture & Thinking
Architecture & Thinking
May 20, 2026 · Operations

Six‑Step Emergency Plan to Detect, Recover, and Eliminate Message Backlog

In distributed systems, message‑queue backlogs can cripple core services; this article breaks down a six‑step emergency workflow—from alert detection and throttling to temporary scaling, root‑cause analysis, targeted fixes, and final validation—plus long‑term architectural and monitoring strategies, illustrated with real‑world cases and Java code samples.

BacklogJavaMessage Queue
0 likes · 21 min read
Six‑Step Emergency Plan to Detect, Recover, and Eliminate Message Backlog
Coder Trainee
Coder Trainee
May 20, 2026 · Backend Development

Mastering Distributed Transactions in Spring Cloud with Seata (Part 8)

This tutorial walks through why distributed transactions are needed in a Spring Cloud order‑stock‑point scenario, compares local and distributed transaction models, introduces Seata’s architecture and three transaction modes, shows environment setup, code implementation, testing steps, and common pitfalls with solutions.

AT ModeDockerJava
0 likes · 11 min read
Mastering Distributed Transactions in Spring Cloud with Seata (Part 8)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 20, 2026 · Backend Development

10 Essential Spring Boot Utility Classes to Cut Your Code in Half

This article showcases ten built‑in Spring Boot utilities—including version retrieval, system property access, temporary and home directory handling, method introspection, generic type resolution, process ID extraction, property binding, and package path registration—each illustrated with concise code examples that dramatically reduce the need for custom helper classes.

Code SimplificationGenericTypeResolverJava
0 likes · 11 min read
10 Essential Spring Boot Utility Classes to Cut Your Code in Half
Java Backend Technology
Java Backend Technology
May 19, 2026 · Artificial Intelligence

Top 5 Java AI Frameworks You Should Know

This article reviews the five major Java AI frameworks—Spring AI, LangChain4j, Spring AI Alibaba, AgentScope‑Java, and Semantic Kernel—detailing their architectures, core features, pros and cons, and provides guidance on selecting the right one for different enterprise scenarios.

AIAgentScopeJava
0 likes · 22 min read
Top 5 Java AI Frameworks You Should Know
java1234
java1234
May 19, 2026 · Backend Development

Why JDK 26’s New Features Are a Game‑Changer for Your Projects

JDK 26 introduces a suite of impactful JEPs—including primitive type pattern matching, G1 GC throughput gains, AOT object caching for faster startup, built‑in PEM encoding, stricter final‑field handling, HTTP/3 support, LazyConstant, structured concurrency, and a mature Vector API—each backed by code examples and performance data to help developers modernize their Java applications.

G1 GCJDK 26Java
0 likes · 29 min read
Why JDK 26’s New Features Are a Game‑Changer for Your Projects
LuTiao Programming
LuTiao Programming
May 19, 2026 · Fundamentals

Don’t Limit Java Enums to SUCCESS/FAIL – 5 Advanced Enum Techniques Already Used by Top Frameworks

The article reveals five sophisticated ways to leverage Java enums—state‑machine implementation, built‑in strategy pattern, enum‑lambda combos, responsibility‑chain routing, and enum‑Map DSL—showing how major frameworks like Tomcat, Spring Boot and RocketMQ employ them to write cleaner, type‑safe, and easily extensible code.

EnumJavaLambda
0 likes · 11 min read
Don’t Limit Java Enums to SUCCESS/FAIL – 5 Advanced Enum Techniques Already Used by Top Frameworks
Java Tech Workshop
Java Tech Workshop
May 18, 2026 · Fundamentals

Understanding Compile-Time and Run-Time Constants in Java

This article explains the fundamental differences between compile-time and run-time constants in Java, covering their definitions, required modifiers, allowed data types, initialization rules, JVM storage behavior, class‑initialization effects, constant‑folding optimizations, practical code examples, common pitfalls, and guidelines for choosing the appropriate constant type in production code.

Best PracticesJVMJava
0 likes · 21 min read
Understanding Compile-Time and Run-Time Constants in Java
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.

Error handlingJavaTypeScript
0 likes · 10 min read
How Go Cured My 10‑Year Over‑Engineering Habit from Java and TypeScript
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
Java Tech Workshop
Java Tech Workshop
May 15, 2026 · Fundamentals

Why Java's strictfp Keyword Guarantees Consistent Floating‑Point Results Across Platforms

Floating‑point calculations can yield different results on Windows, macOS and Linux due to JVM optimisations; the strictfp keyword forces Java to follow the IEEE‑754 standard exactly, disabling hardware‑level precision tricks so that the same code produces identical results on any OS, CPU or JVM implementation.

Cross-PlatformIEEE 754Java
0 likes · 18 min read
Why Java's strictfp Keyword Guarantees Consistent Floating‑Point Results Across Platforms
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.

JavaOrder TimeoutRedis
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.

AIJavaTesting
0 likes · 8 min read
Why AI Prompt Tricks Matter Less Than a Structured Java Development Workflow
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.

@TransactionalDeadlockJava
0 likes · 9 min read
Reproducing Three Classic Spring Boot Concurrency Deadlocks in Just 10 Lines
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.

Distributed IDJavaMySQL
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 loadingCachingDataLoader
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
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.

Best PracticesJavaPerformance
0 likes · 14 min read
9 Essential Java Code Optimizations to Eliminate Bad Practices
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