This article explains how @EnableWebMvc imports WebMvcConfigurationSupport, triggering @ConditionalOnMissingBean to skip WebMvcAutoConfiguration entirely, causing loss of static resource mapping, custom message converters, content negotiation, and spring.mvc.* properties, while showing the correct pattern of implementing WebMvcConfigurer without the annotation.
This article explains Spring Boot's auto-configuration mechanism, covering how @EnableAutoConfiguration triggers AutoConfigurationImportSelector, loads candidate classes from META-INF imports files, evaluates conditional annotations like @ConditionalOnClass and @ConditionalOnMissingBean at different phases, orders configurations via @AutoConfigureBefore/After, binds properties with @ConfigurationProperties, and troubleshoots silent failures using --debug and ConditionEvaluationReport.
This comprehensive guide walks through creating a production-ready Spring Boot 3.x starter, covering auto-configuration mechanics, conditional annotations, configuration properties, registration files, and a complete token-bucket rate-limiter implementation with AOP, plus debugging tips and common pitfalls.
This comprehensive guide dissects Spring Boot's core mechanisms including auto-configuration internals, the nine-step startup process from main() to port binding, embedded Tomcat initialization, configuration binding, and fat JAR loading, with source code references and a structured learning path for mastering the framework.
A developer shares their successful China Merchants Bank Java backend interview experience, detailing 20 technical questions covering HashMap, ConcurrentHashMap, synchronization, thread pools, Redis cache penetration, MySQL indexing, Spring Boot auto-configuration, Agent memory, RAG, multi-agent orchestration, and more, with answers and preparation tips.
This comprehensive guide covers Spring Framework 6.x and Spring Boot 3.x internals, including version migration, IoC/DI mechanisms, AOP proxy creation, bean lifecycle, circular dependency resolution, Spring MVC request processing, transaction management, auto-configuration, AOT compilation, and a structured learning roadmap with best practices.
This article explains why Spring Cloud Gateway cannot coexist with Spring MVC due to fundamental model differences, and details how Spring Boot's DeferredImportSelector and conditional annotations enable intelligent auto-configuration by evaluating classpath, beans, and environment at runtime.
This article explains why adding a Spring Boot starter dependency instantly creates the required beans without XML or manual configuration, walks through the auto‑configuration mechanism—including @EnableAutoConfiguration, AutoConfigurationImportSelector, and conditional annotations—and shows step‑by‑step how to build a custom starter from scratch with Maven, configuration properties, an aspect, and registration files.
This article provides a step‑by‑step guide to testing Spring Boot 3.x auto‑configuration with JUnit 5 and ApplicationContextRunner, covering SpringFactoriesLoader loading, conditional annotation filtering, user‑defined bean overrides, exclusion mechanisms, and the new .imports file format, plus Maven and IDE run instructions.
Spring Boot’s auto‑configuration can become a bug hotspot; this article explains why overrides sometimes succeed, why they fail, the role of conditional annotations, and provides step‑by‑step strategies—including manual @Bean overrides, @Primary, and exclude mechanisms—to reliably diagnose and fix auto‑configuration issues.
The article walks through creating a custom Spring Boot starter that bundles common utilities such as unified response wrapping, global exception handling, type converters, thread pools, login context, and data masking, showing the standard two‑module structure, Maven setup, configuration properties, conditional annotations, and usage in a business project.
Spring Boot achieves zero‑XML, out‑of‑the‑box auto‑configuration by leveraging a custom SPI mechanism driven by @EnableAutoConfiguration, which replaces the legacy spring.factories with @AutoConfiguration imports, employs deferred import selectors, hierarchical ordering, and conditional annotations to dynamically load and prioritize beans.
This article walks through seven concrete Spring Boot startup optimizations—including lazy initialization, precise component scanning, JVM tuning, auto‑configuration slimming, class‑loading reduction, delayed database connections, and AOT/native compilation—showing real‑world benchmarks that cut launch times by around 70%.
The article analyzes why candidates fail by relying on raw question banks, presents three deep‑dive topics—auto‑configuration, distributed transaction management, and microservice componentization—with concrete case studies, and offers a curated list of 20 essential interview questions and answer strategies to help candidates demonstrate real‑world risk‑aware thinking.
The final installment of the Spring Boot source‑code series consolidates the previous six episodes—covering startup flow, auto‑configuration, IoC container, bean lifecycle, circular dependencies, and SPI—while providing a complete knowledge map, 20 interview‑question templates, practical study tips, and a roadmap for further learning and contribution.
This article explores the complete execution flow of Spring Boot’s auto‑configuration, detailing the role of @EnableAutoConfiguration, the AutoConfigurationImportSelector hierarchy, how candidate configurations are loaded from spring.factories, filtered by conditions, and how to create custom starters, with interview‑style Q&A.
This article dissects the @SpringBootApplication annotation, explaining how it combines @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan, and walks through the auto‑configuration mechanism, conditional annotations, and common interview questions with concrete code examples.
This article dissects the Spring Boot startup sequence step by step, showing how a minimal @SpringBootApplication triggers listeners, type deduction, auto‑configuration loading, environment preparation, IOC container creation, bean refresh, and embedded Tomcat launch, with interview‑ready explanations.
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.
This tutorial walks through the complete process of creating a custom Spring Boot starter—covering its core concepts, Maven setup, configuration properties, auto‑configuration class, conditional bean loading, packaging, testing, and best‑practice tips—so developers can encapsulate reusable components and plug them into other projects with zero configuration effort.
This article explains how SpringBoot uses the @Conditional family of annotations to control bean creation based on classpath presence, existing beans, configuration properties, resources, and application type, providing practical code examples, common pitfalls, custom condition creation, and interview questions.
Spring Boot follows the "Convention over Configuration" principle, yet most projects keep 80% of the configuration redundant; this article walks through 13 zero‑configuration features—from embedded servers and auto‑configured data sources to Actuator monitoring and multi‑environment profiles—showing concrete code examples, default values, and production‑grade tweaks that let developers dramatically reduce configuration files and write cleaner Java back‑ends.
This article presents seven concrete Spring Boot startup optimization techniques—including lazy bean initialization, precise component scanning, JVM flag tuning, auto‑configuration pruning, class‑loading shortcuts, lazy database connections, and GraalVM native compilation—backed by real‑world benchmarks that reduce launch times by up to 71% across e‑commerce, micro‑service, logistics and payment services.
This article walks through constructing a multi‑step AI comic‑generation agent using the LangGraphGo framework and the GoSkills plugin system, covering architecture design, declarative tool definitions, automatic configuration discovery, parameter conversion, code implementation, common pitfalls, best practices, and performance optimizations.
SpringBoot 3.0 drops the long‑standing spring.factories file in favor of per‑extension imports files, eliminating full‑classpath scans, improving startup speed, aligning with Java modules, and enabling seamless GraalVM native‑image support, while providing a clear migration path for existing projects.
This article walks through creating a custom Spring Boot starter that uses conditional auto‑configuration to provide primary and secondary data sources, DAOs, and services, enabling high‑frequency Dubbo calls to be replaced with direct database access and dramatically improving performance.
This article explores Spring Boot’s ten core and three extra features—including auto‑configuration, starters, externalized configuration, Actuator, DevTools, logging, transaction management, testing, and custom banners—showing how they simplify Java backend development, improve productivity, and enable production‑ready applications.
The article details how a high‑frequency Dubbo call bottleneck was resolved by creating a conditional Spring Boot auto‑configuration multi‑data‑source SDK that dynamically loads beans, avoids bean conflicts, and enables direct database access, dramatically reducing latency and system load.
This article walks through seven practical Spring Boot startup‑time optimizations—lazy initialization, precise component scanning, JVM tuning, auto‑configuration pruning, class‑loading reduction, lazy database connections, and AOT/layered compilation—backed by real‑world case studies and measurable performance gains.
This guide explores ten advanced Spring Boot features—including conditional auto‑configuration, configuration‑property precedence, asynchronous execution, task scheduling, startup and JVM tuning, test context caching, Actuator monitoring, security setup, multi‑datasource configuration, custom starter creation, and cloud‑native deployment—to help developers move from users to masters of the framework.
Spring Boot’s @Configuration annotation serves as a practical implementation of the Open/Closed Principle by providing declarative, type‑safe bean definitions, enabling closed‑for‑modification business logic while remaining open for extension through modular configuration, conditional beans, and auto‑configuration mechanisms.
This article provides a comprehensive, step‑by‑step breakdown of Spring Boot's auto‑configuration system, covering its core SPI‑based design, execution flow, conditional annotations, the evolution from spring.factories to the new .imports file in version 3.x, practical examples, custom configuration creation, and debugging techniques.
This article explains how to create a Spring Boot starter that lets you toggle between the native @Scheduled scheduler and XXL‑JOB at runtime via a configuration property, automatically scanning annotated methods, disabling Spring's tasks, and registering them as XXL‑JOB jobs with proper logging.
The article explains how the Java MCP SDK 0.11 adds Streamable HTTP support, compares it with the traditional HTTP+SSE approach, and walks through adding Maven dependencies, configuring Spring AI, creating custom auto‑configuration classes, implementing a Weibo trending tool, and deploying a fully functional Streamable HTTP MCP server.
This article demystifies Spring Boot's auto‑configuration by breaking it into four layers—annotation composition, loading engine, conditional assembly, and property binding—providing clear explanations, code examples, and common pitfalls to help developers ace interview questions and master backend development.
This article walks through the Spring AI MCP Client source code, showing how to set up a Java project, configure the MCP client, implement a demo controller, and dissect the auto‑configuration classes that assemble transport, client, and tool‑callback components during application startup.
This tutorial explains how to build a custom Spring Boot starter by detailing the auto‑configuration mechanism, loading custom properties, creating the starter and its pom files, and demonstrating its use in a sample application to simplify configuration and bean creation.
This article explains the problems of traditional Spring MVC setup, introduces Spring Boot starters as a solution, details naming conventions and project structure for custom starters, and walks through the implementation of auto‑configuration classes, properties binding, and the spring.factories registration process.
This article explains how Spring Boot replaces extensive XML configuration with annotation‑driven setup, detailing the purpose and usage of core annotations such as @SpringBootApplication and @EnableAutoConfiguration, as well as conditional annotations like @ConditionalOnClass, @ConditionalOnBean, @ConditionalOnProperty, @Profile, and provides best‑practice recommendations.
This article explains why a SpringBoot service took 6‑7 minutes to start, shows how to pinpoint the bottlenecks using SpringApplicationRunListener and BeanPostProcessor, and presents concrete optimizations—reducing scan paths, manually registering beans, and fixing cache auto‑configuration—to shrink the local startup time to about 40 seconds.
This article deep‑dives into Spring Boot’s inner workings, explaining why dependency versions are omitted, how the spring‑boot‑starter‑parent and spring‑boot‑dependencies manage libraries, and how the composite @SpringBootApplication annotation orchestrates @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan to achieve seamless auto‑configuration and rapid application startup.
This article walks through the JustAuth Spring Boot Starter’s architecture, detailing how the auto‑configuration class, property‑driven bean creation, and factory pattern enable third‑party login integration, while also offering practical tips for reading its source code and understanding key components.
This article walks through the complete process of creating a Spring Boot Starter that wraps the GrowingIO Java SDK, covering the motivation, project setup, property abstraction, auto‑configuration, custom logging, service implementation, and a simple test to verify the starter works in a Spring Boot application.
This guide walks through Spring Boot 3.2.5 troubleshooting with ConditionEvaluationReport, customizing the application context and environment via listeners and EnvironmentPostProcessor, building parent‑child containers, managing embedded Tomcat MBeans, returning XML responses, customizing the whitelabel error page, and adding multiple Tomcat connectors, all illustrated with code snippets and images.
This article explains how to flexibly switch between Spring's built‑in @Scheduled tasks and XXL‑JOB implementations without changing existing code, by using conditional auto‑configuration, annotation scanning, task registration, log redirection, and a ready‑to‑use starter, complete with configuration examples and runtime verification.
This article walks you through creating a custom Spring Boot Starter, covering project setup, Maven dependencies, auto‑configuration classes, registration via spring.factories (or the new imports file), and comprehensive unit testing strategies to ensure reliable conditional behavior.
This tutorial walks you through creating a custom Spring Boot Starter, from Maven project setup and dependency configuration to defining auto‑configuration classes, registering them, and writing comprehensive unit tests to verify conditional behavior.
This tutorial explains how to create a custom Spring Boot Starter, covering project setup, Maven dependencies, auto‑configuration class creation, registration via spring.factories, and comprehensive unit testing to ensure correct conditional behavior.
This article introduces mica-auto, an annotation‑processor‑based tool that automatically generates Spring Boot starter configuration files—including spring.factories, AutoConfiguration.imports, and java SPI settings—enabling seamless compatibility with Spring Boot 3.x without maintaining separate branches.
This article explains Spring Boot's auto‑configuration mechanism, covering how @EnableAutoConfiguration loads configuration classes, the role of @AutoConfigurationPackage and @Import, the processing of spring.factories and metadata files, and how the main application class is registered in the IoC container.
This article explains SpringBoot’s auto‑configuration mechanism, walks through the DispatcherServlet example, and demonstrates how to build a custom logging starter—including annotation, properties class, AOP aspect, auto‑configuration class, Maven packaging, and usage—showcasing the efficiency and reusability benefits for backend developers.
This article explains the concept and purpose of Spring Boot starters, compares mybatis‑spring with mybatis‑spring‑boot‑starter through code examples, and details how the starter simplifies MyBatis integration by handling dependencies, configuration files, auto‑configuration, and mapper scanning for Java backend projects.
This article demonstrates how to build a custom Spring Boot auto‑configuration and starter, including a conditional annotation, a WriterTemplate utility that writes to a database or file, Maven setup, property binding, and a usage example that shows the bean being auto‑configured and invoked.
This article explains Java’s Service Provider Interface (SPI) mechanism, compares it with traditional APIs, demonstrates how to define interfaces, implement services, and discover them using ServiceLoader, and shows real‑world applications such as Spring Boot auto‑configuration and logging frameworks like SLF4J.
This article explains Java's Service Provider Interface (SPI) mechanism, demonstrates how to define, implement, and discover services with code examples—including a smart‑home air‑conditioner scenario—and shows its practical use in Spring Boot auto‑configuration and logging frameworks like SLF4J.
The mica-auto Spring Boot starter tool leverages Java Annotation Processors to automatically generate essential configuration files such as spring.factories, AutoConfiguration.imports, aot.factories, and spring‑devtools.properties, supporting Spring Boot 2.7+ and 3.0, and simplifying native image builds with GraalVM.
This article explains the inner workings of Spring Boot's auto‑configuration mechanism, covering the role of @SpringBootApplication, @EnableAutoConfiguration, spring.factories scanning, conditional annotations, and how configuration properties are bound to beans, with code examples and diagrams for clear understanding.
This article walks through Spring Boot 2.3's session auto‑configuration process, detailing how core SessionConfiguration classes are registered, how the appropriate SessionRepository is selected based on store type, and how the SessionRepositoryFilter wraps requests and responses to manage session data with implementations such as Redis.
This article explains how Spring Boot’s auto‑configuration uses @ConditionalOn annotations and related Condition classes to conditionally register beans, outlines the key internal components, and demonstrates the mechanism with a WebSocketServletAutoConfiguration example.
This article explains how Spring Boot's auto‑configuration works, detailing the role of @SpringBootApplication, @EnableAutoConfiguration, the spring.factories mechanism, conditional annotations, and how configuration properties are bound to beans such as ServerProperties, providing a clear understanding for developers and interview preparation.
This article explains how Spring Boot’s auto‑configuration works, covering the role of application properties, the @EnableAutoConfiguration annotation, condition annotations, the spring.factories mechanism, and how configuration properties are bound to beans such as ServerProperties to make settings like server.port effective.
This article explains the principles behind Spring Boot Starters, how auto‑configuration works via META‑INF/spring.factories, provides practical code examples, and lists the most common starters to help Java developers streamline dependency management and reduce configuration complexity.
This article explains Spring Boot’s auto‑configuration mechanism, focusing on how the spring‑boot‑autoconfigure module automatically sets up the embedded Tomcat server, detailing the relevant Maven dependencies, configuration classes, conditional annotations, and the lifecycle steps that create and start the Tomcat container.
This article explains why Spring Boot was created, outlines its key features such as convention over configuration and automatic wiring, dives into the inner workings of annotations like @EnableAutoConfiguration, demonstrates how SpringFactoriesLoader implements SPI, and guides you through building a simple starter component step by step.
Spring Boot 2.7.0 introduces major enhancements such as a new @AutoConfiguration annotation, upgraded Flyway modules, H2 2.1 support, GraphQL starter, Podman integration, Cache2k auto‑configuration, and several deprecations and test annotation improvements, providing a comprehensive update for Java backend developers.
This article provides a comprehensive tutorial on Spring Boot's auto‑configuration process, covering bean injection styles, XML and JavaConfig configurations, BeanDefinition internals, autowire modes, constructor argument handling, custom BeanFactoryPostProcessor usage, @Import mechanisms, and the inner workings of Spring Boot's EnableAutoConfiguration and its loading of META‑INF/spring.factories.
This article explains how SpringBoot simplifies Spring’s XML configuration by providing convention‑over‑configuration and automatic setup, walks through the key annotations such as @SpringBootApplication, @EnableAutoConfiguration, and @ComponentScan, and details the internal loading mechanism using META‑INF/spring.factories and conditional annotations.
This article explains the concept of Spring Boot starters, how they replace cumbersome Spring MVC setup with automatic dependency import and configuration, details the inner workings of Spring Boot's auto‑configuration mechanism, and guides you through creating custom starters and publishing them as reusable modules.
This article walks through the complete Spring Boot startup sequence, illustrating the entry point, the internal run method, environment preparation, context creation, bean factory processing, and final refresh steps, while highlighting the role of auto‑configuration and providing annotated code examples.
This extensive tutorial explains Spring Boot’s core mechanisms—including the IoC container, class loading, SpringFactoriesLoader, event publishing, and automatic configuration—through detailed explanations and code examples, helping developers understand and extend Spring Boot’s startup process.
This article explains how Spring Boot’s auto‑configuration works, detailing the role of @SpringBootApplication, @EnableAutoConfiguration, the spring.factories file, conditional annotations, and how configuration properties are bound to beans such as ServerProperties to make settings like server.port effective at runtime.
This article provides a comprehensive walkthrough of SpringBoot’s auto‑configuration mechanism, covering common annotations, configuration property binding, import strategies, conditional beans, the application startup flow, and the role of META‑INF/spring.factories in loading auto‑configuration classes.
This article explains how Spring Boot’s auto‑configuration mechanism operates, covering configuration files, key annotations like @EnableAutoConfiguration, the role of spring.factories, conditional annotations, and how properties are bound to beans to become effective at runtime.
This article explains how Spring Boot's auto‑configuration works by loading configuration classes from spring.factories, using @EnableAutoConfiguration and conditional annotations to bind properties from application.properties or application.yml to beans such as ServerProperties, enabling rapid backend development without extensive manual setup.
This article explains how Spring Boot’s auto‑configuration works, covering configuration files, key annotations like @EnableAutoConfiguration, conditionals, and the role of XxxxProperties and XxxxAutoConfiguration classes in binding properties and loading beans into the Spring container.
This article explains how Spring Boot’s @SpringBootApplication annotation combines several meta‑annotations, how auto‑configuration classes are loaded from META‑INF/spring.factories, and demonstrates building a custom starter that configures a Tomcat web server, with full code examples and Maven setup.
This article explains how Spring Boot's @SpringBootApplication annotation combines several meta‑annotations, how auto‑configuration classes are discovered from META‑INF/spring.factories, and how the framework creates and refreshes the application context, including the embedded Tomcat web server, with illustrative code snippets.
This article explains how Spring Boot’s @SpringBootApplication annotation combines several meta‑annotations, how auto‑configuration is loaded from META‑INF/spring.factories, and how the framework creates and refreshes the application context, including the embedded Tomcat server and custom starter creation.
This article explains how the @SpringBootApplication annotation combines @Configuration, @EnableAutoConfiguration, and @ComponentScan, walks through the SpringApplication.run execution flow, and reveals the inner workings of Spring Boot’s auto‑configuration mechanism using SpringFactoriesLoader and META‑INF/spring.factories.
This article explains how Spring Boot’s auto‑configuration works, introduces the most frequently used annotations such as @Value, @ConfigurationProperties, @Import and @Conditional, and provides practical code examples to illustrate the underlying mechanisms and startup process of a Spring Boot application.
This article walks through the inner workings of Spring Boot’s auto‑configuration mechanism, starting from a simple Hello World project, dissecting key annotations like @SpringBootApplication and @EnableAutoConfiguration, and tracing the source code of selectors, import groups, and the SpringApplication run process to reveal how beans are discovered, loaded, and registered at startup.
This article explains how to create a custom Spring Boot starter, register its auto‑configuration class in spring.factories, and precisely control the execution order of auto‑configuration classes using @AutoConfigureAfter, @AutoConfigureBefore, and @AutoConfigureOrder annotations.
This article dissects Spring Boot's auto‑configuration mechanism by examining the source code of @SpringBootApplication, @EnableAutoConfiguration, @AutoConfigurationPackage, and the ImportSelector, explaining how starter packages, component scanning, and spring.factories drive the framework's zero‑configuration experience.
This article walks you through creating a custom Spring Boot starter for SMS services, covering naming conventions, Maven dependencies, configuration properties, auto‑configuration, sender implementations, activation methods, packaging, and usage with practical code examples and diagrams.
This article explains six key patterns for customizing Spring Boot auto‑configuration, covering how to locate auto‑configuration classes, the role of @Conditionalxxx, @EnableConfigurationProperties, @Import, @AutoConfigurexxx annotations, and the significance of internal static configuration classes, with concrete code examples.
This article presents a comprehensive collection of Spring Boot best practices—ranging from custom BOM dependency management and auto‑configuration to project initialization, code organization, controller and service design, database isolation, concurrency handling, externalized configuration, logging, and testing—to help developers create maintainable, high‑quality microservice applications.
This article explains how Spring Boot simplifies Java application development by providing out‑of‑the‑box starters, automatic configuration via spring.factories, and convention‑over‑configuration rules, covering the underlying annotations, Maven structure, starter dependencies, main class, and the use of @ConfigurationProperties to bind YAML settings.
Auto-configurationConvention over ConfigurationJava
This article explains Spring Boot's auto‑configuration mechanism, detailing the roles of starters, spring.factories, @EnableAutoConfiguration, related annotations, and the AutoConfigurationImportSelector, while showing source code examples and how to customize or disable specific auto‑configurations.
This article explains the core principles of Spring Boot’s auto‑configuration mechanism, details the roles of @EnableAutoConfiguration, spring.factories, AutoConfiguration classes and related annotations, and demonstrates how to customize or disable auto‑configuration with code examples.
Spring Boot parses @SpringBootApplication by combining @SpringBootConfiguration, @EnableAutoConfiguration, and @ComponentScan, then processes @Import, @Conditional, and bean post‑processors, uses SpringFactoriesLoader for auto‑configuration, and follows an eight‑step configuration‑class parsing flow to register beans during startup.
Spring Boot provides a set of conditional annotations such as @ConditionalOnBean, @ConditionalOnClass, and @ConditionalOnMissingBean that evaluate classpath presence, bean existence, and other criteria at runtime, allowing auto‑configuration classes to be registered only when their required conditions are satisfied, with detailed implementation details and activation mechanisms explained.
This article explains Spring Boot’s conditional annotations, such as @ConditionalOnClass and @ConditionalOnBean, detailing their definitions, underlying Condition interfaces, evaluation process, and activation mechanism, with code examples and diagrams illustrating how beans are conditionally loaded at runtime.
The mica-auto component of the Mica Spring Cloud framework provides a set of tools that automatically generate essential Spring Boot starter files such as spring.factories, spring‑devtools.properties, and Java SPI configurations, simplifying multi‑module backend projects and supporting annotations like @AutoService for seamless integration.
This tutorial explains how to integrate JDBC into a Spring Boot project, covering Maven dependencies, MySQL driver setup, application.yml datasource configuration, Spring Boot's auto‑configuration mechanism, JdbcTemplate usage, Swagger documentation, CRUD endpoint implementation, and solutions to typical connection errors.
This article presents ten commonly asked Spring Boot interview questions covering its core advantages, auto‑configuration, embedded servers, distributed transactions, security integrations, REST vs RPC choices, stateless service design, caching annotations, CORS setup, JPA vs Hibernate differences, and the relationship among Spring, Spring Boot, and Spring Cloud.
This article explains the distinctions between Spring, Spring MVC, and Spring Boot, illustrates how Spring Boot achieves automatic configuration through annotations like @SpringBootApplication, @EnableAutoConfiguration, and @ComponentScan, and provides detailed code examples of the underlying mechanisms and related configuration classes.
This article explores how Spring Security is automatically configured in Spring Boot, detailing key auto‑configuration classes such as SecurityAutoConfiguration, SpringBootWebSecurityConfiguration, WebSecurityEnablerConfiguration, and the @EnableWebSecurity annotation, while providing code snippets and explanations of their roles in the security filter chain.
This article explains the core concepts of SpringBoot, covering commonly used annotations, the application startup sequence, and the detailed mechanism of auto-configuration, including @SpringBootApplication, @EnableAutoConfiguration, @ConfigurationProperties, and how META-INF/spring.factories files drive automatic bean registration.