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
Jul 23, 2026 · Backend Development

Enforcing Clean Architecture in Spring Boot 3 with Maven Multi‑Module and ArchUnit

Spring Boot 3 projects quickly outgrow single‑module structures, so this guide shows how to split a codebase into Maven multi‑module layers, define clear dependency rules, configure parent and child POMs, and use ArchUnit tests to automatically enforce architectural boundaries during builds.

ArchUnitBackend DevelopmentLayered Architecture
0 likes · 27 min read
Enforcing Clean Architecture in Spring Boot 3 with Maven Multi‑Module and ArchUnit
Java Tech Workshop
Java Tech Workshop
Jul 22, 2026 · Backend Development

Spring Boot JWT Login Authentication with Seamless Refresh Explained

This article explains how to implement a double‑token JWT authentication scheme in Spring Boot 3.x, using short‑lived AccessTokens for API security and long‑lived RefreshTokens for seamless background renewal, while addressing token revocation, refresh thresholds, blacklist handling, and multi‑device considerations.

JWTSpring Bootauthentication
0 likes · 23 min read
Spring Boot JWT Login Authentication with Seamless Refresh Explained
Java Tech Workshop
Java Tech Workshop
Jul 21, 2026 · Backend Development

A Lighter‑Than‑MQ Async Solution: Spring’s Hidden Transactional Event Feature

The article explains how Spring’s built‑in @Async and TransactionalEventListener mechanisms provide a lightweight, zero‑dependency alternative to external message queues for local asynchronous processing, detailing their advantages, limitations, and production‑grade enhancements such as custom thread pools, dead‑letter persistence, and clustering strategies.

JavaMessage QueueSpring
0 likes · 17 min read
A Lighter‑Than‑MQ Async Solution: Spring’s Hidden Transactional Event Feature
Java Tech Workshop
Java Tech Workshop
Jul 20, 2026 · Backend Development

Spring Boot 4’s Underrated Feature: Spring Data AOT Explained

Spring Data AOT in Spring Boot 4 moves all repository parsing, reflection and query generation to compile time, dramatically cutting startup time, reducing memory and Metaspace usage, enabling compile‑time SQL validation, simplifying GraalVM native‑image configuration, and providing measurable performance gains backed by real‑world benchmarks.

AOTGraalVMJava
0 likes · 17 min read
Spring Boot 4’s Underrated Feature: Spring Data AOT Explained
Java Tech Workshop
Java Tech Workshop
Jul 18, 2026 · Backend Development

Spring Boot 4.0 + gRPC: Minimal Integration in 4 Steps, Faster Than REST

This tutorial shows how to integrate gRPC with Spring Boot 4.0 using the grpc‑spring‑boot‑starter in just four concise steps, covering a side‑by‑side comparison with REST, Maven setup, protobuf contract definition, server implementation, and client invocation with streaming support.

JavaProtobufSpring Boot
0 likes · 14 min read
Spring Boot 4.0 + gRPC: Minimal Integration in 4 Steps, Faster Than REST
Java Tech Workshop
Java Tech Workshop
Jul 17, 2026 · Backend Development

Production-Ready WebSocket Connection Pool for Real-Time Market Data with Load Balancing

The article analyzes the fatal issues of using raw WebSocket clients for high‑frequency market feeds and presents a production‑grade, reusable connection‑pool design that adds rate limiting, automatic reconnection, heartbeat, hash‑based load balancing, fault isolation and full lifecycle management to support stable delivery of hundreds of thousands of subscriptions.

Connection PoolHash ShardingJava
0 likes · 22 min read
Production-Ready WebSocket Connection Pool for Real-Time Market Data with Load Balancing
Java Tech Workshop
Java Tech Workshop
Jul 16, 2026 · Backend Development

How to Distinguish Real Users from Scalper Bots in Flash Sale Systems

The article presents a comprehensive five‑layer risk‑control architecture—covering front‑end behavior verification, device fingerprinting, account profiling, IP network analysis, and backend request sequencing—designed to separate genuine shoppers from scalper scripts during high‑traffic flash‑sale events, using Redis‑based storage and dynamic thresholds to minimize false positives.

Redisbackendbot detection
0 likes · 21 min read
How to Distinguish Real Users from Scalper Bots in Flash Sale Systems
Java Tech Workshop
Java Tech Workshop
Jul 15, 2026 · Backend Development

Generating Trillions of Unique Order IDs Without Collisions

The article analyzes why simple auto‑increment or timestamp‑based IDs fail at massive scales, compares common distributed ID schemes, and presents an improved Snowflake‑plus‑segment hybrid solution with clock‑rollback protection, automatic machine/room allocation, and production‑grade safeguards for trillion‑level order processing.

JavaMySQLSnowflake
0 likes · 19 min read
Generating Trillions of Unique Order IDs Without Collisions
Java Tech Workshop
Java Tech Workshop
Jul 14, 2026 · Backend Development

Build a Smart Vending Cabinet with Spring Boot and WeChat Pay: Scan‑to‑Open and Auto‑Deduction

This article details a complete Spring Boot implementation of a smart vending cabinet that uses WeChat QR‑code scanning to open doors, reports purchased items, and automatically deducts payment via WeChat's no‑password delegated‑deduction API, covering configuration, database design, code examples, and error‑handling strategies.

Auto DeductionBackend IntegrationQR code
0 likes · 22 min read
Build a Smart Vending Cabinet with Spring Boot and WeChat Pay: Scan‑to‑Open and Auto‑Deduction
Java Tech Workshop
Java Tech Workshop
Jul 13, 2026 · Backend Development

Why Switch from WebSocket to MQTT for Real‑Time Messaging?

The article analyzes the limitations of native WebSocket for large‑scale, low‑bandwidth, and unreliable‑network scenarios and demonstrates how MQTT, especially with EMQX, provides built‑in message routing, QoS levels, offline storage, and effortless clustering, reducing development and operational overhead.

EMQXIoTMQTT
0 likes · 16 min read
Why Switch from WebSocket to MQTT for Real‑Time Messaging?