
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.
Java developers know that dealing with AWS’s DynamoDB SDK can be a pain. The StatelyDB Java SDK is far easier to use:
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());
    });
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.
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.