Which two statements are true regarding a Spring Boot-based Spring MVC application? (Choose two.)
Which two statements are true regarding a Spring Boot-based Spring MVC application? (Choose two.)
In a Spring Boot-based Spring MVC application, the default embedded servlet container can be replaced with Undertow. This is achieved by configuring the project dependencies accordingly. Additionally, Spring Boot starts up an embedded servlet container by default to serve the web application. The default servlet container is Tomcat, but it can be replaced with other options like Jetty or Undertow if desired.
A - https://docs.spring.io/spring-boot/docs/1.5.3.RELEASE/reference/html/howto-embedded-servlet-containers.html#:~:text=own%20JettyEmbeddedServletContainerFactory.-,73.13,-Use%20Undertow%20instead
(A) Undertow for Spring Reactive https://undertow.io/ See https://springhow.com/spring-boot-undertow/ <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-undertow</artifactId> </dependency> (B) Jetty for Spring Reactive. (C) wrong, it is 8080, not 8088 (D) true (E) wrong, use in-memory with Spring Data JPA or Spring Security or declaring H2 database in pom.xml or build.gradle .
Default embedded servlet container is Tomcat. Jetty and Undertow can be used instead of it.
(A) Undertow for Spring Reactive https://undertow.io/ (B) Jetty for Spring Reactive. (C) true, (D) true, (E) wrong, use in-memory with Spring Data JPA or Spring Security or declaring H2 database in pom.xml or build.gradle .
I have mistake, default port is 8080, not 8088, make D is wrong.
Went though the VMWare Spring Boot course again for Configuration of WAR and JAR deployments and it confirms what the commenters below said.