Book Image

WildFly Configuration, Deployment, and Administration

Book Image

WildFly Configuration, Deployment, and Administration

Overview of this book

Table of Contents (19 chapters)
WildFly Configuration, Deployment, and Administration Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Benefits of using the Apache web server with WildFly


In most real-world situations, it's common to find the Apache web server as an entry point to your application server. Some advantages of this are:

  • Speed: Apache is generally faster at serving static content.

  • Security: By placing WildFly behind Apache, you only need to worry about connections from a single point of entry. WildFly can be configured to accept connections from a single IP (the server hosting Apache) and will not be accessible directly from the Internet. Essentially, Apache becomes a smart proxy server.

  • Load balancing and clustering: Using Apache as a frontend, you can distribute traffic to multiple WildFly server instances. If one of your servers fails, the communication transparently continues to another node in the cluster.

As stated previously, connecting Apache and WildFly can be done in one of two ways: by either using Tomcat's mod_jk library or Apache's mod_proxy libraries. As the installation of both mod_jk and mod_proxy...