Skip to Content
Scala Reactive Programming
book

Scala Reactive Programming

by Rambabu Posa
February 2018
Intermediate to advanced
552 pages
13h 46m
English
Packt Publishing
Content preview from Scala Reactive Programming

Extending Play/Scala HelloWorld example with Akka Toolkit

In this section, we will use the same previous Play Framework/Scala based HelloWorld example and extend it with Akka Toolkit. I'll use the content from the previous example to demonstrate this.

Perform the following steps:

  1. Import the previously developed Play/Scala HelloWorld example into your favorite IDE.
  2. I just renamed this Project Name as play-scala-akka-helloworld-app.
  3. Define the configurations routes file:

routes:

      # Routes      # This file defines all application routes (Higher priority        routes first)      # ~~~~      # HelloWorldController without using Play DI      GET /helloWorldNoDI       controllers.HelloWorldNoDIController.helloWorldNoDI      # HelloWorldController with Play DI GET /helloWorldDI controllers.HelloWorldDIController.helloWorld ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Scala Programming Projects

Scala Programming Projects

Mikael Valot, Nicolas Jorand
Learning Scala

Learning Scala

Jason Swartz
Functional Programming in Scala

Functional Programming in Scala

Runar Bjarnason, Paul Chiusano

Publisher Resources

ISBN: 9781787288645Supplemental Content