Questo contenuto non è disponibile nella lingua selezionata.

Chapter 17. 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.

17.1. EAP Cluster App Prerequisites

The prerequisites for the EAP Cluster App are as follows:
  • Java 6.0 (Java SDK 1.6) or better
  • JBoss Enterprise Application Platform 6.1 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.
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat