February 2018
Intermediate to advanced
552 pages
13h 46m
English
In this section, we will develop a couple of Actors to explore Akka Actor's lifecycle methods in detail. Perform the following steps to explore Akka Actor's lifecycle:
Project name: akka-actor-lifecycle-app
build.sbt:
name := "akka-actor-lifecycle-app"
version := "1.0"
scalaVersion := "2.12.2"
libraryDependencies ++= Seq("com.typesafe.akka" %% "akka-actor" % "2.5.9")
ActorLifecycleApp.scala:
package com.packt.publishing.actor.lifecycle import akka.actor.{Actor,ActorSystem,Props} class LifecycleActor extends Actor{ override ...Read now
Unlock full access