Spring Boot Starter Web as Single Dependency

In this lesson, we’ll look at how the Spring Boot starter web can serve as a single web dependency.

We'll cover the following

The application has a dependency on the library spring-boot-starter-web. This dependency integrates the Spring framework, the Spring web framework, and an environment for the processing of HTTP requests.

The default for the processing of the HTTP requests is a Tomcat server which runs embedded as part of the application.

Thus, the dependency on spring-boot-starter-web would be enough as a sole dependency for the application!

The dependency on spring-boot-starter-test is necessary for tests.

Note: The code for the test is not part of this course.

Get hands-on with 1200+ tech skills courses.