title: Why do Java applications require application servers to get hosted?
body: <p>While Apache http web server is also used for web hosting, why do many Java applications require a Tomcat or JBoss or Glassfish sort of environment for getting hosted?</p>
  
  <p>Please provide the information, applications developed on what Java technologies can be hosted in Apache http web server. And when should we opt for an application server for hosting Java applications?</p>