alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Akka/Scala example source code file (hello-world.rst)

This example Akka source code file (hello-world.rst) is included in my "Source Code Warehouse" project. The intent of this project is to help you more easily find Akka and Scala source code examples by using tags.

All credit for the original source code belongs to akka.io; I'm just trying to make examples easier to find. (For my Scala work, see my Scala examples and tutorials.)

Akka tags/keywords

activator, akka, hello, it, obligatory, scala, the, there, this, typesafe

The hello-world.rst Akka example source code

##########################
The Obligatory Hello World
##########################

The actor based version of the tough problem of printing a
well-known greeting to the console is introduced in a `Typesafe Activator <http://www.typesafe.com/platform/getstarted>`_
tutorial named `Akka Main in Scala <http://www.typesafe.com/activator/template/akka-sample-main-scala>`_.

The tutorial illustrates the generic launcher class :class:`akka.Main` which expects only
one command line argument: the class name of the application’s main actor. This
main method will then create the infrastructure needed for running the actors,
start the given main actor and arrange for the whole application to shut down
once the main actor terminates.

There is also another `Typesafe Activator <http://www.typesafe.com/platform/getstarted>`_
tutorial in the same problem domain that is named `Hello Akka! <http://www.typesafe.com/activator/template/hello-akka>`_.
It describes the basics of Akka in more depth. 

Other Akka source code examples

Here is a short list of links related to this Akka hello-world.rst source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.