Java Tech Workshop
Author

Java Tech Workshop

Focused on Java backend technologies, sharing fundamentals, multithreading, JVM, the Spring ecosystem, microservices, distributed systems, high concurrency, source‑code analysis, and practical experience. Continuously delivers high‑quality original content, interview guides, and learning roadmaps to help Java developers progress from beginner to advanced, enhancing technical skills and core competitiveness.

160
Articles
0
Likes
885
Views
0
Comments
Recent Articles

Latest from Java Tech Workshop

100 recent articles max
Java Tech Workshop
Java Tech Workshop
Jul 2, 2026 · Backend Development

Spring Boot Auto‑Configuration Unveiled: The @EnableAutoConfiguration SPI Mechanism

Spring Boot achieves zero‑XML, out‑of‑the‑box auto‑configuration by leveraging a custom SPI mechanism driven by @EnableAutoConfiguration, which replaces the legacy spring.factories with @AutoConfiguration imports, employs deferred import selectors, hierarchical ordering, and conditional annotations to dynamically load and prioritize beans.

Auto-configurationConditional AnnotationsDebugging
0 likes · 12 min read
Spring Boot Auto‑Configuration Unveiled: The @EnableAutoConfiguration SPI Mechanism
Java Tech Workshop
Java Tech Workshop
Jul 1, 2026 · Backend Development

Resolving AOP + IOC Circular Dependency Conflicts in Spring

The article explains why Spring's three‑level cache solves simple circular dependencies but fails for AOP‑enhanced beans, describes the timeline mismatch that causes BeanCurrentlyInCreationException, and presents tiered solutions including @Lazy injection, setter refactoring, early proxy processing, and architectural redesign.

AOPLazy injectionProxy
0 likes · 14 min read
Resolving AOP + IOC Circular Dependency Conflicts in Spring
Java Tech Workshop
Java Tech Workshop
Jun 29, 2026 · Backend Development

Zero‑Intrusion AOP for Global API Logging in Spring Boot

The article explains how to implement a zero‑intrusion, AOP‑based global API logging solution for Spring Boot applications, addressing common issues of manual logging such as code clutter, missing logs, inconsistent formats, privacy leaks, and performance overhead by using repeatable request wrappers, configurable filters, structured DTOs, asynchronous persistence, and comprehensive trace and desensitization utilities.

AOPAPI LoggingRequest Wrapper
0 likes · 19 min read
Zero‑Intrusion AOP for Global API Logging in Spring Boot
Java Tech Workshop
Java Tech Workshop
Jun 28, 2026 · Backend Development

Inside Spring AOP: Full Lifecycle of Proxy Object Creation

The article provides a step‑by‑step analysis of Spring AOP’s proxy creation process, explaining why some beans are proxied, how @Order, @EnableAspectJAutoProxy, proxyTargetClass and exposeProxy affect proxying, the differences between JDK and CGLIB proxies, and why private, static or final methods cannot be intercepted.

AOPAspectJBean Lifecycle
0 likes · 15 min read
Inside Spring AOP: Full Lifecycle of Proxy Object Creation
Java Tech Workshop
Java Tech Workshop
Jun 27, 2026 · Backend Development

Why Do final, static, and private Methods Escape Spring AOP Proxying?

The article explains that Spring AOP cannot intercept methods marked as private, static, or final because JDK dynamic proxies only work on public interface methods and CGLIB subclasses cannot override such methods, leading to static matching but dynamic execution failure, self‑invocation bypass, and complete loss of advice for these method types.

AOPCGLIBJDK Proxy
0 likes · 11 min read
Why Do final, static, and private Methods Escape Spring AOP Proxying?
Java Tech Workshop
Java Tech Workshop
Jun 26, 2026 · Backend Development

Controlling Execution Order in Multi‑Layer Spring AOP Aspect Nesting

When a Spring project uses more than two AOP aspects, the resulting multi‑layer nesting can cause sensitive data leaks, excessive logging, missed alerts, inconsistent responses, and random bugs; this article explains why ordering issues occur, how the onion model works, and provides concrete configuration strategies to achieve deterministic execution order.

Aspect OrderExecution ChainMulti-layer Nesting
0 likes · 15 min read
Controlling Execution Order in Multi‑Layer Spring AOP Aspect Nesting
Java Tech Workshop
Java Tech Workshop
Jun 25, 2026 · Backend Development

Mastering Spring AOP Pointcut Expressions: Precise execution and @annotation Matching Techniques

This article explains why many Spring AOP pointcuts fail, clarifies the execution and @annotation expressions, details wildcard usage, presents dozens of concrete pointcut examples, compares their granularity and performance, and offers best‑practice tips to avoid common pitfalls in real‑world Java projects.

AnnotationJavaPointcut
0 likes · 15 min read
Mastering Spring AOP Pointcut Expressions: Precise execution and @annotation Matching Techniques
Java Tech Workshop
Java Tech Workshop
Jun 24, 2026 · Backend Development

Mastering Spring AOP: All Four Types of Advice Explained

Spring AOP provides five distinct advice types—@Before, @AfterReturning, @AfterThrowing, @After, and @Around—each with specific execution timing; this guide explains their purposes, execution order, common pitfalls, and offers a complete SpringBoot example with code, Maven setup, and logging demonstrations.

AOPBackendJava
0 likes · 13 min read
Mastering Spring AOP: All Four Types of Advice Explained
Java Tech Workshop
Java Tech Workshop
Jun 23, 2026 · Backend Development

Request vs Session Scope: Usage Scenarios and Thread‑Safety Pitfalls in Java Web

Understanding the lifecycle, scope, and thread characteristics of HttpServletRequest and HttpSession reveals common misuse that leads to data corruption, login state errors, and lost cart data; the article explains core differences, proper use cases, real‑world bug examples, and practical solutions such as read‑only policies, synchronization, thread‑safe collections, and Redis‑based session storage.

JavaRequest ScopeSession Scope
0 likes · 14 min read
Request vs Session Scope: Usage Scenarios and Thread‑Safety Pitfalls in Java Web