Loading tutorials
@Configuration and @Bean are. The goal is to see what the one annotation on your main class switches on, and which mistakes come from misunderstanding it.2 min read@Configuration and @Bean code. It also assumes you have seen @SpringBootApplication on a main class. Here you will learn what happens between that annotation and the finished set of beans.3 min read@Configuration and @Bean, and have run a simple Spring Boot application. It also assumes you know that auto-configuration classes are ordinary configuration classes that Boot loads for you. Here you will see how conditions decide whether each class and each b3 min read@ConfigurationProperties binds them to a class, and how that fits into auto-configuration.3 min read@Configuration and @Bean, and how to run a simple Spring Boot application. You should also have seen conditional annotations such as @ConditionalOnMissingBean and @ConfigurationProperties.2 min read@ConditionalOnClass and @ConditionalOnMissingBean decide whether an auto-configuration applies. Here you will learn to see those decisions instead of 3 min read@Configuration and @Bean, and how to run a basic Spring Boot application. It covers how Boot finds auto-configuration classes and why a class on the classpath is not enough to make it run.3 min read@ConditionalOnBean and @ConditionalOnMissingBean work. It also assumes you know how auto-configurations are registered in AutoConfiguration.imports.2 min read@Configuration and @Bean, and how to build a Maven or Gradle project. It also assumes you have read the earlier chapters on conditional annotations and @ConfigurationProperties. Here you combine those pieces into a small library that configures itsel2 min read@Configuration, conditional annotations, and @ConfigurationProperties. It also assumes you have JUnit 5 and AssertJ on the test classpath, which `spring-boot-starter-t2 min read