此内容没有您所选择的语言版本。

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

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.

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

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.





Revised on 2022-12-16 12:18:15 UTC

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部