Show Table of Contents
Chapter 5. Run Red Hat JBoss Data Grid JAR Files with Maven
5.1. Run JBoss Data Grid (Remote Client-Server Mode)
Use the following instructions to run Red Hat JBoss Data Grid JAR files with Maven in Remote Client-Server mode.
Hot Rod Client without Querying
Add the following dependencies to the pom.xml file:
- Add the mandatory
infinispan-commonsdependency:<dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-commons</artifactId> <version>6.1.0.Final-redhat-4</version> </dependency>
- Add the mandatory
infinispan-client-hotroddependency:<dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-client-hotrod</artifactId> <version>6.1.0.Final-redhat-4</version> </dependency>
Hot Rod Client with Querying
Add the following dependencies to the pom.xml file:
- Add the mandatory
infinispan-commonsdependency:<dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-commons</artifactId> <version>6.1.0.Final-redhat-4</version> </dependency>
- Add the mandatory
infinispan-client-hotroddependency:<dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-client-hotrod</artifactId> <version>6.1.0.Final-redhat-4</version> </dependency>
- Add the following dependencies:
<dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-query-dsl</artifactId> <version>6.1.0.Final-redhat-4</version> </dependency> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-remote-query-client</artifactId> <version>6.1.0.Final-redhat-4</version> </dependency>

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.