This example demonstrates the use of following frameworks in SCALA to build a simple RESTful service Scala Spray Spray-JSON SORM The example has a single domain object as a case class named Person and persists it in h2 in-memory database using SORM Run the application. Check curl_commands.txt to send a post request to create Person object. Run http://localhost:8080 to get all created Person(s)