[appengine-java] Deferred Task with non default queue

2011-04-21 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 mes

[appengine-java] Channel API

2011-04-21 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 th

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

2011-04-21 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] Re: Best Practice for Java Datastore API

2011-04-21 Thread Andy
Thanks both of you. I would like to know the best practice of system design when using low level api. Like where should I store the property type information? I could simply use a Map to store the schema for each entity but then a property sometimes has more than just the type but also forma

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

2011-04-21 Thread Jay Young
For me, it's still been beneficial to use a model-like class just like you would for JDO and JPA and make all of your data store calls within these classes, and make sure the methods that perform writes enforce the invariants. I'm doing this in Javascript, even, and I've never had an issue wit

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

2011-04-21 Thread Didier Durand
Hi Andy, Why don't you try a 3rd party package with an intermediate level of abstraction: they enforce types. See Google recommandations at http://code.google.com/appengine/docs/java/datastore/overview.html#Introducing_the_Java_Datastore I personally use Objectify. regards didier On Apr 22, 6

[appengine-java] Best Practice for Java Datastore API

2011-04-21 Thread Andy
Hi, I am trying to get away from JDO and now into Low Level API. I find that the Low Level API is much more flexible except one thing. I have a challenge on enforcing or checking data type for each entity property. So if I don't want to hard code the data type or using reflection, how do I d

[appengine-java] Re: Failing tasks getting duplicated

2011-04-21 Thread John
Any update from App Engine team? I have thousands of tasks being created everytime I have a bug in one of them :( -- 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@googlegrou

[appengine-java] Re: javamail: adding text attachment to email causes exception

2011-04-21 Thread Eliot Stock
looks like calling setFileName() will fix that, even if you're not attaching a file as such. -- 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 unsubscri

[appengine-java] Deferred Task and retries

2011-04-21 Thread Marcel Overdijk
Can DeferredTask also be configured to have retries? -- 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 from this group, send email to google

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

2011-04-21 Thread Laurent Pellegrino
Thanks for you anwser. However, I am using the version 1.4.3 of the SDK :( -- 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 from this group,

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

2011-04-21 Thread Laurent Pellegrino
Thanks for your answer. However, I am using the version 1.4.3 of the SDK. -- 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 from this group,

[appengine-java] Re: GAE on Mac OS X not working on local Jetty

2011-04-21 Thread James Moore
On Mar 30, 10:34 am, "Ikai Lan (Google)" wrote: > Just a quick update: there should be a fix going out for this when we > release the final 1.4.3 SDK. What was the fix? Or more precisely, what do we need to do in addition to installing 1.4.3? I've got 1.4.3 and still see this problem. -- You

[appengine-java] android app and google app engine

2011-04-21 Thread dass
I have developed an android app which decodes a QR code .I need to send this decoded information to a sever which has a Mysql database. Here I need to check in database that the information is present or not. I dont have a sever whose url I can specify in myapp. Plz help by suggesting on how do I

[appengine-java] Re: How to make persistent fields from parent class

2011-04-21 Thread Didier Durand
Hi, Did you try to bring the jar containing those annotations over to Android and then make it an Android dex file, If android sdk accepts to dex it, that may be good enough Let us know if this works else I may have another less direct solution regards didier On Apr 21, 4:39 pm, cghersi wrot

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

2011-04-21 Thread Didier Durand
Hi, You should also submit this in the Objectify group regards didier On Apr 21, 5:30 pm, Simon Knott wrote: > Hi, > > What version of the SDK are you using?  The increase to the time allocated > for backgrounds tasks only took place in v1.4 onwards.  Also, there was a > bug in the development

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

2011-04-21 Thread Simon Knott
Hi, What version of the SDK are you using? The increase to the time allocated for backgrounds tasks only took place in v1.4 onwards. Also, there was a bug in the development server pre version 1.4.3, which meant that the tasks didn't have a 10 minute timeout. Cheers, Simon -- You received

[appengine-java] How to make persistent fields from parent class

2011-04-21 Thread cghersi
Hi all, I've got an architectural issue frustrating me from several days. I'm quite new to GoogleAppEngine, so perhaps I'm not completely aware of all the possibilities of this framework. Let's say I've got this configuration: on GoogleAppEngine there is my backend, providing several APIs via ser

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

2011-04-21 Thread Laurent Pellegrino
Hi all, 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 submit a new task with a cursor set to the last entity iterated on. When

[appengine-java] How to manually add child entities to datastore via AdminConsole

2011-04-21 Thread cghersi
Hi all, sometimes, I would like to add some child entities to the datastore of my app directly from AdminConsole. I tried to go to "Data Viewer", and click on the "Next" button of the "Create" tab. I filled all the relevant fields of my child entity, but now I'm facing this problem: how may I lin

[appengine-java] admin role and Appengine console VIEWER

2011-04-21 Thread Aswath Satrasala
Hello, In the Appengine console, I have invited a user 'x...@gmail.com' as a VIEWER to my app-id. I am using userService.isUserAdmin() function inside a servlet. If the function returns true, I am doing some special processing. User x...@gmail.com logs into the app-id and access the servlet. Qu

Re: [appengine-java] Re: JPA/JDO vs low level API

2011-04-21 Thread Ronoaldo José de Lana Pereira
As Jeff and others already posted, JPA on AppEngine just don't work as you expect (from the JPA point of view), and others just work as you don't. I'm the team leader of a running GAE/J application and we are, like Jeff says, * screaming* because of my decision to use JPA. We were about to consid

Re: [appengine-java] Generating PDFs

2011-04-21 Thread Jan Willies
2011/4/21 Vik > Hie > > We are a NGO which runs online blood donor system. We want to send > appreciation e-certificate to the person who donates blood in the form of > PDF. > > So exactly what we can use to generate such certificates on the fly and > mail to the donor whenever our system receive

[appengine-java] Generating PDFs

2011-04-21 Thread Vik
Hie We are a NGO which runs online blood donor system. We want to send appreciation e-certificate to the person who donates blood in the form of PDF. So exactly what we can use to generate such certificates on the fly and mail to the donor whenever our system receives notification from a blood do

[appengine-java] admob jsp code on the appengine

2011-04-21 Thread hst
Hi, has anyone tried to use the JSP code for Admob advertising on appengine? Does it work? -- 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] Re: How to trace the TaskQueue status

2011-04-21 Thread jgranie
Hi, To avoid polling, should it be possible for the task to post a message at the end to the server, so the server could send a notification to the client via a channel (in the doPost Processing) ? On 20 avr, 16:47, branflake2267 wrote: > I setup a JDO class and store the task attributes. I send