Tagged articles

Java

5000 articles · Page 17 of 50
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 11, 2025 · Backend Development

Master Spring Boot 3: Real‑World Config File Tricks and Advanced Use Cases

This guide walks through Spring Boot 3's externalized configuration system, showing how to locate, rename, and override property files, use optional and wildcard locations, import additional resources, handle missing files, and apply profile‑specific settings with concrete command‑line examples and code snippets.

BackendConfig FilesExternalized Configuration
0 likes · 12 min read
Master Spring Boot 3: Real‑World Config File Tricks and Advanced Use Cases
Ubiquitous Tech
Ubiquitous Tech
Dec 10, 2025 · Frontend Development

Building an MCP Service Marketplace UI with GPT‑5 and Trae

This article walks through using GPT‑5 and ByteDance’s Trae tool within the VibeCoding workflow to iteratively generate a complete MCP service marketplace front‑end UI, refine it through multiple prompt rounds, produce a PRD, design backend APIs, build a SpringBoot 2.7 project with MyBatis Plus and MySQL, and finally test and deploy the full system.

AI-assisted developmentGPT-5Java
0 likes · 25 min read
Building an MCP Service Marketplace UI with GPT‑5 and Trae
Ray's Galactic Tech
Ray's Galactic Tech
Dec 10, 2025 · Cloud Native

Mastering Java Memory Tuning in Kubernetes: Prevent OOMKilled

Learn how to align Kubernetes pod memory limits with JVM settings using container‑aware parameters, manual calculations, and best‑practice configurations—including MaxRAMPercentage, headroom allocation, metaspace limits, monitoring, and deployment examples—to avoid OOMKilled and ensure stable Java application performance.

DevOpsJVMJava
0 likes · 8 min read
Mastering Java Memory Tuning in Kubernetes: Prevent OOMKilled
Selected Java Interview Questions
Selected Java Interview Questions
Dec 10, 2025 · Backend Development

Mastering Generic Tree Construction in Java: A Robust TreeBuilder Utility

This article presents a comprehensive Java TreeBuilder utility that uses generics to construct hierarchical data structures, featuring automatic root detection, cyclic dependency detection, customizable sorting, and search‑tree generation, while providing detailed implementation insights and practical usage examples.

BackendDevelopmentCyclicDependencyGenericUtility
0 likes · 10 min read
Mastering Generic Tree Construction in Java: A Robust TreeBuilder Utility
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 10, 2025 · Backend Development

Mastering Java MethodHandle: From Lookup to Performance Benchmarks

This article provides a comprehensive guide to Java MethodHandle, covering its differences from reflection, step‑by‑step creation (Lookup, MethodType, finding handles, invocation), advanced techniques like binding and dropping arguments, array spreading, and a JMH performance comparison with reflection, all demonstrated in a Spring Boot 3.4.2 environment.

JMHJavaPerformance
0 likes · 10 min read
Mastering Java MethodHandle: From Lookup to Performance Benchmarks
Architect
Architect
Dec 9, 2025 · Backend Development

Master Java SPI: Build a Pluggable Authentication System with Maven Multi‑Module

This guide explains Java's Service Provider Interface (SPI), contrasts it with traditional APIs, and walks through creating a multi‑module Maven project that uses SPI, a custom class loader, and external JAR loading to implement a flexible authentication plugin in a Spring Boot application.

ClassLoaderJavaMaven
0 likes · 15 min read
Master Java SPI: Build a Pluggable Authentication System with Maven Multi‑Module
Programmer1970
Programmer1970
Dec 9, 2025 · Backend Development

Why Developers Overlook Java Stream Collectors’ Deep Uses – Custom Collector Guide

The article explains the core functions of Java’s Collectors, reveals their underlying implementation, and demonstrates how custom Collectors can handle complex aggregation scenarios—such as multi‑metric calculations, stateful reductions, and performance‑critical tasks—using a single‑pass, parallel‑compatible approach, while comparing against standard groupingBy compositions.

AggregationCollectorsJava
0 likes · 10 min read
Why Developers Overlook Java Stream Collectors’ Deep Uses – Custom Collector Guide
WeiLi Technology Team
WeiLi Technology Team
Dec 9, 2025 · Backend Development

Why Upgrade to JDK 21 and Spring Boot 2.7.18? Boost Performance and Future‑Proof Your Apps

Upgrading a company's Java stack from JDK 11 to JDK 21, while staying on Spring Boot 2.7.18, provides long‑term security support, leverages virtual threads, new low‑latency garbage collectors, modern language features like records and pattern‑matching, and avoids costly Jakarta EE namespace migration, with detailed steps for pom changes, MongoDB configuration, code adjustments, and post‑upgrade validation.

JDK21JavaPerformance
0 likes · 16 min read
Why Upgrade to JDK 21 and Spring Boot 2.7.18? Boost Performance and Future‑Proof Your Apps
Su San Talks Tech
Su San Talks Tech
Dec 9, 2025 · Backend Development

Choosing the Right Local Cache: From ConcurrentHashMap to Caffeine

This article explains why local caches are essential in high‑performance services, outlines required cache features, compares four Java‑based local cache implementations (ConcurrentHashMap, Guava Cache, Caffeine, Ehcache), and offers practical solutions for consistency, hit‑rate improvement, and technology selection.

Backend DevelopmentCaffeineEhcache
0 likes · 12 min read
Choosing the Right Local Cache: From ConcurrentHashMap to Caffeine
Lobster Programming
Lobster Programming
Dec 8, 2025 · Backend Development

How Netflix Ribbon Implements Client‑Side Load Balancing in Java

This article explains Netflix's open‑source Ribbon client‑side load balancer, detailing how it intercepts @LoadBalanced RestTemplate calls, resolves service names to IPs using various algorithms, and forwards requests via HttpClient, while highlighting its key features such as in‑process balancing, multiple strategies, fault‑tolerance, and protocol support.

JavaRestTemplateRibbon
0 likes · 4 min read
How Netflix Ribbon Implements Client‑Side Load Balancing in Java
Java Architecture Diary
Java Architecture Diary
Dec 8, 2025 · Backend Development

EasyExcel Archived? How FastExcel and Apache Fesod Provide a Modern Java Excel Solution

When Alibaba archived the popular EasyExcel library, developers faced uncertainty about future maintenance, memory usage, and JDK compatibility, prompting the emergence of FastExcel as a drop‑in replacement and the Apache‑incubated Fesod project, which together offer a high‑performance, low‑memory Java Excel processing ecosystem.

Apache FesodEasyExcelExcel
0 likes · 10 min read
EasyExcel Archived? How FastExcel and Apache Fesod Provide a Modern Java Excel Solution
Su San Talks Tech
Su San Talks Tech
Dec 8, 2025 · Backend Development

Master OpenFeign: From Basics to Advanced Configurations in Spring Cloud

This comprehensive guide walks through OpenFeign fundamentals, differences from Feign, environment setup, service provider and consumer implementation, various parameter passing techniques, timeout handling, logging, HTTP client replacement, GZIP compression, and Sentinel-based circuit breaking, all illustrated with code snippets and diagrams.

CircuitBreakerFeignJava
0 likes · 19 min read
Master OpenFeign: From Basics to Advanced Configurations in Spring Cloud
JakartaEE China Community
JakartaEE China Community
Dec 8, 2025 · Fundamentals

Generational ZGC in JDK 21: Design, Performance, and Adoption

Generational ZGC, introduced in JDK 21, applies a weak generational hypothesis to split the heap into young and old regions, improving throughput by ~10%, reducing max pause times by 10‑20%, mitigating allocation stalls, and offering a phased adoption path via JVM flags and diagnostic tools.

Generational ZGCJDK 21Java
0 likes · 9 min read
Generational ZGC in JDK 21: Design, Performance, and Adoption
Architect
Architect
Dec 7, 2025 · Backend Development

How Spring Breaks Circular Dependencies: A Deep Dive into the 3‑Level Cache

This article explains Spring's circular‑dependency problem, introduces the three‑level cache (singletonObjects, earlySingletonObjects, singletonFactories), walks through the full execution flow with code examples, and clarifies why each cache level and AOP proxy factories are essential for correct bean initialization.

AOPBeanFactoryJava
0 likes · 12 min read
How Spring Breaks Circular Dependencies: A Deep Dive into the 3‑Level Cache
Java Tech Enthusiast
Java Tech Enthusiast
Dec 7, 2025 · Backend Development

Spring Boot 4.0 GA: New Features, Performance Boosts, and Migration Guide

Spring Boot 4.0 GA introduces a modern Java baseline, native virtual‑thread support, GraalVM native image integration, streamlined API versioning, a lightweight @HttpExchange client, enhanced security and observability features, and a list of breaking changes, with migration guidance for developers.

BackendCloud NativeGraalVM
0 likes · 8 min read
Spring Boot 4.0 GA: New Features, Performance Boosts, and Migration Guide
Java Architect Handbook
Java Architect Handbook
Dec 6, 2025 · Backend Development

Mastering Netty: From IO Models to a Real‑Time Chat Service

This article explains Netty’s architecture, compares Java’s BIO/NIO/AIO models, describes its thread models and pipeline, and provides a step‑by‑step guide with code to build a WebSocket‑based real‑time chat server using Spring Boot 3 and JDK 21.

Backend DevelopmentJavaNetty
0 likes · 21 min read
Mastering Netty: From IO Models to a Real‑Time Chat Service
Java Tech Enthusiast
Java Tech Enthusiast
Dec 6, 2025 · Backend Development

How to Visualize Java Servlet Inheritance Using IntelliJ IDEA Diagrams

This guide shows how to use IntelliJ IDEA's diagram feature to display, clean up, and explore the inheritance and interface implementation hierarchy of Java Servlet classes, including filtering unwanted nodes, inspecting members, adjusting visibility, zooming, adding related classes, and jumping to source code.

Backend DevelopmentIDE TipsInheritance Diagram
0 likes · 6 min read
How to Visualize Java Servlet Inheritance Using IntelliJ IDEA Diagrams
Programmer1970
Programmer1970
Dec 6, 2025 · Backend Development

Spring Boot Graceful Shutdown Evolution: Principles and Best Practices

The article explains why graceful shutdown is essential for high‑availability microservices, details the shortcomings of Spring Boot versions before 2.3, and walks through the native shutdown mechanism introduced in 2.3 together with configuration examples, code snippets, and production‑grade recommendations.

JavaKubernetesSpring Boot
0 likes · 9 min read
Spring Boot Graceful Shutdown Evolution: Principles and Best Practices
Java Companion
Java Companion
Dec 6, 2025 · Backend Development

Replacing MySQL with Apache Doris in Spring Boot for Real‑Time Analytics

This article demonstrates how to integrate Apache Doris, a high‑performance MPP analytical database, into a Spring Boot application as a drop‑in replacement for MySQL, detailing environment setup, Maven dependencies, configuration, entity mapping, repository, service and controller code, and performance testing that shows Doris’s superior real‑time query speed.

Apache DorisJPAJava
0 likes · 15 min read
Replacing MySQL with Apache Doris in Spring Boot for Real‑Time Analytics
Three Knives
Three Knives
Dec 5, 2025 · Backend Development

Build a High‑Performance Java Web Service Quickly with Feat Cloud

This guide walks you through creating a high‑performance Java web service using Feat Cloud, covering environment setup, Maven dependency configuration, writing a simple controller with @Controller and @RequestMapping, launching the server, and verifying the /hello endpoint returns “Hello, Feat Cloud!”.

Feat CloudJavaSpring Boot
0 likes · 5 min read
Build a High‑Performance Java Web Service Quickly with Feat Cloud
Architect
Architect
Dec 5, 2025 · Information Security

How to Secure API Calls with Hybrid Symmetric‑Asymmetric Encryption and HTTPS

This guide explains a comprehensive API encryption scheme that combines symmetric and asymmetric cryptography, HTTPS principles, and WeChat Pay encryption to protect against crawlers, tampering, replay attacks, and ensure data integrity, complete with design rationale, implementation steps, code examples, and security analysis.

JavaWeChat Payasymmetric encryption
0 likes · 13 min read
How to Secure API Calls with Hybrid Symmetric‑Asymmetric Encryption and HTTPS
Su San Talks Tech
Su San Talks Tech
Dec 5, 2025 · Backend Development

Unlocking Java ThreadPoolExecutor: Deep Dive, Best Practices, and Real‑World Tuning

This article provides a comprehensive exploration of Java's ThreadPoolExecutor, covering why thread pools are essential, how the executor framework is designed, detailed source‑code analysis of core classes, parameter tuning, rejection policies, monitoring techniques, and practical best‑practice recommendations for production systems.

Backend DevelopmentJavaThread Pool
0 likes · 32 min read
Unlocking Java ThreadPoolExecutor: Deep Dive, Best Practices, and Real‑World Tuning
macrozheng
macrozheng
Dec 5, 2025 · Backend Development

Mastering @ConfigurationProperties and @PropertySources in Spring Boot

This article provides a comprehensive guide to using Spring Boot's @ConfigurationProperties and @PropertySources annotations, covering their purpose, usage steps, code examples, and the differences between them for effective configuration management in Java backend applications.

@ConfigurationPropertiesBackend DevelopmentJava
0 likes · 11 min read
Mastering @ConfigurationProperties and @PropertySources in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Dec 4, 2025 · Backend Development

Detect and Resolve Maven Dependency Conflicts in Java Projects

This guide explains how to view the Maven dependency tree using IntelliJ IDEA, the command line, or the Maven Helper plugin, identify conflicting JARs, and resolve them with exclusion rules or dependencyManagement, providing clear examples and step‑by‑step commands for Java backend developers.

Backend DevelopmentIDEAJava
0 likes · 6 min read
Detect and Resolve Maven Dependency Conflicts in Java Projects
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.

ASTBackend DevelopmentJava
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.

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

CI/CDGitJava
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.

BackendJavaSpring
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 EncryptionJavaMyBatis
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.

DevOpsDockerIntelliJ IDEA
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.

BackendJVMJava
0 likes · 7 min read
Tuhu Auto’s 2023 Java Backend Salary & Interview Guide: 30k‑33k Packages and Key Technical Topics
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.

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

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

CI/CDDevOpsJava
0 likes · 7 min read
Simplify Java Build and Deployment with Jpom – A Lightweight Jenkins Alternative
Shepherd Advanced Notes
Shepherd Advanced Notes
Nov 28, 2025 · Backend Development

Hard‑Learned MyBatis‑Plus Pitfalls and How to Avoid Them in Production

The article reviews the most common MyBatis‑Plus traps encountered in large‑scale Java services—duplicate Snowflake IDs, batch‑insert reordering, enum storage mismatches, camel‑case mapping errors, auto‑fill loss, and JSON field disappearance—explaining each root cause, illustrating it with real code snippets, and providing concrete solutions to keep production systems stable.

Auto-fillBatch InsertEnum Mapping
0 likes · 19 min read
Hard‑Learned MyBatis‑Plus Pitfalls and How to Avoid Them in Production
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.

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

@ConfigurationPropertiesBackendEnum
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.

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

JWTJavaRedis
0 likes · 25 min read
Xiaomi Java Interview Insights: Reflection, Dynamic Proxies, Redis & JWT
JavaGuide
JavaGuide
Nov 26, 2025 · Interview Experience

Why Campus Recruitment Often Leads to Small‑Mid‑Size Companies: A Student’s Interview Journey

A third‑year student recounts four distinct campus interviews—from a state‑owned big‑data firm to an AI startup—detailing test formats, technical questions, and personal growth, and concludes that most graduates ultimately join the countless small‑mid‑size companies that keep society running.

AIBackendInterview Experience
0 likes · 9 min read
Why Campus Recruitment Often Leads to Small‑Mid‑Size Companies: A Student’s Interview Journey
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.

CI/CDDevOpsJava
0 likes · 19 min read
How to Build, Test, and Publish Your Own Jenkins Plugin from Scratch
Three Knives
Three Knives
Nov 25, 2025 · Backend Development

smart-mqtt v1.5.0 Cuts Enterprise Package Size by 57% by Dropping Netty

smart-mqtt v1.5.0 reduces the enterprise package from 29.3 MB to 12.6 MB (57 % smaller) by replacing the Redisson‑based Redis bridge with the lightweight Redisun client, adds stability fixes, updates pricing, and provides detailed upgrade and deployment instructions.

BackendCloud NativeJava
0 likes · 8 min read
smart-mqtt v1.5.0 Cuts Enterprise Package Size by 57% by Dropping Netty
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.

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

BackendJavaThread Ordering
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.

Backend DevelopmentJavaPerformance
0 likes · 5 min read
Do Short, Random Field Names Really Speed Up Java? A Deep Dive
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.

AIBackend DevelopmentJakarta EE
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.

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

AlibabaBackendJava
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 PatternJavaMicroservices
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 agentsJavaLLM
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 TransitionJava
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.

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

Flatten PluginJavaMaven
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.

ExecutorServiceJavaResource Cleanup
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.

IDEAJavaMaven
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 Lang3ImmutableJava
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.

AIBackend DevelopmentJSpecify
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.

JVMJavaRedis
0 likes · 22 min read
Master Java Concurrency: Locks, Singleton Patterns, ThreadLocal, Reflection and More
Three Knives
Three Knives
Nov 21, 2025 · Information Security

Implementing SSL/TLS Secure Communication in smart-socket: Certificate Configuration and Best Practices

This chapter explains how smart-socket uses the SslPlugin to add SSL/TLS encryption, covering protocol basics, server and client configuration with JKS, PEM and auto‑generated certificates, mutual authentication, security best practices, performance tuning, common troubleshooting steps, and concise Java code examples.

JavaSSLSslPlugin
0 likes · 15 min read
Implementing SSL/TLS Secure Communication in smart-socket: Certificate Configuration and Best Practices
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.

Dependency ConflictIntelliJJava
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.

DFAJavaSensitive Word Filtering
0 likes · 17 min read
Build a Millisecond‑Scale Sensitive Word Filter with DFA and Trie in Java
Three Knives
Three Knives
Nov 20, 2025 · Backend Development

How to Build Custom smart-socket Plugins to Extend Framework Functionality

This article walks through the smart-socket plugin system, explaining the Plugin interface, its lifecycle, the AbstractPlugin base class, and step‑by‑step examples for creating message‑filter, connection‑limit, and heartbeat plugins, followed by registration, execution order, and best‑practice recommendations.

BackendJavaNetworking
0 likes · 9 min read
How to Build Custom smart-socket Plugins to Extend Framework Functionality
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 developmentJavaMCP
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 ReaderJavaMCP
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 integrationJavaMCP
0 likes · 9 min read
Spring AI 1.1 Released: Explosive New Features for Java AI Development
Three Knives
Three Knives
Nov 19, 2025 · Backend Development

Deep Dive into smart‑socket’s Built‑In Plugin System

This article explains smart‑socket’s extensible plugin architecture, detailing the Plugin and AbstractPlugin interfaces, and demonstrates how to integrate built‑in plugins such as SSL/TLS encryption, heartbeat detection, blacklist filtering, memory‑pool monitoring, traffic logging, socket option configuration, and idle‑state handling, while covering plugin ordering, custom development, performance considerations, and best‑practice recommendations.

JavaPlugin SystemSSL
0 likes · 13 min read
Deep Dive into smart‑socket’s Built‑In Plugin System
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.

JavaValidationnull string
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.

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

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

JavaJavaScriptSpring Boot
0 likes · 10 min read
Building a Real‑Time Device Monitoring Dashboard with WebSocket and Spring Boot
Three Knives
Three Knives
Nov 18, 2025 · Backend Development

Smart-Socket Connection Management: Session Lifecycle, Limits, and Quality Monitoring

This article explains how smart-socket manages connections through AioSession objects, a detailed session state machine, state event listeners, built‑in MonitorPlugin for real‑time statistics, custom plugins for connection limiting and blacklisting, session attribute handling, and network monitoring via NetMonitor, concluding with best‑practice recommendations.

Javaconnection managementmonitoring
0 likes · 12 min read
Smart-Socket Connection Management: Session Lifecycle, Limits, and Quality Monitoring
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.

JavaSpring CloudWebSocket
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 TransactionsJavaRocketMQ
0 likes · 11 min read
How to Reach Millisecond Consistency for Million‑Scale Transactions with RocketMQ