Home / Companies / Restate / Blog / Post Details
Content Deep Dive

Announcing the Restate Java SDK

Blog post from Restate

Post Details
Company
Date Published
Author
Stephan Ewen, Giselle van Dongen, Pavel Tcholakov
Word Count
705
Language
English
Hacker News Points
-
Summary

The newly announced Java SDK for Restate allows developers to harness the platform's capabilities for services operating within the JVM, addressing a highly anticipated demand from users. This SDK, while primarily implemented in Java, also includes a dedicated API module for Kotlin, supporting asynchronous operations through Kotlin co-routines. Built on top of gRPC, the Java SDK facilitates seamless interaction with other gRPC services and allows for the creation of applications with durable execution and communication, such as workflows and event-driven architectures, without the complexity of managing state machines or message queues. Developers can build versatile applications, deploying them as serverless functions on AWS Lambda or as long-lived processes on Kubernetes, and can easily integrate with Kafka for event processing. The SDK offers streamlined code generation through a Restate plugin for protoc, although it remains compatible with standard protoc-generated code. To begin developing with the SDK, users can start with templates like the Hello World Gradle template or incorporate the SDK as a dependency in existing projects, with community support available through Discord or Slack.