Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 2. Red Hat JBoss Enterprise Application Platform setups

download PDF

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.

2.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 2.1. Simple setup using a single JBoss EAP server instance

intro example simple

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.

2.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 2.2. Complex setup using multiple JBoss EAP server instances

intro example expanded

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.
Note

The infinispan subsystem propagates non-persisted information, such as session information, among the JBoss EAP instances.

Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.