O'Reilly logo

Scala Reactive Programming by Rambabu Posa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Akka Actor's implementation

In this section, we will try to implement some of the components using the Akka Toolkit to understand it well. Anyhow, it is not a real WF System, just a simple and dummy solution. We will improve this system, step by step in the coming chapters.

Perform the followings steps one by one:

  1. Create an SBT Project in your favorite IDE (I am using IntelliJ IDEA):
      Project Name: akka-wf-system 
  1. Update the build.sbt file:

build.sbt:

      name := "akka-wf-system"
 
      version := "1.0" 
      scalaVersion := "2.12.2" 
      libraryDependencies ++= Seq( 
       "com.typesafe.akka" %% "akka-actor" % "2.5.9"
      ) 
  1. Create WF DataStore System:

WFDataSystem.scala:

 package com.packt.publishing.wfsystem import akka.actor.Actor sealed class WFDataMessage case ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required