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.

178
Articles
0
Likes
1.4k
Views
0
Comments
Recent Articles

Latest from Java Tech Workshop

100 recent articles max
Java Tech Workshop
Java Tech Workshop
Sep 21, 2026 · Backend Development

Spring factory-method Explained: Bean Instantiation, Source Code & 5 Common Errors

This article explains Spring's factory-method mechanism for Bean instantiation, covering three instantiation types, static vs instance factory methods, XML and annotation configuration, source code internals including CGLIB proxying, five common errors with troubleshooting steps, and best practices for @Bean usage.

@BeanBean instantiationBest Practices
0 likes · 17 min read
Spring factory-method Explained: Bean Instantiation, Source Code & 5 Common Errors
Java Tech Workshop
Java Tech Workshop
Sep 20, 2026 · Backend Development

Order Timeout Auto-Cancellation: RabbitMQ Delayed Queue + Scheduled Task Dual Insurance Pattern

This article details a production-ready dual-insurance pattern for e-commerce order timeout cancellation, combining RabbitMQ delayed message queues for real-time processing with scheduled database scans as a fallback, including Spring Boot implementation code, idempotent cancellation logic, and distributed deployment considerations.

IdempotencyMessage QueueRabbitMQ
0 likes · 16 min read
Order Timeout Auto-Cancellation: RabbitMQ Delayed Queue + Scheduled Task Dual Insurance Pattern
Java Tech Workshop
Java Tech Workshop
Sep 17, 2026 · Backend Development

Spring Boot 4.1 InetAddressFilter: Source-Level SSRF Protection Against Internal IPs & Cloud Metadata

This article dissects Spring Boot 4.1's built-in InetAddressFilter, showing how a single @Bean declaration blocks SSRF attacks by validating resolved IPs against private, loopback, link-local (including 169.254.169.254 cloud metadata), and multicast ranges before TCP connections are made, with automatic integration across RestClient, RestTemplate, and WebClient.

HTTP Client SecurityInetAddressFilterSSRF protection
0 likes · 19 min read
Spring Boot 4.1 InetAddressFilter: Source-Level SSRF Protection Against Internal IPs & Cloud Metadata
Java Tech Workshop
Java Tech Workshop
Sep 12, 2026 · Fundamentals

Java Generics Erasure Deep Dive: What Gets Erased, Bridge Methods, and Runtime Type Recovery

This article explains Java generics erasure rules, why erasure exists for backward compatibility, how the compiler inserts checkcast instructions, the purpose and mechanics of bridge methods, how generic signatures survive in class files via the Signature attribute, and how reflection and TypeToken patterns recover type information at runtime.

Bridge MethodsJVMJava Generics
0 likes · 25 min read
Java Generics Erasure Deep Dive: What Gets Erased, Bridge Methods, and Runtime Type Recovery
Java Tech Workshop
Java Tech Workshop
Sep 10, 2026 · Backend Development

@Async Deep Dive: Fixing Transaction Loss, MDC Context Loss, and Silent Exception Swallowing

This article explains why Spring's @Async annotation causes transaction rollback failures, MDC traceId loss in async threads, and silent exception swallowing, then provides production-ready solutions including separate service classes, TaskDecorator for MDC propagation, custom AsyncUncaughtExceptionHandler, and proper thread pool configuration.

AOPExceptionHandlingMDC
0 likes · 26 min read
@Async Deep Dive: Fixing Transaction Loss, MDC Context Loss, and Silent Exception Swallowing
Java Tech Workshop
Java Tech Workshop
Sep 9, 2026 · Fundamentals

Why Your Custom java.lang.String Can Never Replace the JDK's String

This article explains why a custom java.lang.String class cannot replace the JDK's String, detailing the parent delegation class loading model, Bootstrap ClassLoader's role, core class protection mechanisms, Java 9+ module system restrictions, and why attempts to bypass these (custom class loaders, -Xbootclasspath, --patch-module, Java Agents) fail or are unsafe.

Bootstrap ClassLoaderClass LoadingCore Class Protection
0 likes · 23 min read
Why Your Custom java.lang.String Can Never Replace the JDK's String