Tagged articles

BeanLoading

2 articles · Page 1 of 1
Java Tech Workshop
Java Tech Workshop
Jul 3, 2026 · Backend Development

Mastering SpringBoot @Conditional Annotations for On‑Demand Bean Loading

The article explains how SpringBoot’s @Conditional meta‑annotation enables dynamic, zero‑intrusion bean creation by replacing hard‑coded if‑logic, details the underlying Condition and ConditionContext APIs, execution order, performance benefits, built‑in derived annotations across six categories, and shows practical code examples and custom condition implementations.

@ConditionalAutoConfigurationBeanLoading
0 likes · 16 min read
Mastering SpringBoot @Conditional Annotations for On‑Demand Bean Loading
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.

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