Chapter 3. Red Hat JBoss Enterprise Application Platform setups
You can configure a JBoss EAP instance on single servers that run one or more applications, or you can configure multiple JBoss EAP server instances that are clustered together with an external load balancer for load balancing and failover.
3.1. Simple setup using a single JBoss EAP server instance
A simple JBoss EAP setup consists of a single server running one or more deployed applications.
Figure 3.1. Simple setup using a single JBoss EAP server instance
The JBoss EAP instance uses the datasources
subsystem to connect to the following components:
- A database
- A Kerberos server
JBoss EAP uses the elytron
(security) subsystem to connect to the Kerberos server and expose the server to the two deployed applications.
JBoss EAP uses the undertow
subsystem to handle requests from the client server and send requests to an appropriate application.
The application uses the APIs exposed by JBoss EAP to connect to the database and Kerberos server. The application completes its task and the undertow
subsystem sends the response back to requester.
3.2. Complex setup using multiple JBoss EAP server instances
A complex setup may involve multiple JBoss EAP server instances. For example, you can use a load balancer to distribute the processing load across {JBoss EAP} instances in a managed domain.
The following diagram displays three JBoss EAP instances that are arranged by a load balancer in a managed domain:
Figure 3.2. Complex setup using multiple JBoss EAP server instances
In this example, the administrator configured each instance to use mod_cluster
and infinispan
session replication to provide high availability (HA) support for applications. Each instance includes the following components:
- A web application
- A web service
- A deployed enterprise bean
-
A database connection that was established with the
datasources
subsystem -
A connection with the LDAP server that was established with the
elytron
(security) subsystem
The diagram displays the following configurations associated with a complex JBoss EAP setup:
-
EAP 1 has a
messaging-activemq
subsystem that is configured with a Jakarta Messaging queue that connects to an external message broker. - The external message broker is shared among all running JBoss EAP instances.
All inbound requests go through the load balancer.
- Depending on the configued load-balancing algorithm and the information provided by each JBoss EAP instance, the load balancer directs the requests to the appropriate JBoss EAP instance.
-
Each JBoss EAP instance uses the
undertow
subsystem to direct the requests to the appropriate application. - Each application uses the APIs exposed by JBoss EAP to connect to the database and Kerberos server.
-
After an application performs its work, the
undertow
subsystem to send a response to the requester.
The infinispan
subsystem propagates non-persisted information, such as session information, among the JBoss EAP instances.
Revised on 2022-12-16 12:18:15 UTC