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

Build a Leave Approval Workflow in Spring Boot with Flowable Using Three Annotations

This article shows how to replace hard‑coded if‑else approval logic with Flowable workflow in a Spring Boot 3.x project, using the three core annotations @EnableProcessApplication, @Deployment and @ProcessVariable to auto‑configure the engine, deploy BPMN files, inject variables, and implement a complete leave‑request service.

BPMNFlowableSpring Boot
0 likes · 16 min read
Build a Leave Approval Workflow in Spring Boot with Flowable Using Three Annotations
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.

AuthenticationBackendJWT
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.

@AsyncJavaSpring
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.

Hash ShardingHigh AvailabilityJava
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.

BackendRate LimitingRedis
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