[appengine-java] Re: Sharded Counters in Java not using Transactions?

2010-09-24 Thread Doug Daniels
?): http://code.google.com/p/googleappengine/issues/detail?id=3778q=shardedcolspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component On Sep 21, 12:24 pm, Doug Daniels daniels.doug...@gmail.com wrote: I'm going through the Sharded Counters example in Java:http

[appengine-java] Sharded Counters in Java not using Transactions?

2010-09-21 Thread Doug Daniels
I'm going through the Sharded Counters example in Java: http://code.google.com/appengine/articles/sharding_counters.html I have a question about the implementation of the increment method. In python it explicitly wraps the get() and increment in a transaction. In the Java example it just

[appengine-java] Use BlobstoreService and ImageService to upload/serve images drawn from an HTML5 canvas Paintweb JS Library

2010-09-19 Thread Doug Daniels
I'm working on an Appengine application in Java that allows users to upload images drawn through an HTML5 canvas library called PaintWeb (http://code.google.com/p/paintweb/). Currently I have a servlet that receives the XMLHttpRequest POST from the paintweb javascript library as a formencoded

[appengine-java] Re: Use BlobstoreService and ImageService to upload/serve images drawn from an HTML5 canvas Paintweb JS Library

2010-09-19 Thread Doug Daniels
save me resources in the long run (the images are simple small drawings that could be viewed many many more times than the upload time so I feel like I'd get benefit storing/serving from the BlobstoreService. On Sep 19, 3:02 pm, Doug Daniels daniels.doug...@gmail.com wrote: I'm working

[appengine-java] Datastore and Polymorphic support getObjectByID(Parent.class, childKey)

2010-07-12 Thread Doug Daniels
I'm trying to model a polymorphic relationship in JDO, ListGameRound where each GameRound could be either a TextRound or PictureRound. I've followed the documentation and modeled the association as a ListKey as described: