Java Backend Technology
Author

Java Backend Technology

Focus on Java-related technologies: SSM, Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading. Occasionally cover DevOps tools like Jenkins, Nexus, Docker, and ELK. Also share technical insights from time to time, committed to Java full-stack development!

1.4k
Articles
0
Likes
1.1k
Views
0
Comments
Recent Articles

Latest from Java Backend Technology

100 recent articles max
Java Backend Technology
Java Backend Technology
Jul 23, 2025 · Fundamentals

Boost Java Code Quality: Master Alibaba Guidelines, CheckStyle, PMD, FindBugs & SonarLint

This article explains why code quality degrades as systems grow, introduces five essential static‑analysis tools (Alibaba Java Coding Guidelines, CheckStyle, PMD, FindBugs, and SonarLint), and provides step‑by‑step installation and usage instructions with screenshots to help developers reduce bugs and improve maintainability.

checkstylecode qualitypmd
0 likes · 15 min read
Boost Java Code Quality: Master Alibaba Guidelines, CheckStyle, PMD, FindBugs & SonarLint
Java Backend Technology
Java Backend Technology
Jul 18, 2025 · Backend Development

Why Did My New Java Developer Trigger NPE? Lessons & Fixes

A new Java developer caused a production NullPointerException while matching third‑party data, and the article walks through reproducing the bug, analyzing each faulty line, and applying defensive programming techniques such as early returns, Optional, Objects.equals, and collection checks to prevent similar crashes.

Objects.equalsOptionalcode quality
0 likes · 6 min read
Why Did My New Java Developer Trigger NPE? Lessons & Fixes
Java Backend Technology
Java Backend Technology
Jul 14, 2025 · Backend Development

Mastering Rate Limiting: 4 Proven Strategies to Boost System Resilience

This article explores four common rate‑limiting algorithms—fixed window, sliding window, leaky bucket, and token bucket—explains their core principles, shows Java and Redis implementations, discusses real‑world production cases, and provides practical tips for avoiding pitfalls and optimizing performance.

Rate LimitingRedis
0 likes · 10 min read
Mastering Rate Limiting: 4 Proven Strategies to Boost System Resilience
Java Backend Technology
Java Backend Technology
Jul 10, 2025 · Backend Development

Unlock Spring’s Power: Global Exception Handling, Custom Interceptors, and Thread‑Local Scopes

Explore Spring’s extensibility by mastering global exception handling with @RestControllerAdvice, creating custom MVC interceptors, accessing the container via BeanFactoryAware, importing configurations, adding startup logic, modifying BeanDefinitions, using initialization callbacks, and defining a thread‑local custom scope for per‑thread bean instances.

ApplicationRunnerCustom ScopeException Handling
0 likes · 10 min read
Unlock Spring’s Power: Global Exception Handling, Custom Interceptors, and Thread‑Local Scopes
Java Backend Technology
Java Backend Technology
Jul 8, 2025 · Backend Development

ThreadLocal vs ScopedValue: Why ScopedValue Is the New King in Java Concurrency

ThreadLocal has long served as Java’s go‑to tool for thread‑local data, but its memory‑leak risks and performance penalties become pronounced with virtual threads, while the newer ScopedValue offers automatic cleanup, immutable safety, and superior efficiency, making it a compelling replacement in high‑concurrency scenarios.

ScopedValueThreadLocalconcurrency
0 likes · 12 min read
ThreadLocal vs ScopedValue: Why ScopedValue Is the New King in Java Concurrency
Java Backend Technology
Java Backend Technology
Jul 7, 2025 · Backend Development

Master Dynamic JSON Fields in Java with @JsonAnyGetter and @JsonAnySetter

This article explains how Jackson's @JsonAnySetter and @JsonAnyGetter annotations let Java classes gracefully handle unknown JSON properties by collecting them into a map during deserialization and emitting them as regular fields during serialization, complete with practical code examples and usage tips.

DeserializationDynamicPropertiesJSON
0 likes · 7 min read
Master Dynamic JSON Fields in Java with @JsonAnyGetter and @JsonAnySetter