此内容没有您所选择的语言版本。

5.2. Run JBoss Data Grid (Library Mode)


Use the provided instructions to run Red Hat JBoss Data Grid with Maven in Library mode.
  1. Add the following mandatory dependency to the pom.xml file:
    <dependency>
       <groupId>org.infinispan</groupId>
       <artifactId>infinispan-core</artifactId>
       <version>6.1.0.Final-redhat-4</version>
    </dependency>
    Copy to Clipboard Toggle word wrap
  2. Add the desired dependencies from the following to the pom.xml file:
    • Embedded query dependency:
      <dependency>
         <groupId>org.infinispan</groupId>
         <artifactId>infinispan-query</artifactId>
         <version>6.1.0.Final-redhat-4</version>
      </dependency>
      Copy to Clipboard Toggle word wrap
    • JDBC Cache Store dependency:
      <dependency>
         <groupId>org.infinispan</groupId>
         <artifactId>infinispan-cachestore-jdbc</artifactId>
         <version>6.1.0.Final-redhat-4</version>
      </dependency>
      Copy to Clipboard Toggle word wrap
    • JPA Cache Store dependency:
      <dependency>
         <groupId>org.infinispan</groupId>
         <artifactId>infinispan-cachestore-jpa</artifactId>
         <version>6.1.0.Final-redhat-4</version>
      </dependency>
      Copy to Clipboard Toggle word wrap
    • LevelDB Cache Store Dependency:
      <dependency>
         <groupId>org.infinispan</groupId>
         <artifactId>infinispan-cachestore-leveldb</artifactId>
         <version>6.1.0.Final-redhat-4</version>
      </dependency>
       
      <dependency>
         <groupId>org.fusesource.leveldbjni</groupId>
         <artifactId>leveldbjni-all</artifactId>
         <version>1.13-redhat.002</version>
      </dependency>
      Copy to Clipboard Toggle word wrap

      Note

      For the LevelDB Cache Store dependency, ensure that you have the same version of leveldbjni-all as specified in the JBoss Data Grid maven repository.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat