[appengine-java] Re: Best Practice for Java Datastore API

2011-04-22 Thread Didier Durand
Hi Andy, My suggestion - if you're reluctant to use a 3rd party package - is at least to read their source code (they are open source) to see how they proceed to achieve what you want, which is also what they do. I read most of Objectify: not that long - approx 10K lines. Definitely a must read

[appengine-java] Channel API

2011-04-22 Thread Ravi Sharma
Hi, I have just started using Channel API and it look to work fine. But there are few things i would like to know/clear/understand about my design. My Design: Currently when my site's page load it creates a token at server and injet into HTML page, GWT then read the token and start listening to

[appengine-java] Deferred Task with non default queue

2011-04-22 Thread Marcel Overdijk
Is it possible to use Deferred Tasks outside the default queue? I would like to setup multiple queues with different config settings. For the Deferred Tasks a specific handler is setup at /_ah/queue/ __deferred__ so I wonder how that would work with multiple queues -- You received this

[appengine-java] Re: Deferred Task and retries

2011-04-22 Thread Marcel Overdijk
To answer my own question, from the docs I can read that retries are possible and are enabled automatically. On Apr 21, 10:53 pm, Marcel Overdijk marceloverd...@gmail.com wrote: Can DeferredTask also be configured to have retries? -- You received this message because you are subscribed to the

[appengine-java] how to read an empty cell from google spreadsheet using java?

2011-04-22 Thread Rambo
Hi every one! Am very much new to Google app engine I was trying to read a particular row for specified range and also trying to update it, but in that particular row if any empty cell presents, the code just skipping it. My need is to write data's to specified range even it

[appengine-java] Re: Deferred Task with non default queue

2011-04-22 Thread Marcel Overdijk
Maybe use additional mappings to com.google.apphosting.utils.servlet.DeferredTaskServlet The documentation on Deferred Tasks is a little bit sparse... Any pointers appreciated. Basically what I would like to do is have multiple queue defined with different throttling settings. And use

[appengine-java] Datastore Viewer - Server Error

2011-04-22 Thread Charms Styler
I keep getting the following message when ever I Click on the *Datastore Viewer* link at the Admin Control Panel. How can I view my App data?? https://appengine.google.com/ * * Server Error A server error has occurred. Return to Applications screen » https://appengine.google.com/ -- You

[appengine-java] Are urls with /ah/* automatically protected?

2011-04-22 Thread Marcel Overdijk
I'm wonderinf if urls starting with /ah/* (like /_ah/queue/ __deferred__) are automatically protected or that I should configure a security constraint. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send

[appengine-java] Re: Deferred Task with non default queue

2011-04-22 Thread Marcel Overdijk
I did some quick testing and I found out: QueueFactory.getQueue(email- queue).add(TaskOptions.Builder.withPayload(new EmailTask(email)).url(/email-queue)); that with above I can enqueue a deferred task in the another queue (not default). I had to to use the url(/email-queue) setting otherwise it

Re: [appengine-java] Are urls with /ah/* automatically protected?

2011-04-22 Thread Luca Matteis
These pages are only available on the development server, not when your site goes live. So it should be safe enough :) On Fri, Apr 22, 2011 at 11:18 AM, Marcel Overdijk marceloverd...@gmail.com wrote: I'm wonderinf if urls starting with /ah/* (like /_ah/queue/ __deferred__) are automatically

[appengine-java] can i access Datastore from my GWT Client coding

2011-04-22 Thread Ram
In my Java App Engine project..I am using GWT for client side I want create following using GWT... If i click on show button from my Application(browser)It will get some message from AppEngine Datastore and show it in my screenis it possible using GWT... Please help me --

[appengine-java] JDo Program Error...The class datastore.Greeting is not persistable

2011-04-22 Thread Ram
hi, I have tried a JDO Program(using Eclipse AppEngine Project) given here http://code.google.com/appengine/docs/java/gettingstarted/usingdatastore.html But When i debug my program, First page displys , Hello App Engine! Available Servlets: DataStorehttp://localhost:/datastore

[appengine-java] Local Datastore not working

2011-04-22 Thread Josh F.
All I did was delete my local_db.bin file and then clean the project in eclipse. Now I can't get my local Datastore to work...this happens on a jsp file that works perfectly fine once deployed. The file was working fine until I deleted local_db.bin and then it started throwing this error: HTTP

[appengine-java] Re: Local Datastore not working

2011-04-22 Thread Josh F.
This is really frustrating because I have to deploy everytime I want to see a minor change. Someone please help, no matter what I do I cannot get my local datastore back On Apr 22, 10:56 am, Josh F. jef3...@gmail.com wrote: All I did was delete my local_db.bin file and then clean the project

[appengine-java] Re: How to trace the TaskQueue status

2011-04-22 Thread branflake2267
Thats a good idea. I might have to try to see if I can make that work. Brandon Donnelson http://gwt-examples.googlecode.com -- 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

[appengine-java] Re: Uploading a file to the blobstore in Base64 gives wrong filesize in blobinfo. Any work arounds?

2011-04-22 Thread branflake2267
Trying the file channel reader: More here - http://code.google.com/p/gwt-examples/wiki/DemoGAEMultiFileBlobUpload?ts=1303485150updated=DemoGAEMultiFileBlobUpload private byte[] getImageBytes_v2(BlobData blobData) { if (blobData == null || blobData.getKey() == null) { return null;

Re: [appengine-java] java.lang.IllegalArgumentException: query not found

2011-04-22 Thread David Gay
Laurent Pellegrino laurent.pellegr...@gmail.com Apr 21 07:38AM -0700 wrote: I am running a task which iterates on Entities retrieved from a query performed with Objectify. For each entity I iterate on, I update some fields and then I save it to the datastore. If the task gets near 10 min I

Re : Re: [appengine-java] java.lang.IllegalArgumentException: query not found

2011-04-22 Thread Laurent Pellegrino
Thanks for these clarifications. Now, I have understood why I was getting an exception. -- 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 google-appengine-java@googlegroups.com. To unsubscribe

[appengine-java] Extending Enterprise Data running in the Cloud to Adobe AIR (desktop and mobile)

2011-04-22 Thread mcoderkat
Cloud computing is becoming more prevalent as enterprises look to reduce infrastructure cost. Mobile computing is being adopted at a frantic pace for many reasons, one reason is to enable workers to be more productive whether they are tethered to corporate servers or not. How to integrate the

[appengine-java] Re: Local Datastore not working

2011-04-22 Thread branflake2267
I've noticed deploying to production after JDO class/object modifications, versioning up helps. I change the version. Things I try, writing some bogus data to jdo object to init it. I'll disable then re-enable GAE in eclipse, clean project. I posted to your other post too. More source code

[appengine-java] Re: JDo Program Error...The class datastore.Greeting is not persistable

2011-04-22 Thread branflake2267
Do you have on your class PersistenceCapable? PersistenceCapable public class Greeting { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; Brandon Donnelson http://gwt-examples.googlecode.com -- You received this message because you are

[appengine-java] Re: how to read an empty cell from google spreadsheet using java?

2011-04-22 Thread branflake2267
There is an option in the api not to skip. I can't find it at the moment. But I've seen it. Brandon Donnelson http://gwt-examples.googlecode.com -- 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