2013-04-24 22:46:39 +02:00
|
|
|
|
##########################
|
|
|
|
|
|
The Obligatory Hello World
|
|
|
|
|
|
##########################
|
|
|
|
|
|
|
2013-11-15 11:53:21 +01:00
|
|
|
|
The actor based version of the tough problem of printing a
|
|
|
|
|
|
well-known greeting to the console is introduced in a `Typesafe Activator <http://typesafe.com/platform/getstarted>`_
|
|
|
|
|
|
tutorial named `Akka Main in Java <http://typesafe.com/activator/template/akka-sample-main-java>`_.
|
2013-04-24 22:46:39 +02:00
|
|
|
|
|
2013-11-15 11:53:21 +01:00
|
|
|
|
The tutorial illustrates the generic launcher class :class:`akka.Main` which expects only
|
2013-04-24 22:46:39 +02:00
|
|
|
|
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
|
2013-11-15 11:53:21 +01:00
|
|
|
|
once the main actor terminates.
|
2013-04-24 22:46:39 +02:00
|
|
|
|
|
2013-11-15 11:53:21 +01:00
|
|
|
|
There is also another `Typesafe Activator <http://typesafe.com/platform/getstarted>`_
|
|
|
|
|
|
tutorial in the same problem domain that is named `Hello Akka! <http://typesafe.com/activator/template/hello-akka>`_.
|
|
|
|
|
|
It describes the basics of Akka in more depth.
|
2013-04-24 22:46:39 +02:00
|
|
|
|
|