UP | HOME
../../

Lightbend (old TypeSafe) Activator

Table of Contents

1 Akka Get Started with TypeSafe Activator

  1. Activator Reactive (= Concurrency + Events) Application Developer Environment
  2. Includes several examples: src code + tutorials
  3. Covers: Scala, Actors, and Akka Runtime
  4. http://www.typesafe.com/platform/getstarted "The best way to start learning Akka …"

2 Activator Practical Details

  1. Activator is web browser based application. % activator ui will bring up a browser based UI. Without the ui argument, yiu get a cli. % is my shell prompt.
  2. Using remotely: ssh 130.108.17.112
  3. % activator ui -Dhttp.address=130.108.17.112 -Dhttp.port=8080 -Dbrowser=/usr/bin/google-chrome if you wish to provide more control.
  4. Copies/Creates its applications in ~/.activator/ and ~

3 Akka, without Activator, Practical Details

  1. 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

  1. 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.
  2. https://doc.akka.io/docs/akka/2.5.1/AkkaJava.pdf 659pp. May 2017. Reference.
  3. 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.
  4. https://www.lightbend.com/blog/typesafe-changes-name-to-lightbend 2016. FYI.

5 End


Copyright © 2020 www.wright.edu/~pmateti • 2020-01-31