Architect's Tech Stack
Author

Architect's Tech Stack

Java backend, microservices, distributed systems, containerized programming, and more.

608
Articles
0
Likes
2.0k
Views
0
Comments
Recent Articles

Latest from Architect's Tech Stack

100 recent articles max
Architect's Tech Stack
Architect's Tech Stack
Sep 29, 2025 · Backend Development

Unlock Java Productivity: How Hutool Simplifies Common Tasks

This article introduces the open‑source Java utility library Hutool, showcasing how its concise APIs for date handling, file I/O, HTTP requests, encryption, and general utilities can dramatically reduce boiler‑plate code and boost developer efficiency.

File I/OHTTPHutool
0 likes · 8 min read
Unlock Java Productivity: How Hutool Simplifies Common Tasks
Architect's Tech Stack
Architect's Tech Stack
Sep 28, 2025 · Backend Development

Boost Your Java Project Setup: One-Click Maven Multi-Module Generation

This article introduces a custom IntelliJ IDEA plugin that automates the creation of Maven multi‑module Java projects, turning a tedious half‑hour setup into a 30‑second one‑click process, while offering smart dependency wiring, customizable templates, and detailed installation and usage instructions.

IntelliJ IDEAJavaPlugin
0 likes · 10 min read
Boost Your Java Project Setup: One-Click Maven Multi-Module Generation
Architect's Tech Stack
Architect's Tech Stack
Sep 27, 2025 · Backend Development

Ensuring Transaction Rollback in Multi‑Threaded Java Services

This article explains why @Transactional fails in multi‑threaded Spring services, provides a utility for splitting large data sets, shows thread‑pool configuration, demonstrates a failing transaction scenario, and presents a solution using manual MyBatis sqlSession commit to guarantee atomic rollback across all threads.

JavaMyBatisSpring
0 likes · 10 min read
Ensuring Transaction Rollback in Multi‑Threaded Java Services
Architect's Tech Stack
Architect's Tech Stack
Sep 25, 2025 · Backend Development

Auto‑Inject UserId and OrderId into Logs with Spring AOP and MDC

This article explains how to eliminate manual logging of user and order identifiers in Java e‑commerce services by using Log4j2 placeholders, ThreadLocal, MDC, a custom @UserLog annotation, and Spring AOP to automatically enrich log messages with these contextual fields.

AnnotationJava loggingMDC
0 likes · 9 min read
Auto‑Inject UserId and OrderId into Logs with Spring AOP and MDC
Architect's Tech Stack
Architect's Tech Stack
Sep 23, 2025 · Backend Development

Master SpringDoc: Minimal OpenAPI 3 Setup for Spring Boot

This tutorial walks through integrating SpringDoc into a Spring Boot project, covering why it replaces SpringFox, how to configure it with minimal settings, add API annotations, set up grouped documentation, and handle static resources and Spring Security for full Swagger UI access.

API documentationJavaOpenAPI
0 likes · 15 min read
Master SpringDoc: Minimal OpenAPI 3 Setup for Spring Boot
Architect's Tech Stack
Architect's Tech Stack
Sep 22, 2025 · Backend Development

How to Safely Split Distributed Transactions in Java: A Practical Guide

This article explains how to handle distributed consistency when a business operation writes to MySQL and calls external systems, using a financial reimbursement example to illustrate risks, analyzes the root cause, and presents a step‑by‑step solution that splits the large transaction into small, retryable units with code snippets and Spring optimization.

BPMDistributed TransactionMySQL
0 likes · 8 min read
How to Safely Split Distributed Transactions in Java: A Practical Guide