Embedded tomcat servlet container in spring boot
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
Видео Embedded tomcat servlet container in spring boot автора ReactJS для Новичков
Видео Embedded tomcat servlet container in spring boot автора ReactJS для Новичков
Информация
4 декабря 2023 г. 5:22:06
00:04:19
Похожие видео