concept random number in category akka

appears as: rdom numbers, random number, rdom number
Reactive Web Applications: With Play, Akka, and Reactive Streams

This is an excerpt from Manning's book Reactive Web Applications: With Play, Akka, and Reactive Streams.

Listing 11.1. Definition of a service that provides random numbers

11.3.1. Creating a simple application to generate random numbers

We’ll create a simple application that, upon the click of a button, will generate a random number. To make our application a bit more interesting, we’ll fetch the random number from RANDOM.ORG (http://random.org) and get some real network traffic going. You’ll need to request an API key at https://api.random.org.

Listing 11.10. Simple view with a button to generate a random number