Announcing the StatelyDB Java SDK: Elastic Schema for Java Developers

StatelyDB SDK now available for Java
Stately Team
October 1, 2025

Today, we’re excited to introduce the StatelyDB Java SDK, joining our existing SDKs for TypeScript, Go, Ruby, and Python. This provides a great way to work with Elastic Schema and scalable, type safe document storage from Java applications.

Build faster with safety and scale

Java developers know that dealing with AWS’s DynamoDB SDK can be a pain. The StatelyDB Java SDK is far easier to use:

  • Define and evolve your schema in code. Automatic backwards compatibility means no more painful migrations or deployment coordination.
  • Generate real POJOs directly from your schema, without an ORM or ODM.
  • Write fully async code that doesn’t block on database operations using CompletableFuture.
  • Build safe read-modify-write transactions directly in Java code.

See the Java SDK in Action

Here is a quick example of saving and retrieving a user:

User user = new User.Builder(
    "Jane Doe",
    "jane@example.com"
).build();

client.put(user)
    .thenCompose(_ -> client.<User>get("/users-jane@example.com"))
    .thenAccept(item -> {
        System.out.println("Fetched: " + item.getDisplayName());
    });

How to Get Started

Add the SDK to your project:

Maven:

<dependency>
    <groupId>cloud.stately</groupId>
    <artifactId>statelydb</artifactId>
    <version>LATEST</version>
</dependency>

Gradle:

dependencies {
    implementation 'cloud.stately:statelydb:+'
}

Check out the Java documentation or our getting started guide for setup instructions and examples.

What’s Next?

We are working on more features, better docs, and expanded ecosystem support. Your feedback will help shape what comes next.

Have questions, feedback, or want to show us what you are building? Reach out at support@stately.cloud. We would love to hear from you.

Get StatelyDB Updates

Release notes, roadmap, security updates.

Checkmark
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.