Lightbend (old TypeSafe) Activator
Table of Contents
1 Akka Get Started with TypeSafe Activator
- Activator Reactive (= Concurrency + Events) Application Developer Environment
- Includes several examples: src code + tutorials
- Covers: Scala, Actors, and Akka Runtime
- http://www.typesafe.com/platform/getstarted "The best way to start learning Akka …"
2 Activator Practical Details
- Activator is web browser based application.
% activator ui
will bring up a browser based UI. Without theui
argument, yiu get a cli.%
is my shell prompt. - Using remotely:
ssh 130.108.17.112
% activator ui -Dhttp.address=130.108.17.112
-Dhttp.port=8080
-Dbrowser=/usr/bin/google-chrome
if you wish to provide more control.- Copies/Creates its applications in
~/.activator/
and~
3 Akka, without Activator, Practical Details
Akka can be used without defining a configuration, since sensible default values are provided.
// application.conf at the root of the class path. akka { loggers = ["akka.event.slf4j.Slf4jLogger"] loglevel = "DEBUG" stdout-loglevel = "WARNING" actor { provider = "akka.cluster.ClusterActorRefProvider" default-dispatcher { # set to 1 for as fair as possible throughput = 10 } } remote { netty.tcp.port = 2552 } }
4 References
- Akka Scala Documentation https://doc.akka.io/docs/akka/2.4/AkkaScala.pdf 663pp. Aug 2017. Nearly all the code snippets and figures are from here. Reference.
- https://doc.akka.io/docs/akka/2.5.1/AkkaJava.pdf 659pp. May 2017. Reference.
- Jonas Boner, 2011. Web search for "Above the Clouds: Introducing Akka". Video or pdf. {pm: Swedish programmer Jonas Boner is the designer of Akka.} Highly recommended.
- https://www.lightbend.com/blog/typesafe-changes-name-to-lightbend 2016. FYI.