Developing the Reactive Chat System

In this section, we will develop and discuss our Reactive Chat System using Play/AkkaStreams/Scala Technology Stack.

Perform the following steps to explore Akka Streams Dynamic components:

  1. Create a Scala SBT project in your favorite IDE:
      Project Name : play-akka-streams-scala-chatroom-app
  1. Add the akka-streams dependency in the build.sbt file, as shown here:

build.sbt:

      name := "play-akka-streams-scala-chatroom-app"      scalaVersion := "2.12.4"      val akkaVersion = "2.5.9"      lazy val root = (project in file(".")).enablePlugins(PlayScala)      crossScalaVersions := Seq("2.11.12", "2.12.4")      libraryDependencies += guice      libraryDependencies += "org.webjars" %% "webjars-play" % "2.6.1" libraryDependencies += "org.webjars" ...

Get Scala Reactive Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.