Workflow that can be exposed as RESTful web service

It takes a JSON-object of a predefined format, processes it (checking if for prime numbers) and outputs another JSON-object. Typically an instance of this workflow would be instantiated once (or multiple times to increase performance) and then re-used for new data as it becomes available.

This is a companion discussion topic for the original entry at