Running the application

You can run the Hello World application from the command line or an IDE. The final topic in this guide describes how to run it from IntelliJ IDEA. But, before we run the application again, let’s take a quick look at the build files.

The build files

As you can see below the build files for Maven (pom.xml) and Gradle (build.gradle) used in this sample project are very simple. Please refer to the documentation of the build tool of your choice for more information.

Remember that we set our Printer Actor to use the Logger from Akka? This is why there is a lot of extra information when we log things. The log output contains information like when and from what actor it was logged. Let’s focus on the output from the Printer Actor for a while:

Try running the code a couple of more times and make sure to notice the order of the logging. Did you notice that it can change from one run to another. What’s happening here? The asynchronous behavior becomes evident. This might be a new mental model for you. But, once you gain experience with it everything will become clear; just like for Neo in the Matrix.

Next steps

If you use IntelliJ, try integrating the sample project with IntelliJ IDEA.

To continue learning more about Akka and Actor Systems, look at the Getting Started Guide next. Happy hakking!