-
Book Overview & Buying
-
Table Of Contents
JBoss EAP6 High Availability
By :
In the previous chapter, we set up two EAP6 servers running in domain mode with the full-ha profile. In this chapter, let's set up a load balancer that could dispatch user requests to these two EAP6 servers.
The load balancer we use in this chapter is called mod_jk provided by the Apache community. It's easy to use and yet very powerful. The following diagram shows how it works:

The following are some notes regarding the previous diagram:
mod_jk is a dynamic library that can be used as an Apache httpd module. In this chapter, we'll learn how to use it.
AJP13 is a binary protocol used by mod_jk to proxy user requests to JBoss EAP6 servers. AJP13 stands for Apache JServ Protocol 1.3 and is widely used by Tomcat, Jetty, and other web servers.
When Apache httpd receives user requests, the mod_jk module will wrap the HTTP request into AJP13 format and pass it to JBoss EAP6, and the AJP connector in JBoss EAP6 will receive the proxy request from httpd. Then, EAP6...
Change the font size
Change margin width
Change background colour