SB
SB
txt
============
Spring Boot
============
-> Spring Boot is one approach to develop Spring Based applications with less configurations.
1) Standalone app
2) Web
3) Distributed (webservices)
-> web-starter
-> datajpa-starter
-> security-starter
-> mail-starter
2) Auto Configuration (boot will identify required configs for our app)
=================================
Creating Spring Boot Application
==================================
2) IDE
Note: IDE will internally connect with start.spring.io website to create SpringBoot application
(Spring Starter Project)
Spring Boot =
=====================================
What is Start Class in Spring Boot ?
=====================================
https://ashokitech.com/uploads/notes/1560054649_1679662300.txt 1/3
6/6/23, 12:15 PM ashokitech.com/uploads/notes/1560054649_1679662300.txt
Note: When we create boot app, start class will create by default
@SpringBootApplication
public class Application{
SpringApplication.run(Application.class, args);
======================================
How IOC starting in Spring Boot ?
======================================
boot-starter :: AnnotationConfigApplicationContext
web-starter :: AnnotationConfigServletWebServerApplicationContext
starter-webflux :: AnnotationConfigReactiveWebServerApplicationContext
================================
What is Banner in Spring Boot ?
================================
spring.main.banner-mode=off
-> We can customize banner text in spring boot by creating banner.txt file under
src/main/resources folder.
https://ashokitech.com/uploads/notes/1560054649_1679662300.txt 2/3
6/6/23, 12:15 PM ashokitech.com/uploads/notes/1560054649_1679662300.txt
https://ashokitech.com/uploads/notes/1560054649_1679662300.txt 3/3