Слайд 2

What is spring boot? Spring Boot makes it easy to create

What is spring boot?

Spring Boot makes it easy to create stand-alone,

production-grade Spring based Applications that you can “just run”.
Most Spring Boot applications need very little Spring configuration.
Слайд 3

What is starter? “Starters” simply provide dependencies that you are likely

What is starter?

“Starters” simply provide dependencies that you are likely

to need when developing a specific type of application. Since we are developing a web application, we will add a spring-boot-starter-web dependency 
Слайд 4

How to run spring boot application? public static void main(String[] args) { SpringApplication.run(?.class, args); }

How to run spring boot application?

public static void main(String[] args) {

SpringApplication.run(?.class, args); }
Слайд 5

@SpringBootApplication @Configuration @EnableAutoConfiguration @ComponentScan

@SpringBootApplication

@Configuration
@EnableAutoConfiguration
@ComponentScan

Слайд 6

Profiling @Profile(?) spring.profiles.active=?

Profiling

@Profile(?)
spring.profiles.active=?

Слайд 7

How to specify server? Tomcat Jetty Undertow(https://examples.javacodegeeks.com/enterprise-java/spring/tomcat-vs-jetty-vs-undertow-comparison-of-spring-boot-embedded-servlet-containers/)

How to specify server?

Tomcat
Jetty
Undertow(https://examples.javacodegeeks.com/enterprise-java/spring/tomcat-vs-jetty-vs-undertow-comparison-of-spring-boot-embedded-servlet-containers/)

Слайд 8

How to specify server? org.springframework.boot spring-boot-starter-web

How to specify server?


org.springframework.boot
spring-boot-starter-web

Слайд 9

How to specify server? org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-tomcat org.springframework.boot spring-boot-starter-undertow

How to specify server?


org.springframework.boot
spring-boot-starter-web


org.springframework.boot
spring-boot-starter-tomcat




org.springframework.boot
spring-boot-starter-undertow