Re: [appengine-java] Re: task queue

2010-08-10 Thread pierre dugalle
OK thanks for the link! 2010/8/11 David Sowerby > Hi Julzin > > Seems like a popular theme, see: > > > http://groups.google.com/group/google-appengine-java/browse_thread/thread/fbbbab71067d536b > > On Aug 10, 8:24 am, julzin wrote: > > hi, > > I would like to know if there was a way to know whe

[appengine-java] Re: task queue

2010-08-10 Thread David Sowerby
Hi Julzin Seems like a popular theme, see: http://groups.google.com/group/google-appengine-java/browse_thread/thread/fbbbab71067d536b On Aug 10, 8:24 am, julzin wrote: > hi, > I would like to know if there was a way to know when a queue is empty > (or when all the tasks that have been assigned

[appengine-java] Re: What are benefits of using Core Value Types?

2010-08-10 Thread Sam E.
Thanks Ikai! Makes sense. Will probably just use Strings then. Appreciate all your blogposts on ikaisays.com Cheers, -Sam Edwards http://twitter.com/HandstandSam On Aug 9, 5:00 pm, "Ikai L (Google)" wrote: > In the Python API, these just make it easier to serialize to XML. As of > right now,

Re: [appengine-java] Re: Problem with Java JSP tutorial.

2010-08-10 Thread Julie
Hmm.. I just did a test and it worked for me. I noticed my Eclipse started to do funny things yesterday. You might want to try and restart your IDE. If that doesn't work, try and reboot your machine and try again. - Original Message From: kahou To: Google App Engine for Java Sen

Re: [appengine-java] Retrieving the n nearest Points(Location) returned by distance

2010-08-10 Thread Ikai L (Google)
We don't do spatial indexing yet. However, read up on Geomodel: http://code.google.com/p/geomodel/ http://code.google.com/apis/maps/articles/geospatial.html On Tue, Aug 10, 2010 at 7:26 AM, fvisticot wrote: > I have entities with a GeoPt property > > In input, i have a longitude/latitude (curr

Re: [appengine-java] Monitoring the Task Queue

2010-08-10 Thread Ikai L (Google)
There are a few open feature requests for this. You'll want to star them: http://code.google.com/p/googleappengine/issues/list?can=2&q=task+queue&colspec=ID+Type+Status+Priority+Stars+Owner+Summary+Log+Component&cells=tiles On Tue, Aug 10, 2010 at 6:48 AM, fvisticot wrote: > Is there an API ava

Re: [appengine-java] Stored Data- how billed?

2010-08-10 Thread Ikai L (Google)
We should be taking the average per month, so if you have 25gb averaged over a month, you are charged 25gb x $0.15 = $4 for storage. More likely than not, you will be incurring CPU costs, not storage costs. On Mon, Aug 9, 2010 at 4:39 PM, Shawn Brown wrote: > Hi, > > About storage costs, > > If I

[appengine-java] Re: HELP: My app is getting lots of HardDeadlineExceededError today.

2010-08-10 Thread Heiko Roth
On 9 Aug., 21:28, SC2PlayerFinder wrote: > Further explanation.  I had a large increase in users which caused a > chain reaction. Tasks that used to take about 10-20 seconds started > taking longer and using more CPU time. Interestingly, these tasks are > doing the exact same thing, but under a hi

[appengine-java] task queue

2010-08-10 Thread julzin
hi, I would like to know if there was a way to know when a queue is empty (or when all the tasks that have been assigned to it are finished) ? >From the API documentation, it seems to me like a queue object only allows to add a task, but not to retrieve this kind of information. Maybe there is a wa

[appengine-java] DNS SRV record lookup

2010-08-10 Thread Za Boss
I am just wondering if there is a way for java apps deployed as servlet in google app engine, that could perform DNS SRV record lookup for a client app. The idea is I am developing an xmpp client, the client needs to issue a DNS query (DNS SRV record lookup) to the Servlet (which is deployed on go

[appengine-java] No Filename when serving a blob

2010-08-10 Thread rapher
Hello, when i serve a file saved in the Blobstore using its BlobKey the filename- and extension are missing, files get named "Download" always. I use the Serve Servlet from http://code.google.com/appengine/docs/java/blobstore/overview.html If i directly redirect from the Upload Servlet to the Ser

[appengine-java] DNS SRV Record Lookup

2010-08-10 Thread Za Boss
I am just wondering if there is a way for java apps deployed as servlet in google app engine, that could perform DNS SRV record lookup for a client app. The idea is I am developing an xmpp client, the client needs to issue a DNS query (DNS SRV record lookup) to the Servlet (which is deployed on go

[appengine-java] Retrieving the n nearest Points(Location) returned by distance

2010-08-10 Thread fvisticot
I have entities with a GeoPt property In input, i have a longitude/latitude (current user location) and i would like to return the n nearest entities. How to solve this pb ? What is the query ? Do i need to use an external framework ? -- You received this message because you are subscribed to

[appengine-java] Monitoring the Task Queue

2010-08-10 Thread fvisticot
Is there an API available to monitor the task queue. I would like to be trigged in my code when the queue is empty. A Listener for queue empty would be nice ... -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group

Re: [appengine-java] "built-in indices are not efficient enough for this query and your data"

2010-08-10 Thread Alfred Fuller
On Sat, Aug 7, 2010 at 6:18 PM, Philip Tucker wrote: > I've just started getting the following error on my server. This query > had been working fine for months, and I haven't changed the indexes > lately. Are there some indexes that just buckle under heavy load or > larger data sets? This partic

[appengine-java] Re: Invalidating users session

2010-08-10 Thread Peter Ondruska
http://code.google.com/p/googleappengine/issues/detail?id=3049 On Aug 10, 1:25 pm, Ice13ill wrote: > Still, it seams that _ah_SESSION objects are not always cleaned > automatically... > > On Aug 7, 12:53 pm, Hariharan Anantharaman > > > > wrote: > > When i tried using session.Invalidate method,

[appengine-java] Re: BlobstoreService not compatible with HTML5 multiple file upload?

2010-08-10 Thread Dan Dubois
It might be nice for blobstoreService.getUploadedBlobs(req) to return a com.google.common.collect.Multimap but it is probably too late to change that method of the API. On Aug 10, 1:06 pm, Dan Dubois wrote: > Dear All, > > I would like to upload multiple files to my Blobstore using HTML5's > mult

[appengine-java] Saving many entities: tasks or not?

2010-08-10 Thread Pieter Coucke
Hi, I'm calling a webservice which returns an XML with 100 items. This webservice is called many times a second. I want to save the items as fast as possible and so I was thinking of creating a task for each item (with the serialized item object as task payload). Each such task does a select on

[appengine-java] BlobstoreService not compatible with HTML5 multiple file upload?

2010-08-10 Thread Dan Dubois
Dear All, I would like to upload multiple files to my Blobstore using HTML5's multiple file upload feature. However, on Safari at least, I imagine each file that is uploaded will be attributed with the same name "myfiles". Therefore Map blobs = blobstoreService.getUploadedBlobs(req); does not

Re: [appengine-java] google app engine Inquiry

2010-08-10 Thread Pieter Coucke
Yes, you can use jQuery like you can use it for any html page. Documentation for jQuery is here: http://jquery.com On Tue, Aug 10, 2010 at 1:20 PM, Ahmed Shoeib wrote: > Can i use jquery in my app engine application or not ? > > and if i can i want tutorial explain how to use it > > thanks >

[appengine-java] Re: Invalidating users session

2010-08-10 Thread Ice13ill
Still, it seams that _ah_SESSION objects are not always cleaned automatically... On Aug 7, 12:53 pm, Hariharan Anantharaman wrote: > When i tried using session.Invalidate method, during logout, the logout time > increased and the cpu consumption by logout was also high. I could not find > reason

[appengine-java] google app engine Inquiry

2010-08-10 Thread Ahmed Shoeib
Can i use jquery in my app engine application or not ? and if i can i want tutorial explain how to use it thanks ahmed shoeib Java Developer -- 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 goo

[appengine-java] Re: Alternate for Like Clause

2010-08-10 Thread Vikas Hazrati
LIKE works in app engine though with a few minor constraints here is one of our named queries @NamedQuery(name = "User.findAllByUserFirstNamePattern", query = "SELECT user " + "FROM User as user WHERE upperFirstName like :pattern " + "ORDER BY upperFirstName"), Re

[appengine-java] Re: Dates and TimeZones

2010-08-10 Thread Ian Marshall
I'm glad that it works! I have remembered now why I use the same Date twice (the way you do it just once is neater than mine): the first Date allows the calendar to decide whether it is in summer time or not (for those time zones that have a summer daylight saving time). The second Date is the one