Skip to main content
You are viewing 1.37.x. The latest is 1.45.x.

Java SDK reference

View as Markdown

This reference covers the Dex Java SDK. Check the resolved version of io.superdurable:dex-sdk in your Gradle or Maven build before you rely on a detail:

./gradlew dependencyInsight --dependency io.superdurable:dex-sdk

Install​

The Java SDK is the Maven Central artifact io.superdurable:dex-sdk. Pin an exact release:

io.superdurable:dex-sdk:1.37.0

The published classes target Java 8 bytecode. Releases use the tag sdk-java/vX.Y.Z.

Supported versions​

SDK minorServer requirement
1.37, 1.35server-zd 0.1.17 or newer (protocol version 4)
1.32, 1.31, 1.30See the compatibility matrix

Minor numbers follow the shared Dex release train. A missing minor means the Java SDK did not change in that release.

API reference​

Read the Java SDK API reference for the latest release, 1.37.0.

Versioned snapshots: 1.37.0, 1.35.0, 1.32.0, 1.31.0, 1.30.0.

RPC stubs and Kotlin​

Client.newRpcStub creates a subclass of the Flow. A Java Flow class and its RPC methods must not be final. Kotlin makes both final by default, so declare the Flow class and its RPC methods with open.

Pages​

  • Flows and Steps: Flow and Step behavior with Java code: start options, waits, Step decisions, Step options, and failure handling.
  • Workers: Java names for Worker readiness, capacity, and shutdown settings.

Release notes​

See the sdk-java releases on GitHub.