Mini Project: Configurable Shop Banner (Auto-configuration and Properties)
Learn Mini Project: Configurable Shop Banner (Auto-configuration and Properties) (Spring Boot Basics, Spring Boot) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Mini Real-Time Project: Configurable Shop Banner (Auto-configuration and Properties) Problem A shop app must take its name, item limit and country list from configuration, let operators override them on the command line, and run a start-up task. Requirements Bind a group of properties to a typed object. Override a default from the command line. Run code at start-up with an ApplicationRunner. Show that auto-configuration created infrastructure beans for us. Concepts Used @SpringBootApplication @ConfigurationProperties ApplicationRunner externalised configuration auto-configuration Maven...
More lessons in Spring Boot Basics
- Introduction to Spring Boot
- Spring vs Spring Boot
- Spring Boot Features & Architecture
- Spring Boot Features
- Spring Initializr
- Maven/Gradle with Spring Boot
- Starter Dependencies
- spring-boot-starter
- Spring Boot Annotations Explained
- Spring Boot - Internal Working
- Profiles & Externalized Configuration
- Internationalization (i18n)