Which Spring Boot Starter is recommended for developing web applications?
- spring-boot-starter-actuator
- spring-boot-starter-data-jpa
- spring-boot-starter-logging
- spring-boot-starter-web
To develop web applications in Spring Boot, the recommended starter is "spring-boot-starter-web." This starter includes everything needed to set up a basic web application, including embedded Tomcat and Spring MVC. The other starters mentioned serve different purposes like data access, monitoring, and logging but are not specific to web development.
Loading...
Related Quiz
- The Spring Cloud component _____ provides a simple, scalable, and flexible way to route API requests to microservices.
- In Spring Boot's reactive programming model, how can you efficiently handle streaming of large result sets from a database?
- Can you detail the process and considerations for creating efficient custom auto-configurations that do not negatively impact application startup time?
- How can you configure multiple DataSources in a Spring Boot application?
- What is the difference between @RestController and @Controller in Spring Boot?