Difference between Apache Server and Apache Tomcat

Apache is an HTTP server and Tomcat is a container .
So Apache server can serve the  requests which are static in nature while Tomcat can serve the request which are dynamic. So if the pages are served in JSP/SERVLET then we have to use Tomcat container to interpret them.
Similarly, if you will be using PHP then you need to add its support in Webserver.Webserver is used to just respond to the requests with feature such as load balancing, whereas containers( such as Tomcat) are used to manage the lifecycle of the pages generated using JSP and servlet.


Comments

Popular posts from this blog

Arrays.sort() and Collections.sort() NullPointerException

org.xml.sax. SAXParseException: Element type "web-app" must be declared.

Sentimental Analysis : PART 1