Below is a clean, structured, and memory-friendly version of your notes, rewritten to improve clarity, add why + how explanations, and highlight the mental model so you can recall everything later without confusion.
I’ve kept it concise but deep, exactly how good revision notes should be.
Configuration chosen:
👉 Spring Initializr auto-generates a ready-to-run project with correct folder structure and config.
This is the starting point of the Spring Boot application.
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplicationThis is a meta-annotation (combines 3 annotations):
@Configuration → Marks this class as a configuration class