This topic is the question raised in me when I asked to configure apache web server in front of my tomcat server. I know tomcat itself acts as a web server. Then why we need a separate web server?. This question made me to find the answer and post it here.
Why web server
When we go for an enterprise application, the first question will be what does the web server and application server. Why don’t you receive requests to your app server directly instead of passing it through web server?. Why can’t you install external load balancers to app server and make your application works without web server? When tomcat itself acts as a web server, why do we go with web servers like apache?.
Here we see the need of web servers in detail. When someone is specialist in some job, then we can let that job to…
View original post 1,661 more words