New API and code generation for Akka Serverless Java SDK

We are excited to announce version 0.7.0 of the Java SDK.

The new API is designed around the code generation from Protobuf. Not only for one time scaffolding but a guided experience when changing and adding components. The APIs across the different components are now very consistent, which helps in the learning process. You will recognize the similarities between Event Sourced Entities, Value Entities, Replicated Entities, Actions and Views.

You find the updated documentation here: Developing with Java :: Akka Serverless Documentation

Don’t miss the Quickstart.

This release also adds Replicated Entities.

Recommended migration steps for a project using an older version:

  • read up on the new API in the documentation
  • create a new project with the archetype
  • add proto files from the old project and make sure they have the akkaserverless Protobuf options according to the documentation
  • generate code with mvn compile
  • copy and adjust implementation from old project

There seems to be a problem with resolving version 0.7.0 when using archetypeVersion=LATEST.

We will look into that problem. As a workaround you can use:

mvn archetype:generate \
           -DarchetypeGroupId=com.akkaserverless \
           -DarchetypeArtifactId=akkaserverless-maven-archetype \