It looks ok, the only problem I can see that something can happen
between storing book in cache and getting book from cache.
Scenario like:
1) fetch book from Amazon and store in cache.
2)  book expires in Amazon (or any other event happens)
3) next request - get data from cache - you return status of the book
at the point 1), not the point 2).

But maybe this problem does not matter very much.

If you want to see if it is working simply use logging and watch the
log entries.
http://code.google.com/intl/pl/appengine/docs/java/runtime.html

I don't know if there is any method of sending request simultaneously
- maybe Amazon API supports some king of "batch requests" - but I'm
guessing only.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to