O'Reilly logo

Play Framework Cookbook - Second Edition by Giancarlo Inductivo, Alexander Reelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integrating a Play application with Parse.com

For this recipe, we will integrate a Play 2 Rest API with a BaaS such as Parse.com's Parse Core, which is a cloud service that allows developers to store data in the cloud. In this recipe, we want to be able to see how we can use Play to integrate other external web services into our web application. It should not be uncommon for modern web applications to have more than one data source. We will use a Parse Core application to mimic this. We will use the Play WS library to connect to the Parse API, particularly using HTTP headers to send application credentials and JSON data to the Parse API web service. We will also be able to use Parse.com's own core data browser to view the data we have stored in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required