Tagged articles
26 articles
Page 1 of 1
Tech Freedom Circle
Tech Freedom Circle
Dec 20, 2025 · Backend Development

How SpringBoot Loads Classes: Deep Dive into ClassLoaders and Bean Creation

This article dissects the SpringBoot class‑loading mechanism, explaining how the JVM parent‑delegation model is selectively overridden with custom class loaders like LaunchedURLClassLoader and RestartClassLoader, and how these changes integrate with Spring's bean lifecycle, auto‑configuration, and practical troubleshooting techniques.

DevToolsJavaSpringBoot
0 likes · 37 min read
How SpringBoot Loads Classes: Deep Dive into ClassLoaders and Bean Creation
Architect's Tech Stack
Architect's Tech Stack
Aug 28, 2025 · Backend Development

Unlock Spring Boot’s Hidden Power: Built‑in Tools Every Backend Engineer Should Master

This article walks through Spring Boot’s most useful built‑in features—including request logging, content‑caching wrappers, OncePerRequestFilter, AOP utilities, starter auto‑configuration, flexible property binding, async scheduling, Actuator monitoring, and SpEL expressions—showing how to apply them with concise code examples to boost productivity and reliability.

ActuatorFiltersSpEL
0 likes · 14 min read
Unlock Spring Boot’s Hidden Power: Built‑in Tools Every Backend Engineer Should Master
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.

Backend DevelopmentCachePerformance Optimization
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.

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

BackendJavaSpring Boot
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.

Cacheautoconfigurationbean-scan
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.

BackendJavaScheduledTasks
0 likes · 25 min read
Flexible Switching Between Spring @Scheduled and XXL‑JOB for Scheduled Tasks
JavaEdge
JavaEdge
May 21, 2024 · Backend Development

How to Integrate ShardingSphere with Spring and Spring Boot

This guide explains the two integration mechanisms ShardingSphere provides for Spring—namespace‑based XML schema extension and custom starter for Spring Boot—detailing the required classes, configuration files, bean definitions, and annotations to enable sharding, read‑write splitting, and encryption in a Java backend.

DataSourceJava backendShardingSphere
0 likes · 14 min read
How to Integrate ShardingSphere with Spring and Spring Boot
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.

BeanScanningCacheJavaConfig
0 likes · 18 min read
Optimizing SpringBoot Startup Time: Analyzing and Reducing Bean Scanning and Initialization Overhead
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.

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

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

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

BeanScanningJavaConfigPerformanceOptimization
0 likes · 18 min read
Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Injection Bottlenecks
Programmer DD
Programmer DD
May 25, 2022 · Backend Development

Effortlessly Manage Spring Boot Config Files with mica-auto

This article introduces the mica-auto open‑source tool that uses Java annotation processing to automatically generate Spring Boot configuration files like spring.factories and AutoConfiguration.imports, and provides step‑by‑step instructions for integrating it into a Maven project.

Annotation ProcessorJavaSpring Boot
0 likes · 4 min read
Effortlessly Manage Spring Boot Config Files with mica-auto
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.

ConditionalJavaSpringBoot
0 likes · 25 min read
Deep Dive into SpringBoot Startup, Auto‑Configuration, Event‑Driven Architecture, and Conditional Annotations
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.

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

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

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

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

FrameworkJavaSpringBoot
0 likes · 46 min read
Understanding Spring Boot Startup: @SpringBootApplication, Core Annotations, and Auto‑Configuration Process
Senior Brother's Insights
Senior Brother's Insights
Apr 6, 2019 · Backend Development

Understanding Spring Boot’s Main Class and Key Annotations

This article explains how Spring Boot’s automatically generated Application class serves as the entry point, details the @SpringBootApplication annotation and its composed annotations, and shows how to customize component scanning and disable unwanted auto‑configurations using @ComponentScan and @EnableAutoConfiguration with practical code examples.

BackendJavaSpringBoot
0 likes · 6 min read
Understanding Spring Boot’s Main Class and Key Annotations