Does a Application server need the support of a web server ?
posted 7 years ago
Is JBOSS capable of doing the task that Apache HTTP server does and is there a need for the two(JBOSS and Apache HTTP server ) to interact. My problem is does a Application server need the support of a web server to deliver the client requests?
Yes, JBossAS can server static content (essentially what Apache HTTP Server does). Therefore, you do not need to use Apache in conjunction with JBossAS to run a web site.
Usually, people front-end JBossAS with Apache for two reasons - first to get a performance boost for static content (but installing JBoss Native gets you the Apache Portable Runtime, which removes this benefit), and second when Apache is used as a switch between multiple running copies of JBossAS.