By: Laureline David & Michael Rohrer
Deploy a simple e-commerce application on Google App Engine and Google Datastore
Implement transactions on the datastore write operations
Examine what happens when two or more users want to change the same data at the same time (concurrent access)
In this lab you will perform a number of tasks and document your progress in a lab report. Each task specifies one or more deliverables to be produced. Collect all the deliverables in your lab report. Give the lab report a structure that mimics the structure of this document.
URL | Servlet Name |
---|---|
/product | ProductServlet |
/item | ItemServlet |
/customer | CustomerServlet |
/order | OrderServlet |
BaseServlet
sets up the Content-Type
and Cache-Control
headers.
CustomerServlet
uses the Customer
class.
Customer
class uses the Utils
class.
No, since the implemented transaction block only prevents from concurrency errors (such as two threads performing a concurrent write). The edit form is not protected by a transaction (much harder to implement) and does not prevent edit conflicts.