What is Apache Tomcat?
- Tomcat is an open-source web server and it is developed by the Apache software foundation.
- It handles both static and dynamic pages. Static pages are created using HTML. Dynamic ones are generated using Servlet and JSP.
- Tomcat serves the files through the HTTP protocol.
Let’s say If you create/develop a web application something like kkjavatutorial.com. This application should be accessible to the outside world through the Internet. To access this application to the outside world you need a server. That web server can be your Apache Tomcat.
To access the application from the outside world through any browsers, it needs HTTP protocol so all these HTTPs requests are implemented inside Tomcat Server. So, it automatically takes care of handling “Request” and “Response”
Things not supported by Tomcat?
- Tomcat has a Servlet/Web container. It is not a full-fledged Java EE-supported Application Server so tomcat doesn’t support for example EJBs or JMS components out of the box.
Few Web and Application Servers:
Some Servlet or Web Containers:
- Apache Tomcat
- Some application servers:
NOTE: web container + EE container = Application server
That’s all about What is Apache Tomcat?