Tagged articles
5000 articles
Page 8 of 50
Java Architect Handbook
Java Architect Handbook
Dec 4, 2025 · Information Security

Using nmap4j in Java to Scan Ports and Identify Services

This guide explains how to integrate the nmap4j library into Java projects to perform Nmap‑based port scanning, service detection, and OS identification, covering prerequisite setup, key command‑line flags, Windows and Linux implementations, and parsing XML results with Dom4j.

javanetwork securitynmap4j
0 likes · 14 min read
Using nmap4j in Java to Scan Ports and Identify Services
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 4, 2025 · Backend Development

Unlock Java Code Analysis with Spoon: Real‑World Spring Boot 3 Cases

This article introduces the open‑source Spoon library for Java source‑code analysis and transformation, demonstrates how to integrate it with Spring Boot 3, and provides step‑by‑step examples—including visual AST inspection, empty‑catch detection, architecture rule validation, field usage checks, reflection replacement, and automatic code modifications such as adding fields, constructors, logging, and null‑checks.

ASTSpoonbackend-development
0 likes · 16 min read
Unlock Java Code Analysis with Spoon: Real‑World Spring Boot 3 Cases
Java Architect Handbook
Java Architect Handbook
Dec 3, 2025 · Backend Development

Deploy OnlyOffice and Integrate It with Spring Boot & Vue for Word Editing

This guide walks through deploying OnlyOffice (Docker or Ubuntu), configuring the server, adding a Vue front‑end with the OnlyOffice API, building a Spring Boot controller to serve and save documents, handling callbacks, and troubleshooting common issues such as service status, token settings, and proxy configuration.

BackendDocumentEditingOnlyOffice
0 likes · 34 min read
Deploy OnlyOffice and Integrate It with Spring Boot & Vue for Word Editing
Architect's Tech Stack
Architect's Tech Stack
Dec 3, 2025 · Operations

How to Build a Simple Jenkins CI/CD Pipeline with Maven and Git

This guide walks through setting up a three‑server environment (GitLab, Jenkins, test server), creating a GitLab project, configuring a Java Spring Boot application in IntelliJ, and using Jenkins with Maven, SSH Publisher, and custom pre/post steps to automatically build, package, and deploy a JAR file.

GitJenkinsShell
0 likes · 12 min read
How to Build a Simple Jenkins CI/CD Pipeline with Maven and Git
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 3, 2025 · Backend Development

Mastering Spring Boot 3 TransactionExecutionListener with Real‑World Code

This article introduces Spring Boot 3's TransactionExecutionListener, explains its purpose compared to traditional transaction hooks, provides a complete code example—including entity, service, custom listener, and test cases—and demonstrates how to observe transaction phases and handle both successful commits and rollbacks.

BackendSpring BootTransactionExecutionListener
0 likes · 10 min read
Mastering Spring Boot 3 TransactionExecutionListener with Real‑World Code
Java Tech Enthusiast
Java Tech Enthusiast
Dec 2, 2025 · Backend Development

Auto‑Encrypt Sensitive Fields in Spring Boot with MyBatis Annotations

This article explains how to eliminate repetitive manual encryption code in Java applications by using a custom @Encrypted annotation together with a MyBatis interceptor, enabling transparent AES‑GCM encryption and decryption of sensitive fields such as phone numbers, emails, and ID numbers.

Field EncryptionMyBatisSpring Boot
0 likes · 11 min read
Auto‑Encrypt Sensitive Fields in Spring Boot with MyBatis Annotations
Java Architect Handbook
Java Architect Handbook
Dec 2, 2025 · Operations

One‑Click Remote Deployment of Spring Boot with IDEA and Docker

This guide walks you through setting up IntelliJ IDEA and Docker to replace manual jar uploads with a single‑click remote deployment for Spring Boot applications, covering prerequisites, SSH configuration, Docker daemon basics, Dockerfile creation, and the final one‑step deployment process.

DevOpsDockerDockerfile
0 likes · 8 min read
One‑Click Remote Deployment of Spring Boot with IDEA and Docker
JavaGuide
JavaGuide
Dec 2, 2025 · Interview Experience

Tuhu Auto’s 2023 Java Backend Salary & Interview Guide: 30k‑33k Packages and Key Technical Topics

The article details Tuhu Auto’s Shanghai Java backend compensation (30k‑33k monthly with 14.4‑month salary and 2‑3w signing bonus), outlines the company’s market position, and provides a comprehensive list of technical and HR interview questions covering JVM, concurrency, MySQL, Spring, DDD, distributed locking, rate limiting, and more.

BackendJVMconcurrency
0 likes · 7 min read
Tuhu Auto’s 2023 Java Backend Salary & Interview Guide: 30k‑33k Packages and Key Technical Topics
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 1, 2025 · Operations

How to Uncover Hidden Java Memory Leaks in Kubernetes Pods with Alibaba Cloud OS Console

When migrating automotive workloads to cloud-native containers, unexpected OOMKilled pods often hide a large amount of Java memory consumption caused by JNI, libc, and Transparent Huge Pages, which can be identified and resolved using the Alibaba Cloud OS Console's memory panorama analysis and hotspot tracing features.

Alibaba CloudJNIKubernetes
0 likes · 11 min read
How to Uncover Hidden Java Memory Leaks in Kubernetes Pods with Alibaba Cloud OS Console
macrozheng
macrozheng
Dec 1, 2025 · Operations

How to Install and Use Meteor-Console: A Non‑Intrusive Java Diagnostic Tool

This guide introduces Meteor-Console, a customized, non‑intrusive Java diagnostic tool built on Arthas, explains its architecture, provides step‑by‑step installation commands, lists key features such as JVM class query and method monitoring, and shares the open‑source repository link.

ArthasInstallationdiagnostics
0 likes · 3 min read
How to Install and Use Meteor-Console: A Non‑Intrusive Java Diagnostic Tool
Su San Talks Tech
Su San Talks Tech
Nov 30, 2025 · Backend Development

Does try…catch Really Slow Down Java? Deep Dive and Benchmarks

This article examines whether Java's try…catch blocks affect performance by exploring their historical origins, JVM exception mechanisms, detailed micro‑benchmarks, and modern JVM optimizations, ultimately revealing that only exception creation and throwing incur noticeable costs while normal execution remains virtually unaffected.

Exception HandlingJVMbenchmark
0 likes · 19 min read
Does try…catch Really Slow Down Java? Deep Dive and Benchmarks
macrozheng
macrozheng
Nov 28, 2025 · Operations

Simplify Java Build and Deployment with Jpom – A Lightweight Jenkins Alternative

This article introduces Jpom, a lightweight Java‑based tool that streamlines project building, automated deployment, server management, and monitoring, offering an easier alternative to Jenkins for individuals and small teams, with detailed feature lists, architecture overview, and step‑by‑step installation instructions.

Build AutomationDevOpsJpom
0 likes · 7 min read
Simplify Java Build and Deployment with Jpom – A Lightweight Jenkins Alternative
ITPUB
ITPUB
Nov 27, 2025 · Backend Development

Can Renaming Java Fields Really Boost Performance by 37%? A Deep Dive

A popular claim that changing a Java field name from "userName" to "usrNme" can cut API latency by dozens of milliseconds is examined, revealing why hashCode calculations, reflection, and caching have negligible impact compared to real bottlenecks like I/O, GC, and thread scheduling.

ReflectionSpringBoothashcode
0 likes · 5 min read
Can Renaming Java Fields Really Boost Performance by 37%? A Deep Dive
Top Architect
Top Architect
Nov 27, 2025 · Backend Development

Master Spring Boot Config Management with Enums and @ConfigurationProperties

This guide shows how to improve Spring Boot configuration management by using Java enums together with @ConfigurationProperties, providing clear, type‑safe settings, reducing magic numbers, and demonstrating a complete example with Maven dependencies, YAML files, a configuration class, controller, and Thymeleaf view.

BackendConfiguration ManagementConfigurationProperties
0 likes · 13 min read
Master Spring Boot Config Management with Enums and @ConfigurationProperties
Su San Talks Tech
Su San Talks Tech
Nov 27, 2025 · Backend Development

DynamicTp: Real‑Time, Zero‑Intrusion ThreadPoolExecutor Tuning for Java Services

DynamicTp is an open‑source SpringBoot starter that lets developers monitor, alert on, and adjust ThreadPoolExecutor parameters at runtime via popular configuration centers, offering zero‑intrusion integration, extensible metrics, multi‑channel notifications, and support for a wide range of middleware thread pools.

Dynamic ConfigurationSpringBootThreadPool
0 likes · 11 min read
DynamicTp: Real‑Time, Zero‑Intrusion ThreadPoolExecutor Tuning for Java Services
JavaGuide
JavaGuide
Nov 27, 2025 · Backend Development

Xiaomi Java Interview Insights: Reflection, Dynamic Proxies, Redis & JWT

The article starts by highlighting Xiaomi's competitive software developer salaries, then provides a detailed Java interview guide covering reflection fundamentals, static vs dynamic proxies, SPI vs API, synchronization behavior, Redis caching strategies, and JWT authentication, complete with code examples and practical comparisons.

Dynamic ProxyJWTReflection
0 likes · 25 min read
Xiaomi Java Interview Insights: Reflection, Dynamic Proxies, Redis & JWT
Top Architect
Top Architect
Nov 26, 2025 · Backend Development

Spring Boot 4.0 Release: Major Upgrades, Build‑Time Optimizations, and AI Roadmap

Spring Boot 4.0 launches alongside Spring Framework 7, Spring Data 2025.1 and Spring AI 1.1, delivering a sweeping upgrade that moves the stack to Jakarta EE 11, JDK 25, JSpecify null‑safety, build‑time optimizations, native OpenTelemetry support, and a dual‑track AI strategy.

OpenTelemetrySpring Frameworkbuild-time-optimization
0 likes · 10 min read
Spring Boot 4.0 Release: Major Upgrades, Build‑Time Optimizations, and AI Roadmap
Liangxu Linux
Liangxu Linux
Nov 25, 2025 · Databases

Why a Single MySQL Connection Can Take 200 ms – A Wireshark Deep Dive

This article measures the exact time cost of establishing a MySQL connection from Java, breaks down the TCP handshake, authentication, and protocol steps with Wireshark captures, and shows why connection pooling is essential for high‑traffic web applications.

Connection PoolingDatabase ConnectionWireshark
0 likes · 8 min read
Why a Single MySQL Connection Can Take 200 ms – A Wireshark Deep Dive
DevOps Coach
DevOps Coach
Nov 25, 2025 · Backend Development

How to Build, Test, and Publish Your Own Jenkins Plugin from Scratch

This step‑by‑step guide explains why you might need a custom Jenkins plugin, walks you through setting up Java 21 and Maven, generating a plugin project with the Jenkins archetype, building and locally testing it, and finally publishing it to the Jenkins Marketplace with best‑practice tips for security, CI, versioning, and community engagement.

DevOpsJenkinsPlugin Development
0 likes · 19 min read
How to Build, Test, and Publish Your Own Jenkins Plugin from Scratch
Architecture Digest
Architecture Digest
Nov 24, 2025 · Operations

Boost Java Service Performance with MyPerf4J: A High‑Speed, Low‑Impact Monitoring Tool

MyPerf4J is an open‑source, high‑performance Java monitoring and statistics tool that uses a JavaAgent for zero‑intrusion, records up to ten million method calls per second with nanosecond precision, and provides real‑time metrics such as QPS, latency percentiles, memory and GC stats, making it ideal for both development and production environments.

JavaAgentMetricsPerformance Monitoring
0 likes · 6 min read
Boost Java Service Performance with MyPerf4J: A High‑Speed, Low‑Impact Monitoring Tool
Senior Tony
Senior Tony
Nov 24, 2025 · Backend Development

9 Powerful Ways to Control Thread Execution Order in Java

This article presents nine practical techniques—including Thread.join, CompletableFuture, CountDownLatch, CyclicBarrier, Semaphore, single‑thread executor, ReentrantLock with Condition, Phaser, and BlockingQueue—to reliably enforce a specific execution sequence among Java threads, a frequent interview challenge.

BackendThread Orderingconcurrency
0 likes · 5 min read
9 Powerful Ways to Control Thread Execution Order in Java
IT Services Circle
IT Services Circle
Nov 24, 2025 · Backend Development

Do Short, Random Field Names Really Speed Up Java? A Deep Dive

A skeptical look at the claim that renaming Java fields to shorter, random names can dramatically improve API latency, examining benchmark data, the actual cost of String.hashCode, reflection mechanics, and the real factors that affect backend performance.

Reflectionbackend-developmenthashcode
0 likes · 5 min read
Do Short, Random Field Names Really Speed Up Java? A Deep Dive
Top Architect
Top Architect
Nov 24, 2025 · Fundamentals

How Many Objects Does a Java String Create? Literal vs new String Explained

This article breaks down the exact number of objects created when using a string literal versus the new String constructor in Java, detailing interactions with the constant pool, stack, and heap, and demonstrates the resulting reference comparisons with concrete code examples.

JVMMemory ManagementObject Creation
0 likes · 5 min read
How Many Objects Does a Java String Create? Literal vs new String Explained
Su San Talks Tech
Su San Talks Tech
Nov 24, 2025 · Backend Development

What’s New in Spring Boot 4? A Deep Dive into the Latest Spring Ecosystem Overhaul

Spring Boot 4 launches alongside Spring Framework 7, Spring Data 2025.1 and Spring AI 1.1, delivering a massive upgrade that includes Jakarta EE 11, JDK 25, null‑safety via JSpecify, build‑time optimizations, modern HTTP clients, full‑stack Jackson 3 support, native resilience features, modular auto‑configuration, OpenTelemetry integration, and a dual‑track AI strategy.

AIOpenTelemetrySpring Boot
0 likes · 9 min read
What’s New in Spring Boot 4? A Deep Dive into the Latest Spring Ecosystem Overhaul
macrozheng
macrozheng
Nov 24, 2025 · Cloud Native

Diagnosing Excessive GC and CPU Spikes in a Kubernetes Java Pod

When a production pod suddenly hit 90% CPU and dozens of young and full GCs within two hours, the author walks through a step‑by‑step investigation using top, thread‑level monitoring, jstack, and stack analysis to pinpoint a Java‑level memory issue and resolve it.

JVMgcjava
0 likes · 7 min read
Diagnosing Excessive GC and CPU Spikes in a Kubernetes Java Pod
JavaGuide
JavaGuide
Nov 24, 2025 · Backend Development

Alibaba 2024 Backend Salary Ranges and Essential Interview Preparation Guide

The article details Alibaba's 2024 campus backend salary bands, compares them with peers, outlines the interview process and project presentation tips, and provides in‑depth technical tutorials on Redis Lua scripts, cache consistency, slow‑query logging, MySQL optimization, Java reflection, WebSocket vs polling, SSE, TCP/UDP, and HTTP vs HTTPS.

AlibabaBackendWebSocket
0 likes · 24 min read
Alibaba 2024 Backend Salary Ranges and Essential Interview Preparation Guide
Java Companion
Java Companion
Nov 24, 2025 · Backend Development

Seamless OSS Switching with Adapter Pattern and Nacos Dynamic Configuration

This article demonstrates how to use the Adapter pattern together with Nacos dynamic configuration to abstract multiple OSS providers (Minio, Aliyun), configure Spring beans for hot‑refreshable storage selection, and integrate the solution into a microservice’s service, file, and controller layers.

Adapter PatternDynamic ConfigurationMicroservices
0 likes · 12 min read
Seamless OSS Switching with Adapter Pattern and Nacos Dynamic Configuration
Architect's Guide
Architect's Guide
Nov 24, 2025 · Artificial Intelligence

Building Java LLM Applications with LangChain4j: A Hands‑On Guide

This tutorial walks through the fundamentals of large language models, prompt engineering, and word embeddings, then shows how to set up a LangChain‑based LLM stack in Java using LangChain4j, covering core modules, memory, retrieval, chains, agents, and complete code examples.

AI agentsLLMLangChain
0 likes · 15 min read
Building Java LLM Applications with LangChain4j: A Hands‑On Guide
Selected Java Interview Questions
Selected Java Interview Questions
Nov 23, 2025 · Backend Development

Mastering Order Workflow with Spring Statemachine: A Step‑by‑Step Guide

This tutorial shows how to replace bulky if‑else or switch logic with Spring Statemachine in a Spring Boot application, covering dependency setup, state and event enums, machine configuration, persistence, service implementation, controller endpoints, and advanced conditional transitions for loan processing.

BackendConditional TransitionOrder Workflow
0 likes · 10 min read
Mastering Order Workflow with Spring Statemachine: A Step‑by‑Step Guide
Ray's Galactic Tech
Ray's Galactic Tech
Nov 23, 2025 · Backend Development

Three Proven Spring Boot Strategies to Auto‑Cancel Orders After 30 Minutes

This guide walks you through three practical Spring Boot solutions—database scheduled scans, message‑queue delayed queues, and Redis key‑expiration notifications—to automatically cancel unpaid orders after 30 minutes, complete with code samples, architecture diagrams, pros and cons, and best‑practice recommendations.

BackendMessage QueueMicroservices
0 likes · 10 min read
Three Proven Spring Boot Strategies to Auto‑Cancel Orders After 30 Minutes
Architect's Guide
Architect's Guide
Nov 23, 2025 · Backend Development

Master Maven Plugins: From Basics to Custom Plugin Development

This guide explains Maven's core plugin architecture, demonstrates practical configurations for flatten‑maven‑plugin and exec‑maven‑plugin, details the MOJO concept behind plugins, and walks through creating, installing, and binding a custom Maven plugin to the build lifecycle.

Build AutomationFlatten PluginMaven Plugin
0 likes · 17 min read
Master Maven Plugins: From Basics to Custom Plugin Development
Ray's Galactic Tech
Ray's Galactic Tech
Nov 22, 2025 · Backend Development

How to Safely Stop Java Threads: Best Practices and Code Samples

This guide explains why Thread.stop() is unsafe, compares flag‑based, interruption‑based, and ExecutorService approaches, provides complete Java examples, usage steps, precautions, and advanced techniques for reliably stopping threads while releasing resources correctly.

ExecutorServiceResource CleanupThread Management
0 likes · 8 min read
How to Safely Stop Java Threads: Best Practices and Code Samples
Top Architect
Top Architect
Nov 22, 2025 · Backend Development

How to Quickly Detect and Resolve Maven Dependency Conflicts

This guide shows how to view a Maven project's dependency tree using IDEA, the mvn command, or the Maven Helper plugin, identify version conflicts, and resolve them either by adding exclusion entries or by enforcing versions through dependencyManagement, with concrete code examples and screenshots.

IDEAconflict resolutiondependency management
0 likes · 7 min read
How to Quickly Detect and Resolve Maven Dependency Conflicts
Java Architect Handbook
Java Architect Handbook
Nov 22, 2025 · Fundamentals

Master Java’s Pair and Triple: Simplify Multi‑Value Returns with Apache Commons Lang3

This article explains why returning multiple values in Java can be cumbersome, introduces Apache Commons Lang3’s Pair and Triple utilities—including mutable and immutable variants—shows how to add the Maven dependency, and provides clear code examples that demonstrate their creation, modification, and safe usage in real‑world scenarios.

Apache Commons Lang3ImmutableMutable
0 likes · 14 min read
Master Java’s Pair and Triple: Simplify Multi‑Value Returns with Apache Commons Lang3
Architect's Tech Stack
Architect's Tech Stack
Nov 21, 2025 · Backend Development

What’s New in Spring Boot 4? A Deep Dive into the Latest Features

Spring Boot 4 launches alongside Spring Framework 7, Spring Data 2025.1 and Spring AI 1.1, introducing Jakarta EE 11, JDK 25, JSpecify null‑safety, build‑time optimizations with Project Leyden, a new declarative HTTP client, Jackson 3 support, native API versioning, built‑in resilience, OpenTelemetry integration, and a dual‑track AI strategy.

AIJSpecifyOpenTelemetry
0 likes · 9 min read
What’s New in Spring Boot 4? A Deep Dive into the Latest Features
macrozheng
macrozheng
Nov 21, 2025 · Backend Development

Master Java Concurrency: Locks, Singleton Patterns, ThreadLocal, Reflection and More

This article provides a comprehensive guide to Java concurrency and related concepts, covering synchronized lock upgrades, object vs class locks, lazy and double‑checked singleton implementations, ThreadLocal mechanics, reflection usage, annotation scopes, JVM class loading, and Redis cluster threading behavior.

JVMReflectionSingleton
0 likes · 22 min read
Master Java Concurrency: Locks, Singleton Patterns, ThreadLocal, Reflection and More
Architect's Guide
Architect's Guide
Nov 21, 2025 · Backend Development

Mastering Apollo: A Deep Dive into Ctrip’s Open‑Source Distributed Configuration Center

This article walks through the concepts, architecture, and hands‑on steps for using Apollo, Ctrip’s open‑source distributed configuration center, covering project setup, Spring Boot integration, dynamic updates, clustering, namespaces, high‑availability design, and Kubernetes deployment.

ApolloConfiguration ManagementDistributed Systems
0 likes · 25 min read
Mastering Apollo: A Deep Dive into Ctrip’s Open‑Source Distributed Configuration Center
Architect's Tech Stack
Architect's Tech Stack
Nov 20, 2025 · Backend Development

Quickly Detect and Resolve Maven Dependency Conflicts in IntelliJ

This guide shows how to view the Maven dependency tree in IntelliJ, use the mvn dependency:tree command, leverage the Maven Helper plugin, identify conflicting JARs, and resolve them with exclusion rules or dependencyManagement to ensure the correct versions are used.

Build ToolDependency ConflictIntelliJ
0 likes · 6 min read
Quickly Detect and Resolve Maven Dependency Conflicts in IntelliJ
Code Ape Tech Column
Code Ape Tech Column
Nov 20, 2025 · Backend Development

Build a Millisecond‑Scale Sensitive Word Filter with DFA and Trie in Java

This article explains why traditional string matching and regex struggle with large keyword sets, introduces a DFA‑based solution using a Trie tree for linear‑time detection, provides full Java implementations, shows real‑world integration scenarios, and explores advanced optimizations such as double‑array tries, Aho‑Corasick automata, and sharding with Bloom filters.

DFASensitive Word FilteringTrie
0 likes · 17 min read
Build a Millisecond‑Scale Sensitive Word Filter with DFA and Trie in Java
JD Tech Talk
JD Tech Talk
Nov 19, 2025 · Backend Development

Boost Java Microservice Debugging with Easy Code Reader MCP Server

The article explains how Easy Code Reader MCP Server integrates with Joycode and large language models to automatically retrieve and analyze Java source code across multiple projects or JAR files, improving code‑agent accuracy and developer productivity.

AI-assisted developmentMCPcode retrieval
0 likes · 20 min read
Boost Java Microservice Debugging with Easy Code Reader MCP Server
JD Cloud Developers
JD Cloud Developers
Nov 19, 2025 · Backend Development

Boost Java Microservice Analysis with Easy Code Reader MCP

This article explains how the Easy Code Reader MCP server integrates with large language models to automatically locate, read, and analyze Java source code across multiple micro‑services and JAR files, improving code‑agent accuracy and developer productivity through a set of practical tools and step‑by‑step examples.

Easy Code ReaderMCPMicroservices
0 likes · 22 min read
Boost Java Microservice Analysis with Easy Code Reader MCP
JavaGuide
JavaGuide
Nov 19, 2025 · Artificial Intelligence

Spring AI 1.1 Released: Explosive New Features for Java AI Development

Spring AI 1.1.0 arrives with a major overhaul, adding out‑of‑the‑box Model Context Protocol support, five‑mode prompt caching that can cut LLM costs by up to 90%, reasoning APIs, recursive advisors, a broadened model ecosystem, enhanced vector‑store and chat‑memory options, and richer observability integrations.

AI integrationMCPPrompt Caching
0 likes · 9 min read
Spring AI 1.1 Released: Explosive New Features for Java AI Development
Architect's Tech Stack
Architect's Tech Stack
Nov 18, 2025 · Backend Development

Speed Up Java Builds: How Maven‑mvnd Boosts Performance and Cuts Resource Use

Learn how Maven‑mvnd accelerates Java project builds by keeping a persistent daemon, reducing JVM startup overhead, lowering CPU and memory usage, and offering seamless migration from Maven, with detailed installation, configuration, usage steps, and a speed comparison against traditional Maven builds.

Build PerformanceConfigurationInstallation
0 likes · 8 min read
Speed Up Java Builds: How Maven‑mvnd Boosts Performance and Cuts Resource Use
macrozheng
macrozheng
Nov 18, 2025 · Backend Development

Why Using the String "null" as a Username Leads to Hidden Bugs

The article explains how treating the literal string "null" as an empty value in user registration can cause subtle backend errors, illustrates the issue with Java code examples, and offers proper validation techniques to avoid such pitfalls.

javanull stringuser registration
0 likes · 3 min read
Why Using the String "null" as a Username Leads to Hidden Bugs
JakartaEE China Community
JakartaEE China Community
Nov 18, 2025 · Artificial Intelligence

How to Build a Retrieval‑Augmented Generation (RAG) System with Langchain4j and Ollama 3

This article explains why Retrieval‑Augmented Generation improves LLM accuracy, outlines the key Langchain4j and Ollama3 components, and provides a step‑by‑step Java example—including Maven setup, document ingestion, embedding, similarity search, prompt creation, and response generation—to demonstrate a functional RAG pipeline.

EmbeddingLLMLangChain4j
0 likes · 8 min read
How to Build a Retrieval‑Augmented Generation (RAG) System with Langchain4j and Ollama 3
Senior Tony
Senior Tony
Nov 18, 2025 · Backend Development

Mastering Java Thread Pools: 7 Critical Pitfalls Every Engineer Should Know

This article breaks down seven common thread‑pool pitfalls frequently asked in Java interviews, explains core‑thread reclamation, warm‑up, pool states, task‑completion checks, the risks of the default ForkJoinPool, and when to use single, fixed, or cached thread‑pool executors.

JavaInterviewThreadPoolThreadPoolExecutor
0 likes · 6 min read
Mastering Java Thread Pools: 7 Critical Pitfalls Every Engineer Should Know
Java Web Project
Java Web Project
Nov 18, 2025 · Backend Development

Building a Real‑Time Device Monitoring Dashboard with WebSocket and Spring Boot

This tutorial walks through creating a fire‑equipment inspection system where the backend Spring Boot service pushes abnormal device alerts via WebSocket to a Vue‑based front‑end that visualizes device status on a map, covering project setup, WebSocket configuration, client‑side handling, and end‑to‑end testing.

JavaScriptSpring BootVue.js
0 likes · 10 min read
Building a Real‑Time Device Monitoring Dashboard with WebSocket and Spring Boot
Java Architect Essentials
Java Architect Essentials
Nov 17, 2025 · Backend Development

Achieve WebSocket Load Balancing Across Microservice Instances with a Single Annotation

This article explains the challenges of using WebSocket in a microservice environment, presents a lightweight library that abstracts long‑connection clustering, shows how to enable it with @EnableWebSocketLoadBalanceConcept, and details the underlying architecture, selectors, and heartbeat mechanisms for reliable message broadcasting.

Spring CloudWebSocketjava
0 likes · 13 min read
Achieve WebSocket Load Balancing Across Microservice Instances with a Single Annotation
Ray's Galactic Tech
Ray's Galactic Tech
Nov 17, 2025 · Backend Development

How to Reach Millisecond Consistency for Million‑Scale Transactions with RocketMQ

This article explains how to use RocketMQ's transactional messages and an atomic‑level wrapper to achieve sub‑second final consistency for million‑scale transaction systems, detailing the two‑phase commit workflow, annotation‑driven implementation, performance optimizations, failure handling, monitoring, and suitable use cases.

Distributed TransactionsReliabilityRocketMQ
0 likes · 11 min read
How to Reach Millisecond Consistency for Million‑Scale Transactions with RocketMQ
Tech Freedom Circle
Tech Freedom Circle
Nov 17, 2025 · Backend Development

Spring Design Patterns Interview: The One Question That Can Make or Break Your Offer

This article breaks down Spring’s layered architecture and walks through ten core design patterns—factory, singleton, proxy, template method, observer, adapter, decorator, strategy, chain of responsibility, facade, and delegate—showing how they appear in real interview scenarios and how mastering them can turn a tough interview question into a winning advantage.

Design PatternsSpring Frameworkinterview
0 likes · 50 min read
Spring Design Patterns Interview: The One Question That Can Make or Break Your Offer
JavaGuide
JavaGuide
Nov 17, 2025 · Backend Development

How Spring Boot 4’s JSpecify Eliminates NullPointerExceptions

Spring Boot 4 adopts JSpecify’s null‑safety annotations, replacing JSR‑305, to make nullability explicit at compile time; using @NullMarked and @Nullable with tools like NullAway, developers can catch potential NPEs early, reduce defensive checks, improve API contracts, and handle collections and parameters more safely.

@NullableJSpecifyNullAway
0 likes · 13 min read
How Spring Boot 4’s JSpecify Eliminates NullPointerExceptions
Java Backend Technology
Java Backend Technology
Nov 17, 2025 · Databases

Why a Single MySQL Connection Can Cost Over 200 ms – A Deep Dive

This article examines the detailed steps and timing of establishing a MySQL connection from a Java web application, measuring network round‑trips and total latency, and demonstrates how even a minimal connection can consume hundreds of milliseconds, making connection pooling essential for high‑traffic services.

Connection PoolDatabase ConnectionTCP
0 likes · 8 min read
Why a Single MySQL Connection Can Cost Over 200 ms – A Deep Dive
Java Architecture Diary
Java Architecture Diary
Nov 17, 2025 · Backend Development

Simplify Dynamic Bean Registration in Spring Boot 4 with the New BeanRegistrar API

This article explains how Spring Framework 7 introduces the BeanRegistrar interface to replace the cumbersome ImportBeanDefinitionRegistrar, demonstrating the new API with concise code examples, comparing old and new approaches, and providing a complete practical example for dynamically registering beans based on runtime configuration.

BeanRegistrarSpring Boot 4dynamic-bean-registration
0 likes · 11 min read
Simplify Dynamic Bean Registration in Spring Boot 4 with the New BeanRegistrar API
Su San Talks Tech
Su San Talks Tech
Nov 17, 2025 · Backend Development

Unlock Tomcat’s Secrets: Deep Dive into Its Architecture, Design Patterns, and Class Loading

This article provides a comprehensive technical walkthrough of Tomcat, covering its connector and container architecture, lifecycle management, key design patterns such as Composite and Template Method, custom class‑loading mechanisms, hot‑reload process, and includes essential code snippets and diagrams for developers.

Class LoaderDesign PatternsTomcat
0 likes · 43 min read
Unlock Tomcat’s Secrets: Deep Dive into Its Architecture, Design Patterns, and Class Loading
Architect
Architect
Nov 16, 2025 · Backend Development

Unlocking MyBatis: 10 Design Patterns Powering Its Architecture

The article examines how MyBatis leverages around ten classic design patterns—grouped into Creational, Structural, and Behavioral categories—to decouple complex ORM logic, describing each pattern’s role, typical usage scenarios, and related components within the framework.

Design PatternsMyBatisbackend-development
0 likes · 12 min read
Unlocking MyBatis: 10 Design Patterns Powering Its Architecture
Tech Freedom Circle
Tech Freedom Circle
Nov 16, 2025 · Databases

How Redis Pipeline Can Boost Performance 3‑12× and Impress Interviewers

This article explains Redis Pipeline’s core principle of batching commands to reduce network round‑trips, presents benchmark data showing up to 17‑fold speedups, details real‑world use cases such as cache warm‑up, heartbeat reporting, and high‑traffic events, and provides best‑practice guidelines on batch sizing, error handling, cluster constraints, and comparisons with transactions and Lua scripts.

Batch ProcessingDistributed SystemsPipeline
0 likes · 36 min read
How Redis Pipeline Can Boost Performance 3‑12× and Impress Interviewers
IT Services Circle
IT Services Circle
Nov 16, 2025 · Fundamentals

Will C# Overtake Java in 2025? Deep Dive into the TIOBE Index

The November 2025 TIOBE ranking shows Python still on top, but C# is rapidly gaining ground and may surpass Java for the first time in history, driven by cross‑platform .NET, open‑source momentum, modern language features, and strong backing from Microsoft and the cloud ecosystem.

2025TIOBEc++
0 likes · 7 min read
Will C# Overtake Java in 2025? Deep Dive into the TIOBE Index
JavaGuide
JavaGuide
Nov 16, 2025 · Backend Development

ByteDance Backend Interview: Java OOM, ThreadPool Tuning, Redis & MQ

ByteDance’s recent salary announcements show higher offers up to 40K, while the company’s rigorous backend interview covers Java heap OOM analysis, JVM tuning, thread‑pool configuration, Redis expiration strategies, MQ usage, network request flow, and algorithm challenges, providing a comprehensive technical deep‑dive for candidates.

JVMMessageQueueThreadPool
0 likes · 24 min read
ByteDance Backend Interview: Java OOM, ThreadPool Tuning, Redis & MQ
Java Companion
Java Companion
Nov 16, 2025 · Backend Development

Stunning Architecture Designs Inside XXL-JOB Explained

The article dissects XXL-JOB's communication layer, showcasing Netty HTTP usage, a full asynchronous processing pipeline, dynamic proxy abstraction, request‑ID based thread wake‑up, and detailed Java code examples that illustrate how the scheduler and executor achieve high‑throughput remote job execution.

BackendDynamic ProxyNetty
0 likes · 7 min read
Stunning Architecture Designs Inside XXL-JOB Explained
Java Tech Enthusiast
Java Tech Enthusiast
Nov 15, 2025 · Backend Development

Why Generational Shenandoah GC in JDK 25 Is a Game‑Changer for Java Performance

JDK 25 introduces the generational Shenandoah garbage collector as a production‑ready feature, offering lower pause times, higher throughput, and better memory efficiency compared to G1 and ZGC, while remaining optional via the -XX:ShenandoahGCMode=generational flag and preserving compatibility with existing scripts.

Garbage CollectionGenerational GCJDK 25
0 likes · 8 min read
Why Generational Shenandoah GC in JDK 25 Is a Game‑Changer for Java Performance
Su San Talks Tech
Su San Talks Tech
Nov 15, 2025 · Operations

How to Build a Simple Jenkins‑Maven‑Git CI/CD Pipeline for Java Apps

Learn step‑by‑step how to set up a basic CI/CD workflow using Jenkins, Maven, and Git on three servers—GitLab for source control, Jenkins for building a Spring Boot JAR, and a test server for deployment—covering prerequisites, environment setup, Jenkins configuration, and post‑deployment scripts.

JenkinsSpring Bootautomation
0 likes · 13 min read
How to Build a Simple Jenkins‑Maven‑Git CI/CD Pipeline for Java Apps
Programmer DD
Programmer DD
Nov 14, 2025 · Artificial Intelligence

Can TOON Format Cut LLM Token Costs by Up to 60%?

This article explains how the TOON data‑serialization format reduces token usage and improves accuracy for large language model calls compared with traditional JSON, provides benchmark results, outlines scenarios where TOON is advantageous or unsuitable, and shows Java integration examples.

LLMTOONToken Optimization
0 likes · 6 min read
Can TOON Format Cut LLM Token Costs by Up to 60%?
Java Web Project
Java Web Project
Nov 14, 2025 · Backend Development

How to Build a Spring Boot Starter for Multi‑Cloud Object Storage (OSS)

This step‑by‑step guide explains why Amazon S3 is chosen as a universal protocol, walks through creating a Spring Boot project, defining configuration properties, implementing an OSS template, auto‑configuring beans, packaging the starter, and testing it against services like MinIO, Alibaba OSS, and Tencent COS.

Amazon S3OSSSpring Boot
0 likes · 15 min read
How to Build a Spring Boot Starter for Multi‑Cloud Object Storage (OSS)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 14, 2025 · Backend Development

What’s New in Spring Framework 7? Features, Removals, and Migration Tips

Spring Framework 7 introduces a new baseline on JDK 17/25, upgrades to Jakarta EE 11, Kotlin 2.2 and GraalVM 25, removes several legacy APIs such as spring‑jcl and javax.annotation, deprecates features like RestTemplate and XML MVC config, and adds powerful capabilities including programmatic bean registration, enhanced HTTP client support, and improved testing extensions.

Spring BootSpring Frameworkapi-changes
0 likes · 15 min read
What’s New in Spring Framework 7? Features, Removals, and Migration Tips
IT Services Circle
IT Services Circle
Nov 13, 2025 · Fundamentals

Unlock Java Mastery: From Compilation to Collections, Concurrency and Career Insights

This article combines practical salary insights for Java developers at Transsion with a deep dive into Java fundamentals—including the compilation pipeline, JVM benefits, differences from C++, exception handling, core collection frameworks, concurrency concepts, interview preparation tips, and essential AI knowledge for developers.

AICollectionsJVM
0 likes · 14 min read
Unlock Java Mastery: From Compilation to Collections, Concurrency and Career Insights
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Nov 13, 2025 · Cloud Native

How We Tuned Nacos Config Center to Eliminate Timeouts and QPS Limits

This article explains how Nacos, an open‑source dynamic naming and configuration service, was used in a micro‑service project, the two performance problems encountered—configuration fetch timeouts and server‑side QPS throttling—and the step‑by‑step optimizations (memory caching, fallback values, pre‑fetching and listener registration, and limit adjustments) that resolved them.

Cloud NativeMicroservicesNacos
0 likes · 16 min read
How We Tuned Nacos Config Center to Eliminate Timeouts and QPS Limits
Java Companion
Java Companion
Nov 13, 2025 · Backend Development

When a New Developer Swapped MyBatis for MyBatis‑Plus and Got Scolded by the Team Lead

The article walks through replacing MyBatis 3.5.0 with MyBatis‑Plus 3.1.1 in a legacy Java project, uncovers version‑specific LocalDateTime conversion failures, shows how upgrading mysql‑connector‑java resolves them, and reflects on the broader impact of component upgrades on production stability.

Connector UpgradeLocalDateTimeMyBatis
0 likes · 8 min read
When a New Developer Swapped MyBatis for MyBatis‑Plus and Got Scolded by the Team Lead
Java Backend Technology
Java Backend Technology
Nov 13, 2025 · Backend Development

Why Fast‑Retry Outperforms Spring‑Retry for Million‑Task Scenarios

Fast‑Retry is a high‑performance asynchronous retry framework that can handle millions of tasks with far lower latency than traditional synchronous retry libraries like Spring‑Retry or Guava‑Retry, thanks to its non‑blocking design, customizable retry logic, and support for both programmatic and annotation‑based usage.

Asyncfast-retryjava
0 likes · 11 min read
Why Fast‑Retry Outperforms Spring‑Retry for Million‑Task Scenarios
FunTester
FunTester
Nov 12, 2025 · Operations

Mastering Selenium’s JavaScriptExecutor: Real‑World Login Automation and Async Scrolling

Explore two hands‑on Selenium WebDriver examples that leverage JavaScriptExecutor to automate a login flow with visual element highlighting, retrieve page metadata, and perform asynchronous scrolling, while learning practical code snippets, execution tips, and troubleshooting strategies for robust web UI testing.

AsyncScriptJavaScriptExecutorSelenium
0 likes · 9 min read
Mastering Selenium’s JavaScriptExecutor: Real‑World Login Automation and Async Scrolling
Architect-Kip
Architect-Kip
Nov 11, 2025 · Backend Development

How to Build a Scalable Java Backend with a Modular Architecture

This guide outlines a flexible, modular Java backend architecture designed to improve delivery efficiency and reduce coupling, detailing the purpose, scope, project structure, module classifications, dependency rules, package management, and build configuration for architects and backend engineers.

backend-developmentdependency managementjava
0 likes · 15 min read
How to Build a Scalable Java Backend with a Modular Architecture
Architecture Digest
Architecture Digest
Nov 11, 2025 · Backend Development

Mastering Spring Boot Logging: From Basics to Advanced Configuration

Learn why logging is essential in Java applications, explore Spring Boot’s built‑in SLF4J framework, discover how to print, configure levels, persist logs, customize formats, manage file rotation, and simplify logging with Lombok, all through clear examples and practical guidance.

LombokSpring Bootjava
0 likes · 17 min read
Mastering Spring Boot Logging: From Basics to Advanced Configuration
Tech Freedom Circle
Tech Freedom Circle
Nov 11, 2025 · Backend Development

ThreadLocal Interview Deep Dive: 20‑Minute Analysis, Manual vs Framework Solutions, and a Winning Methodology

This article explains the inner workings of Java's ThreadLocal, why it fails to propagate context in asynchronous scenarios, compares manual passing and decorator‑based approaches, introduces the TransmittableThreadLocal (TTL) library with its CRER workflow, and provides a structured interview answer that showcases deep architectural insight.

ContextPropagationTTLThreadLocal
0 likes · 26 min read
ThreadLocal Interview Deep Dive: 20‑Minute Analysis, Manual vs Framework Solutions, and a Winning Methodology
Code Ape Tech Column
Code Ape Tech Column
Nov 11, 2025 · Backend Development

Pass User Info from Filter to Controller via Spring MVC Argument Resolver

This article explains how to transfer the current user ID extracted from a JWT token in a filter to Spring MVC controller methods using a custom HandlerMethodArgumentResolver, highlighting drawbacks of ThreadLocal and request attributes, and demonstrating a type‑safe, extensible solution with code examples.

HandlerMethodArgumentResolverSpring MVCfilter
0 likes · 11 min read
Pass User Info from Filter to Controller via Spring MVC Argument Resolver
Alibaba Cloud Observability
Alibaba Cloud Observability
Nov 10, 2025 · Mobile Development

Building a Reliable Android Crash Collection Framework: Java & Native Solutions

This article explains the challenges of Android app crashes and presents a comprehensive, cloud‑native solution that captures both Java/Kotlin and native crashes, details the underlying mechanisms such as UncaughtExceptionHandler, signal handling, minidump generation, stack unwinding, and offers practical guidance for integrating reliable crash reporting into mobile applications.

AndroidCrash ReportingObfuscation
0 likes · 19 min read
Building a Reliable Android Crash Collection Framework: Java & Native Solutions
IT Services Circle
IT Services Circle
Nov 10, 2025 · Backend Development

Ace Java Backend Interviews: Spring Injection, MySQL Engines, Redis & JVM OOM

This article combines salary insights for ZTE offers, practical internship interview tips, a deep dive into Spring bean‑injection annotations, a side‑by‑side comparison of MySQL InnoDB and MyISAM, Redis usage patterns, and JVM OutOfMemoryError diagnostics to help you excel in Java backend interviews.

BackendJVMinterview
0 likes · 21 min read
Ace Java Backend Interviews: Spring Injection, MySQL Engines, Redis & JVM OOM
Top Architect
Top Architect
Nov 10, 2025 · Backend Development

Boost System Throughput with Hystrix Collapser, BatchCollapser, and ConcurrentHashMultiset

This article explains how merging similar requests using Hystrix Collapser, a custom BatchCollapser, and Guava's ConcurrentHashMultiset can dramatically reduce downstream load, improve overall throughput, and provides detailed implementation, configuration, and scenario guidance for each technique.

BackendBatchCollapserConcurrentHashMultiset
0 likes · 14 min read
Boost System Throughput with Hystrix Collapser, BatchCollapser, and ConcurrentHashMultiset