SpringBoot
Java · 12 notes
- Spring Boot Learning Resourceshistorical
20 Spring Boot interview questions - Java Technology Stack - SegmentFault.
- 2.34 Custom Startershistorical
Two questions behind a custom Spring Boot starter and a complete hello-spring-boot-starter example.
- 2.35 Usagehistorical
Create a project, configure pom.xml, and use Spring Boot caching with Application, TestController, and TestService.
- Spring Boot Jar Startup Principlehistorical
1. Experiment. 2. Structure of an executable Jar. 3. How the program entry point is found. 4. Jar packages that can start without the java -jar command. 5. Reference.
- MyBatis Auto-Configurationhistorical
How Spring Boot enables MyBatis auto-configuration and how AutoConfiguredMapperScannerRegistrar determines which package to scan for @Mapper interfaces.
- Spring MVC Auto-Configuration Principlehistorical
1. Auto-configuration classes pre-imported by spring-boot-starter-web. 2. How custom configuration takes effect. 3. Why @EnableWebMvc disables Spring Boot MVC auto-configuration. 4. Reference.
- Embedded Tomcat Auto-Configuration Principlehistorical
1. Enable ServletContainer auto-configuration. 2. Inject the Tomcat container factory. 3. How custom configuration takes effect. 4. How to modify Tomcat configuration. 5. Summary.
- Spring Boot Cache Auto-Configuration Principlehistorical
How the cache manager and cache classes are generated, how cache proxy classes are generated, and the overall execution flow.
- Spring Boot Startup Principlehistorical
1. Start Spring Boot. 2. Process of creating SpringApplication: determine web environment, load ApplicationContextInitializer and ApplicationListener instances, save the main configuration class, and run the application.
- Spring Boot Auto-Configuration Principlehistorical
1. Enable Spring Boot auto-configuration. 2. Inject AutoConfigurationImportSelector into the container and import auto-configuration classes from META-INF/spring.factories. 3. Summary. 4. Reference.