Tag

AutoConfiguration

0 views collected around this technical thread.

Top Architecture Tech Stack
Top Architecture Tech Stack
Feb 24, 2025 · Backend Development

Optimizing SpringBoot Startup Time: Analyzing and Reducing Bean Scanning and Initialization Overheads

This article investigates why a SpringBoot service takes 6‑7 minutes to start, identifies the costly bean‑scanning and bean‑initialization phases, and demonstrates how to speed up startup to around 40 seconds using custom SpringApplicationRunListener, BeanPostProcessor monitoring, JavaConfig selective bean registration, and cache auto‑configuration adjustments.

AutoConfigurationSpringBootbackend development
0 likes · 20 min read
Optimizing SpringBoot Startup Time: Analyzing and Reducing Bean Scanning and Initialization Overheads
Top Architecture Tech Stack
Top Architecture Tech Stack
Jan 20, 2025 · Backend Development

Optimizing SpringBoot Startup Time: Reducing Bean Scanning Overhead and Monitoring Bean Initialization

This article explains how to diagnose and dramatically reduce SpringBoot startup latency by analyzing SpringApplicationRunListener and BeanPostProcessor phases, limiting component scanning paths, using JavaConfig for explicit bean registration, monitoring bean initialization times, and handling auto-configuration pitfalls such as cache manager duplication.

AutoConfigurationBeanScanningJavaConfig
0 likes · 19 min read
Optimizing SpringBoot Startup Time: Reducing Bean Scanning Overhead and Monitoring Bean Initialization
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 8, 2024 · Backend Development

Understanding the Spring Boot Startup Process

This article explains the Spring Boot startup mechanism, covering the @SpringBootApplication entry annotation, its constituent annotations, the role of SpringApplication.run, and the step‑by‑step initialization flow that powers Java backend applications.

AutoConfigurationBackendConfiguration
0 likes · 3 min read
Understanding the Spring Boot Startup Process
Code Ape Tech Column
Code Ape Tech Column
Jul 10, 2024 · Backend Development

Optimizing SpringBoot Startup Time: Diagnosing Bean Scanning and Initialization Bottlenecks

This article explains how to identify and resolve the severe startup latency of a SpringBoot service by analyzing the SpringApplicationRunListener and BeanPostProcessor stages, narrowing scan packages, manually registering beans with JavaConfig, and handling cache auto‑configuration to reduce launch time from minutes to seconds.

AutoConfigurationBeanPostProcessorSpringBoot
0 likes · 18 min read
Optimizing SpringBoot Startup Time: Diagnosing Bean Scanning and Initialization Bottlenecks
Selected Java Interview Questions
Selected Java Interview Questions
May 31, 2024 · Backend Development

Flexible Switching Between Spring @Scheduled and XXL‑JOB for Scheduled Tasks

This article explains how to implement a configuration‑driven mechanism that dynamically switches between Spring's native @Scheduled tasks and XXL‑JOB execution, automatically registers jobs, disables Spring's scheduler when needed, and forwards logs to the XXL‑JOB console, providing a complete starter solution for backend developers.

AutoConfigurationBackendJava
0 likes · 25 min read
Flexible Switching Between Spring @Scheduled and XXL‑JOB for Scheduled Tasks
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 24, 2024 · Backend Development

Mastering Custom Spring Boot Starters: Version Differences & Real‑World AOP Example

This article explains what custom Spring Boot starters are, why they are useful, outlines the annotation and configuration file changes across Spring Boot 2.6, 2.7 and 3.x, and provides a complete AOP‑based starter implementation with code samples.

AOPAutoConfigurationCustom Starter
0 likes · 8 min read
Mastering Custom Spring Boot Starters: Version Differences & Real‑World AOP Example
Java Architect Essentials
Java Architect Essentials
Jan 23, 2024 · Backend Development

Optimizing SpringBoot Startup Time: Analyzing and Reducing Bean Scanning and Initialization Overhead

This article investigates why a SpringBoot service takes 6‑7 minutes to start, identifies the heavy cost of component scanning and bean post‑processing, demonstrates how to monitor each phase with custom SpringApplicationRunListener and BeanPostProcessor implementations, and presents practical JavaConfig and starter‑based solutions that cut startup time from minutes to seconds.

AutoConfigurationBeanScanningJavaConfig
0 likes · 18 min read
Optimizing SpringBoot Startup Time: Analyzing and Reducing Bean Scanning and Initialization Overhead
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 16, 2023 · Backend Development

Understanding Spring Boot Starters: Principles, Customization, and Implementation

This article explains the concept and inner workings of Spring Boot Starters, demonstrates how they simplify dependency management and auto‑configuration, and provides a step‑by‑step guide to creating and using a custom Starter with full code examples.

AutoConfigurationJavaSpring Boot
0 likes · 10 min read
Understanding Spring Boot Starters: Principles, Customization, and Implementation
Architecture Digest
Architecture Digest
Oct 23, 2023 · Backend Development

Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Initialization Bottlenecks

This article investigates why a SpringBoot service takes 6‑7 minutes to start, identifies the bean‑scanning and bean‑initialization phases as the main performance culprits, and presents concrete JavaConfig and starter‑based solutions to reduce startup time to around 40 seconds while handling cache auto‑configuration pitfalls.

AutoConfigurationBeanScanningJavaConfig
0 likes · 19 min read
Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Initialization Bottlenecks
Top Architect
Top Architect
Mar 28, 2023 · Backend Development

Optimizing SpringBoot Startup Time: Diagnosing Bean Scanning and Initialization Bottlenecks

This article explains how to identify and reduce the excessive startup latency of a SpringBoot service by profiling the run method, customizing SpringApplicationRunListener and BeanPostProcessor, trimming component‑scan paths, and leveraging JavaConfig and starter mechanisms to avoid unnecessary bean loading and auto‑configuration overhead.

AutoConfigurationBeanScanningJavaConfig
0 likes · 18 min read
Optimizing SpringBoot Startup Time: Diagnosing Bean Scanning and Initialization Bottlenecks
Architect
Architect
Mar 25, 2023 · Backend Development

Optimizing SpringBoot Startup Time: Diagnosing Bean Scanning and Initialization Bottlenecks

This article analyzes why a SpringBoot service takes minutes to start, identifies the bean‑scanning and bean‑initialization phases as the main performance culprits, and presents practical solutions such as narrowing scan packages, using JavaConfig for explicit bean registration, customizing SpringApplicationRunListener and BeanPostProcessor for timing, and leveraging SpringBoot starter mechanisms to streamline cache configuration.

AutoConfigurationBeanScanningJavaConfig
0 likes · 18 min read
Optimizing SpringBoot Startup Time: Diagnosing Bean Scanning and Initialization Bottlenecks
Code Ape Tech Column
Code Ape Tech Column
Feb 20, 2023 · Backend Development

Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Injection Bottlenecks

This article explains how to diagnose and dramatically reduce the long startup time of a SpringBoot service by profiling the SpringApplicationRunListener and BeanPostProcessor phases, trimming excessive component scanning, manually configuring beans with JavaConfig, and understanding the impact of SpringBoot's auto‑configuration mechanisms.

AutoConfigurationBeanPostProcessorBeanScanning
0 likes · 18 min read
Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Injection Bottlenecks
Top Architect
Top Architect
Mar 16, 2022 · Backend Development

Deep Dive into SpringBoot Startup, Auto‑Configuration, Event‑Driven Architecture, and Conditional Annotations

This article provides an in‑depth analysis of SpringBoot’s startup process, automatic configuration mechanism, event‑driven architecture, and conditional annotation handling, illustrating key source code snippets and explaining how the framework loads and initializes beans, listeners, and embedded Tomcat server.

AutoConfigurationBackendJava
0 likes · 25 min read
Deep Dive into SpringBoot Startup, Auto‑Configuration, Event‑Driven Architecture, and Conditional Annotations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 21, 2022 · Backend Development

How Spring Boot Auto‑Configures RabbitMQ Listeners: A Deep Dive

This article explains step‑by‑step how Spring Boot’s RabbitAutoConfiguration sets up connection factories, RabbitTemplate, listener containers, and lifecycle management to enable @RabbitListener‑driven message processing, complete with code examples and the underlying bean registration flow.

AutoConfigurationJavaMessage Listener
0 likes · 22 min read
How Spring Boot Auto‑Configures RabbitMQ Listeners: A Deep Dive
Selected Java Interview Questions
Selected Java Interview Questions
Dec 25, 2021 · Backend Development

Implementation Principles of Spring Boot Auto‑Configuration

This article explains how Spring Boot’s auto‑configuration works by describing the role of @SpringBootApplication, the conditional annotations that drive bean creation, the use of META‑INF/spring.factories, and provides a step‑by‑step example of building a custom auto‑configuration module with full code samples.

AnnotationsAutoConfigurationBackend
0 likes · 9 min read
Implementation Principles of Spring Boot Auto‑Configuration
vivo Internet Technology
vivo Internet Technology
Apr 7, 2021 · Backend Development

Analysis of SpringBoot's @SpringBootApplication Annotation

The article dissects Spring Boot’s @SpringBootApplication annotation, revealing it as a composite of seven meta‑annotations—including @SpringBootConfiguration, @EnableAutoConfiguration and @ComponentScan—and explains the underlying registrar, import selector, metadata loading, and exclusion mechanisms that together drive Spring Boot’s automatic configuration process.

AutoConfigurationBackendComponentScan
0 likes · 12 min read
Analysis of SpringBoot's @SpringBootApplication Annotation
Selected Java Interview Questions
Selected Java Interview Questions
Aug 6, 2020 · Backend Development

Understanding SpringBoot @SpringBootApplication, Core Annotations and the Startup Process

This article explains the composition of the @SpringBootApplication annotation, details the roles of @Configuration, @ComponentScan and @EnableAutoConfiguration, and walks through the SpringApplication.run execution flow and the underlying auto‑configuration mechanism that powers Spring Boot applications.

AnnotationsAutoConfigurationBackend
0 likes · 16 min read
Understanding SpringBoot @SpringBootApplication, Core Annotations and the Startup Process
Java Captain
Java Captain
Apr 25, 2020 · Backend Development

Deep Dive into Spring Boot Auto‑Configuration Mechanism

This article examines Spring Boot's auto‑configuration process by analyzing the source code of @SpringBootApplication, @EnableAutoConfiguration, and related classes, explaining how the framework loads configuration classes via SpringFactoriesLoader, processes deferred import selectors, and integrates with the application context during startup.

AutoConfigurationBackendJava
0 likes · 26 min read
Deep Dive into Spring Boot Auto‑Configuration Mechanism
Java Captain
Java Captain
Aug 18, 2019 · Backend Development

Understanding Spring Boot Startup: @SpringBootApplication, Core Annotations, and Auto‑Configuration Process

This article explains the inner workings of a Spring Boot application startup class, detailing the composite @SpringBootApplication annotation, the roles of @Configuration, @ComponentScan, and @EnableAutoConfiguration, and walks through the SpringApplication execution flow and the auto‑configuration mechanism powered by SpringFactoriesLoader.

AnnotationsAutoConfigurationBackend
0 likes · 46 min read
Understanding Spring Boot Startup: @SpringBootApplication, Core Annotations, and Auto‑Configuration Process