JDG Remote Client-Server Mode Usage Example: Difference between revisions
Jump to navigation
Jump to search
(→Maven) |
|||
Line 22: | Line 22: | ||
</pre> | </pre> | ||
If support for remote client-server JDG is deployed within the target EAP (preferred), declare the dependency <scope>provided</scope>. | If support for remote client-server JDG is deployed within the target EAP (preferred), declare the dependency <scope>provided</scope> and configure the [[jboss-deployment-structure.xml]] as shown: | ||
Otherwise, | <pre> | ||
</pre> | |||
Otherwise, all required dependencies it with your deployment, by '''not''' declaring them "provided". | |||
=HotRod Client Configuration= | =HotRod Client Configuration= |
Revision as of 14:23, 4 May 2017
Internal
Overview
The example is deployed in a wrapper servlet, to facilitate interaction.
GitHub
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> and configure the jboss-deployment-structure.xml as shown:
Otherwise, all required dependencies it with your deployment, by not declaring them "provided".