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.

92
Articles
0
Likes
62
Views
0
Comments
Recent Articles

Latest from Java Tech Workshop

92 recent articles
Java Tech Workshop
Java Tech Workshop
Apr 16, 2026 · Backend Development

Implementing API Rate Limiting in Spring Boot with AOP

This tutorial walks through why API rate limiting is a critical first line of defense for backend services, compares fixed‑window and sliding‑window strategies, and shows how to create a custom @RateLimit annotation, utility classes, an AOP aspect, Redis or local storage, and unified exception handling, providing complete code and test scenarios for Spring Boot 2.7.x.

AOPFixed WindowJava
0 likes · 31 min read
Implementing API Rate Limiting in Spring Boot with AOP
Java Tech Workshop
Java Tech Workshop
Apr 15, 2026 · Backend Development

Implementing Operation Logging in SpringBoot with AOP

This article walks through a complete, step‑by‑step implementation of operation logging in a SpringBoot application using Spring AOP, covering log field design, Maven dependencies, entity and custom annotation creation, aspect definition with around advice, testing endpoints, and practical optimization tips such as real user extraction, database persistence, and sensitive data masking.

AOPAspectJBackend
0 likes · 17 min read
Implementing Operation Logging in SpringBoot with AOP
Java Tech Workshop
Java Tech Workshop
Apr 15, 2026 · Backend Development

Understanding Spring AOP’s Four Core Concepts: Aspect, Advice, Pointcut, and Weaving

The article explains Spring AOP’s four fundamental components—pointcut, advice, aspect, and weaving—using a school security analogy and concrete code examples to show how they enable non‑intrusive enhancements such as logging, permission checks, and exception handling in a Spring application.

AdviceAspectAspect-Oriented Programming
0 likes · 11 min read
Understanding Spring AOP’s Four Core Concepts: Aspect, Advice, Pointcut, and Weaving
Java Tech Workshop
Java Tech Workshop
Apr 14, 2026 · Backend Development

Mastering SpringBoot Dependency Management with BOM and Version Control

This article explains why SpringBoot projects need centralized dependency management, introduces the concept of a Maven/Gradle BOM, and walks through three practical scenarios—using the parent BOM, manually importing it, and overriding versions—while highlighting common pitfalls and best‑practice solutions.

bomdependency-managementmaven
0 likes · 12 min read
Mastering SpringBoot Dependency Management with BOM and Version Control
Java Tech Workshop
Java Tech Workshop
Apr 14, 2026 · Backend Development

How to Exclude Specific Auto‑Configurations in SpringBoot: 5 Practical Methods

This article explains SpringBoot's auto‑configuration mechanism, why exclusions are needed, and walks through five concrete ways to exclude unwanted auto‑configurations—including annotation‑based, name‑based, YAML/property file, @EnableAutoConfiguration, and autoconfigure.exclude file approaches—while comparing their priorities, advantages, and suitable scenarios, and offering troubleshooting tips for common pitfalls.

Auto-configurationBackendJava
0 likes · 8 min read
How to Exclude Specific Auto‑Configurations in SpringBoot: 5 Practical Methods
Java Tech Workshop
Java Tech Workshop
Apr 13, 2026 · Backend Development

Understanding SpringBoot Extension Points: ApplicationContextInitializer vs ApplicationListener

This article explains the two core SpringBoot extension points—ApplicationContextInitializer for pre‑startup configuration and ApplicationListener for post‑event handling—detailing their purpose, execution timing, source code, registration methods, ordering control, common use cases, and a side‑by‑side comparison to help developers master SpringBoot's flexible extension mechanism.

ApplicationContextInitializerApplicationListenerJava
0 likes · 31 min read
Understanding SpringBoot Extension Points: ApplicationContextInitializer vs ApplicationListener
Java Tech Workshop
Java Tech Workshop
Apr 13, 2026 · Backend Development

Understanding SpringBoot Startup: From main() to Web Container Initialization

This article walks through the complete SpringBoot startup sequence, starting with the main method annotated with @SpringBootApplication, detailing the creation of SpringApplication, environment preparation, context initialization, bean loading, embedded web server setup, event publishing, and final readiness, with code examples and common pitfalls.

EmbeddedTomcatEventDrivenSpringApplication
0 likes · 18 min read
Understanding SpringBoot Startup: From main() to Web Container Initialization
Java Tech Workshop
Java Tech Workshop
Apr 12, 2026 · Backend Development

Understanding SpringBoot’s Environment and PropertySource: Core Concepts and Practical Usage

The article explains SpringBoot’s configuration architecture, detailing how the Environment facade and PropertySource abstractions manage all settings, the loading order, key APIs, debugging techniques, custom PropertySource extensions, and dynamic refresh, enabling developers to resolve priority conflicts and implement advanced configuration scenarios.

DevOpsEnvironmentJava
0 likes · 22 min read
Understanding SpringBoot’s Environment and PropertySource: Core Concepts and Practical Usage
Java Tech Workshop
Java Tech Workshop
Apr 11, 2026 · Backend Development

Why @ConfigurationProperties Is the Preferred Way to Bind Configurations in SpringBoot

This article explains how @ConfigurationProperties provides batch binding, type safety, relaxed key matching, and validation for SpringBoot configuration, compares it with @Value, and walks through practical examples—including simple bindings, nested objects, collections, maps, validation, multi‑environment profiles, and advanced features like hot‑refresh and custom starters.

Javaconfiguration-bindingconfigurationproperties
0 likes · 25 min read
Why @ConfigurationProperties Is the Preferred Way to Bind Configurations in SpringBoot
Java Tech Workshop
Java Tech Workshop
Apr 11, 2026 · Backend Development

Why SpringBoot Auto‑Configuration Loading Order Matters and How to Control It

Understanding the loading order and priority of SpringBoot auto‑configuration classes is crucial because it determines conditional bean registration, prevents conflicts, and enables custom configurations to override defaults; the article explains the default hierarchy, key annotations for ordering, the new @AutoConfiguration mechanism in 2.7+, and practical debugging techniques.

AnnotationsAutoConfigurationBeanLoading
0 likes · 23 min read
Why SpringBoot Auto‑Configuration Loading Order Matters and How to Control It