Scala REST service and client. Code based on example from the book Scala in Action chapter 2.