Tagged articles

Java

5000 articles · Page 15 of 50
Java Companion
Java Companion
Dec 14, 2025 · Backend Development

Why Choose WebFlux Over Spring MVC for New Projects?

The article explains how Spring WebFlux replaces the thread‑per‑request blocking model of Spring MVC with an asynchronous, non‑blocking, reactive architecture that uses fewer threads for high‑concurrency I/O workloads, while also outlining its learning curve, ecosystem constraints, and practical decision guidelines for when to adopt it.

JavaPerformanceReactive Programming
0 likes · 13 min read
Why Choose WebFlux Over Spring MVC for New Projects?
LuTiao Programming
LuTiao Programming
Dec 14, 2025 · Backend Development

How Spring 6 + Boot 3 Supercharges Startup Speed and Concurrency

The article dissects Spring 6 and Boot 3's core capabilities—JDK 17 baseline, Project Loom virtual threads, declarative @HttpExchange client, RFC 7807 error standardization, GraalVM native images, Jakarta EE 9 migration, and Prometheus monitoring—showing benchmark gains and a migration roadmap for high‑concurrency e‑commerce services.

GraalVMJavaSpring
0 likes · 9 min read
How Spring 6 + Boot 3 Supercharges Startup Speed and Concurrency
Java Architect Handbook
Java Architect Handbook
Dec 13, 2025 · Backend Development

Evolving Business Operation Logging: From AOP Annotations to Binlog Time Windows

This article examines the need for comprehensive business operation logging in a central system, outlines the benefits of audit, security, monitoring, and analysis, and walks through three progressive solutions—AOP with annotations, AOP with SpEL, and a Binlog‑based time‑window approach—detailing their implementations, trade‑offs, and architectural considerations.

AOPJavaLogging
0 likes · 20 min read
Evolving Business Operation Logging: From AOP Annotations to Binlog Time Windows
Su San Talks Tech
Su San Talks Tech
Dec 13, 2025 · Information Security

How to Use Apache Tika in Spring Boot for Sensitive Data Detection and DLP

This article explains Apache Tika's core features, architecture, and common use cases, then provides a step‑by‑step Spring Boot tutorial that integrates Tika to extract file content, detect personal identifiers with regex, and return results via a REST API for data‑loss‑prevention.

Apache TikaDLPFile Parsing
0 likes · 24 min read
How to Use Apache Tika in Spring Boot for Sensitive Data Detection and DLP
Java One
Java One
Dec 12, 2025 · Backend Development

Understanding Spring Bean Scopes: When Singleton Becomes Prototype

This article explains how Spring manages bean instances, compares singleton and prototype scopes with concrete code examples, and shows why two injected beans may be equal or different depending on the @Scope annotation applied to the component class.

Bean ScopeJavaPrototype
0 likes · 3 min read
Understanding Spring Bean Scopes: When Singleton Becomes Prototype
Java Architect Handbook
Java Architect Handbook
Dec 12, 2025 · Backend Development

Master Spring Task: Build, Optimize, and Scale Your Scheduled Jobs

This guide walks you through what Spring Task is, how to enable it in three simple steps, decode cron expressions, explore six real‑world use cases, unlock four advanced features, avoid common pitfalls, and apply performance‑tuning and future‑proofing techniques for robust Java scheduling.

CronJavaPerformance Optimization
0 likes · 11 min read
Master Spring Task: Build, Optimize, and Scale Your Scheduled Jobs
Huolala Tech
Huolala Tech
Dec 12, 2025 · Backend Development

How Lalamove Migrated 1000+ PHP Services to Java in One Year

Lalamove’s year‑long P2J project transformed over a thousand legacy PHP interfaces into Java, tackling complexity, stability, and efficiency challenges through standardized technical solutions, AI‑assisted code generation, rigorous testing, and disciplined project management, ultimately delivering faster, higher‑quality services.

AI automationJavaPHP migration
0 likes · 9 min read
How Lalamove Migrated 1000+ PHP Services to Java in One Year
Tech Freedom Circle
Tech Freedom Circle
Dec 12, 2025 · Backend Development

Why Redisson’s Reentrant Distributed Lock Relies on HINCRBY Increment and Decrement

The article explains how Redisson implements a re‑entrant distributed lock using Redis hash structures and the atomic HINCRBY command to manage client identity, re‑entry counting, concurrency safety, and graceful release, providing a complete technical analysis with code, Lua scripts, and best‑practice guidelines.

ConcurrencyHINCRBYJava
0 likes · 34 min read
Why Redisson’s Reentrant Distributed Lock Relies on HINCRBY Increment and Decrement
Top Architect
Top Architect
Dec 11, 2025 · Backend Development

Mastering Java Plugin Architecture: From SPI to Spring Factories

This article explains how to implement plugin mechanisms in Java using SPI and Spring Boot's spring.factories, covering benefits, common approaches, detailed code examples, custom configuration loading, and a complete real‑world case study to guide developers in building extensible applications.

JavaSPISpring Boot
0 likes · 22 min read
Mastering Java Plugin Architecture: From SPI to Spring Factories
Selected Java Interview Questions
Selected Java Interview Questions
Dec 11, 2025 · Backend Development

Master Maven Multi‑Module Design: Inheritance, Aggregation, and Private Repositories

This guide explains how to split a large Java project into Maven modules, use parent‑project inheritance and aggregation to share configurations, manage dependency versions with dependencyManagement, and configure a private repository for releasing SNAPSHOT and RELEASE artifacts, complete with practical code snippets and step‑by‑step instructions.

AggregationDependency ManagementJava
0 likes · 11 min read
Master Maven Multi‑Module Design: Inheritance, Aggregation, and Private Repositories
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.

Config FilesExternalized ConfigurationJava
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.

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

AggregationJavaStream
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
Alibaba Middleware
Alibaba Middleware
Dec 9, 2025 · Artificial Intelligence

AgentScope Java 1.0 Empowers Java Developers to Build Enterprise‑Grade Agentic Apps

AgentScope Java 1.0 launches with a ReAct‑based AI agent framework that adds real‑time intervention, efficient tool management, sandbox security, high‑performance native optimisations, and seamless enterprise integration, enabling Java developers to create production‑ready, multimodal agent applications.

AI AgentsAgentScopeEnterprise AI
0 likes · 13 min read
AgentScope Java 1.0 Empowers Java Developers to Build Enterprise‑Grade Agentic 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 DevelopmentCacheCaffeine
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.

Client-side load balancingJavaRibbon
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.

Garbage CollectionGenerational ZGCJDK 21
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.

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

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

EncryptionJavaWeChat Pay
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 DevelopmentConcurrencyJava
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.

Backend DevelopmentConfigurationPropertiesJava
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 DevelopmentDependency ManagementIDEA
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.

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

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

AnnotationField EncryptionJava
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.

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

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

ConfigurationPropertiesEnumJava
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 ConfigurationJavaSpringBoot
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 ProxyJWTJava
0 likes · 25 min read
Xiaomi Java Interview Insights: Reflection, Dynamic Proxies, Redis & JWT
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 ConnectionJava
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.

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

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.

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

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

Dynamic ConfigurationJavaMicroservices
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.

Conditional TransitionJavaOrder 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.

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

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.

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

Conflict ResolutionDependency ManagementIDEA
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.

ConcurrencyJVMJava
0 likes · 22 min read
Master Java Concurrency: Locks, Singleton Patterns, ThreadLocal, Reflection and More
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.

AlgorithmDFAJava
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 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