Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Project Setup

Set up a Java project for GridGain 9 — add the GridGain repository and the client dependency, and learn which GridGain modules to add for each feature.

This page describes how to set up a Java project for GridGain 9, and which GridGain modules you should add as dependencies.

Prerequisites

GridGain is tested on Oracle JDK 11, 17, 21, and 25 (LTS), as well as JDK 26 (STS). Other Java vendors are supported, but may have minor discrepancies in performance or stability.

Short-term support (STS) Java versions are supported only until the next STS release, Long-term support (LTS) versions are not affected by this policy.

Adding the GridGain Repository

GridGain modules are published to the GridGain repository, not to Maven Central. Add the repository to your build before declaring any GridGain dependency.

<repositories>
    <repository>
        <id>GridGain External Repository</id>
        <url>https://www.gridgainsystems.com/nexus/content/repositories/external</url>
    </repository>
</repositories>
repositories {
    maven {
        url = "https://www.gridgainsystems.com/nexus/content/repositories/external"
    }
}

Adding the Client Dependency

The thin client provides the Table, Key-Value, SQL, Compute, Transactions, Catalog, and Data Streamer APIs used throughout the examples — the org.apache.ignite.* packages you see in the code samples. Add it as the single dependency for client applications:

<dependency>
    <groupId>org.gridgain</groupId>
    <artifactId>ignite-client</artifactId>
    <version>9.1.28</version>
</dependency>
implementation 'org.gridgain:ignite-client:9.1'

All GridGain modules share the org.gridgain group ID and the 9.1 version. Always declare the version that matches your cluster.

Required Modules

The following table lists the GridGain modules an application developer adds as dependencies. Add ignite-client for any thin-client application; add the other modules only when you use the corresponding feature or integration.

Artifact ID
Add it when you use
Reference

ignite-client

Table API, Key-Value API, SQL API, Compute, Transactions, Catalog, Data Streamer, Continuous Queries — any thin-client application.

ignite-jdbc

The JDBC driver to connect over SQL.

gridgain-jdbc-cache-store

An external JDBC cache store.

gridgain-map-structure

Distributed map data structures (the org.gridgain.structure API), in addition to ignite-client.

gridgain-hibernate

Hibernate ORM integration.

spring-data-ignite

Spring Data integration.

spring-boot-starter-ignite-client

Spring Boot autoconfiguration for the client.

The gridgain-hibernate, spring-data-ignite, and spring-boot-starter-ignite-client modules require JDK 17 or later.

Next Steps

  • Use Java API — an end-to-end example using the modules above.

  • Java Client — full client configuration reference.

  • Table API — work with data once the client is connected.

See Also

This page is: Copyright © 2026 MariaDB. All rights reserved.

Last updated

Was this helpful?