Actors and web applications

If you are building a web-based application or distributed application, it becomes very important that you can make use of the HTTP protocols for the received messages to be processed by the actors.

To expose actors over the HTTP protocol, the recommended framework is the Play framework (

The Play framework is an open source, web application-development framework based on the Model-View-Controller (MVC) paradigm. The framework is written in Scala. The Play 2.0 is part of the Typesafe Stack 2.0. We will not cover the Play framework in its entirety as a part of this section, but we will see how we can expose the actors over REST using the framework.

For the purpose of exposing the actors via ...

Get Akka Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.