Este contenido no está disponible en el idioma seleccionado.

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

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

© 2024 Red Hat, Inc.