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.3k
Articles
0
Likes
647
Views
0
Comments
Recent Articles

Latest from Java Backend Technology

100 recent articles max
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.

ApplicationRunnerBean LifecycleCustom Scope
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.

ScopedValueThreadLocalVirtual Threads
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
Java Backend Technology
Java Backend Technology
Jul 2, 2025 · Backend Development

Generate Spring Boot CRUD Code Instantly with EasyCode Plugin

This tutorial walks you through installing the EasyCode IntelliJ plugin, creating a MySQL database, configuring IDEA’s database connection, setting up Maven dependencies and application.yml, generating entity, DAO, service, and controller code automatically, and finally running the Spring Boot project.

EasyCodeIntelliJ IDEAJava
0 likes · 6 min read
Generate Spring Boot CRUD Code Instantly with EasyCode Plugin
Java Backend Technology
Java Backend Technology
Jun 25, 2025 · Information Security

How to Seamlessly Refresh JWT Tokens: Backend and Frontend Strategies

This article explains why sudden logouts occur due to expired JWT tokens stored in Redis, and presents both backend automatic token renewal and frontend double‑token (access‑token and refresh‑token) approaches, complete with code examples, testing tips, and handling edge cases such as long‑idle form submissions.

AuthenticationJWTbackend
0 likes · 10 min read
How to Seamlessly Refresh JWT Tokens: Backend and Frontend Strategies
Java Backend Technology
Java Backend Technology
Jun 23, 2025 · Mobile Development

What I Learned Building a Startup App with uni‑app and egg.js: Avoid These Pitfalls

A former developer recounts joining a tiny startup, choosing uni‑app, egg.js, and antd‑vue to quickly build Android and iOS apps, navigating constant product changes, team hiring challenges, and later technical adjustments, and shares practical advice to avoid common pitfalls in early‑stage ventures.

backend developmentmobile developmentstartup
0 likes · 9 min read
What I Learned Building a Startup App with uni‑app and egg.js: Avoid These Pitfalls
Java Backend Technology
Java Backend Technology
Jun 16, 2025 · Backend Development

14 Essential Java Code Optimization Tips Every Backend Developer Should Know

Discover 14 practical Java code optimization techniques—from using configuration properties and @RequiredArgsConstructor to modularizing methods, avoiding null returns, leveraging IDE suggestions, and applying design patterns—each illustrated with clear examples and snippets to help backend developers write cleaner, more maintainable code.

Spring Bootbest practicescode optimization
0 likes · 8 min read
14 Essential Java Code Optimization Tips Every Backend Developer Should Know
Java Backend Technology
Java Backend Technology
Jun 14, 2025 · Backend Development

Why Arrays.asList() Can Crash Your Java App and How to Fix It

This article explains why using Java's Arrays.asList() to convert an array into a List can cause UnsupportedOperationException at runtime, illustrates the hidden fixed‑size list implementation, shows the severe impact on an e‑commerce system, and provides a safe solution using java.util.ArrayList to avoid such crashes.

ArrayListCollectionsarrays.aslist
0 likes · 8 min read
Why Arrays.asList() Can Crash Your Java App and How to Fix It