This example is described in the Akka Quickstart with Java guide
The Hello World example illustrates Akka basics. Within 30 minutes, you should be able to download and run the example and use this guide to understand how the example is constructed. This will get your feet wet, and hopefully inspire you to dive deeper into the wonderful sea of Akka!
It can also be used as a Giter8 template for Akka with Java.
Prerequisites:
- JDK 8
- sbt 0.13.13 or higher (download here)
Open a console and run the following command to apply this template:
sbt -Dsbt.version=0.13.15 new akka/akka-quickstart-java.g8
This template will prompt for the name of the project. Press Enter
if the default values suit you.
Once inside the project folder, run the application with:
sbt run
This template also provides build descriptors for maven and gradle. You can use any of the following commands to run the application:
mvn compile exec:exec
or
gradle run
Written in 2017 by Lightbend, Inc.
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/.