October 2011
Intermediate to advanced
352 pages
7h 58m
English
This chapter demonstrates how to write code to communicate with the Google App Engine datastore and the Blobstore. It builds on the theory presented in Chapter 4, “Data Modeling for the App Engine Datastore.” It starts with storing, querying, and retrieving data synchronously. Next, the changes in the code to process data asynchronously are presented. Two simple examples demonstrate how to work with multitenancy and transactions. Finally, storing, querying, and retrieving blobs from the Blobstore are demonstrated.
Google provides three APIs to work with the datastore: Java Data Objects (JDO), Java Persistence API (JPA), and the low-level API. In addition, the ...
Read now
Unlock full access