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

Chapter 18. The Cluster App Quickstart


The EAP Cluster App quickstart demonstrates how to use a JBoss Data Grid cache in library mode.
There are three different applications which show:
  • How to create and use a JBoss Data Grid clustered cache without having a JBoss EAP cluster.
  • A configuration where the JBoss EAP cluster is independent of an Infinispan cluster.
  • One JBoss EAP instance can use JBoss Data Grid caches which are members of a different JBoss Data Grid cluster.
  • Programming cache configuration using the JBoss Data Grid API.
  • File based configuration, seen in administration application App1Cache.
  • Use CDI to inject the cache managers.
Each application contains an embedded JBoss Data Grid cache which is accessed by stateless EJB's in the same application. Different JBoss EAP servers, with the exception of AppTwo, are not clustered to demonstrate that an unclustered application can share the JBoss Data Grid cache. In addition, there are two cache managers, neither of which are members of the same JBoss Data Grid cluster. The AdminApp accesses and modified both of these caches. AppOne can only read the App1Cache, but it uses a clustered EJB invocation to AppTwo to read from App2Cache; while AppTwo is deployed as a clustered EJB application and only read App2Cache.

18.1. EAP Cluster App Prerequisites

The prerequisites for the EAP Cluster App are as follows:
  • Java 8.0 (Java SDK 1.8) or better
  • JBoss Enterprise Application Platform 7.0 or later
  • Maven 3.0 or better
  • Configure the Maven repository. For details, see Chapter 3, Install and Use the Maven Repositories.
  • JBoss Data Grid modules installed in the JBoss EAP server.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat