I have a deployment architecture question:
We know this:
# As a native application, the Apache web server is a more efficient
HTTP server than the Java-based web server included in JBoss AS. That is
especially true for static contents (e.g., pictures), keep-alive
requests, and HTTPS requests. It would be ideal to have JBoss AS serve
up dynamic, database-related content, while having Apache serve static
content in the same application.
# Apache has a rich set of modules for almost every aspects of a web
application, including security, logging, URL rewriting, performance
enhancement, etc. JBoss AS is rich in supporting business and
transactional logic, but has fewer features when it comes to
manipulating HTTP request / response directly.
Have a look at the JBossWeb project