In this video we will learn how to start our embedded tomcat servlet container in spring boot.
First we need to understand what is a Servlet container:
Lets draw a simple diagram which has a Webserver, a servlet container and a client. This is your http request and response
Servlet container is a component of a web server that interacts with Java Servlets
It is the one responsible for managing the lifecycle of servlets.
The advantages of having an embedded tomcat is :
Easy to use - In spring boot their is no need for you to configure the tomcat and add to the project path
Suitable for microservices architecture- Which is now trending
Standalone application- Easy to create a standalone application and run it
![](https://i.ytimg.com/vi/WdX0v8hPxcw/maxresdefault.jpg)