JDG Remote Client-Server Mode Usage Example: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
     <artifactId>infinispan-remote</artifactId>
     <artifactId>infinispan-remote</artifactId>
     <version>8.3.0.Final-redhat-1</version>
     <version>8.3.0.Final-redhat-1</version>
    <scope>provided</scope>
</dependency>
</dependency>
</pre>
</pre>


If support for remote client-server JDG is deployed within the target EAP, declare the dependency <provided>.
If support for remote client-server JDG is deployed within the target EAP (preferred), declare the dependency <scope>provided</scope>.  


Otherwise, embed it with your deployment.
Otherwise, embed it with your deployment.

Revision as of 14:08, 4 May 2017

Internal

Overview

The example is deployed in a wrapper servlet, to facilitate interaction.

Maven

<dependency>
    <groupId>org.infinispan</groupId>
    <artifactId>infinispan-remote</artifactId>
    <version>8.3.0.Final-redhat-1</version>
    <scope>provided</scope>
</dependency>

If support for remote client-server JDG is deployed within the target EAP (preferred), declare the dependency <scope>provided</scope>.

Otherwise, embed it with your deployment.

HotRod Client Configuration

Create a RemoteCacheManager

Interact with the Cache

Features

Transactions