[appengine-java] Re: Discussion for Best Practices For App Engine With Example

2010-06-30 Thread James
Jake - Thanks for sharing that! Are you using it successfully w/ GAE? I'm having a problem using it w/ the dev appserver. I'm not the only one - http://code.google.com/p/projectlombok/issues/detail?id=112 I suspect it's just a config issue... lombok should probably only be in the buildpath,

[appengine-java] Re: Disable Single Property Indexes

2010-06-30 Thread James
(Clarification - I'm ok w/ disabling both composite and single-prop indexes, just wondering how) On Jun 30, 10:40 am, James jamesk...@gmail.com wrote: Thanks Nick, that's good to know. Is there a way to disable (single property + composite) indexes: 1 - Using JDO 2 - By applying this to

[appengine-java] OAuth signed request still redirects protected URLs to signin page

2010-06-30 Thread Derek Battams
I am now using OAuth for authentication to my app. I've protected some URLs in my web.xml with: auth-constraint role-name*/role-name /auth-constraint However, a signed OAuth request to one of these URLs still replies with a 302 redirect to the Google signin page for my app. Is

Re: [appengine-java] Regarding Datastore

2010-06-30 Thread Ikai L (Google)
Yes, you can query using the low level API for a list of Keys, then call delete with that List. I'll be expanding my blog post series about the low-level API sometime soon. On Fri, Jun 25, 2010 at 4:28 AM, MANISH DHIMAN manisd...@gmail.com wrote: Hi All I have the following queries. -- I

Re: [appengine-java] Re: Limiting the number of requests per IP each minute

2010-06-30 Thread Ikai L (Google)
Yes, I have used your technique in the past. For the key, however, I've used this as the key: (Pseudocode): strftime(%Y %m %d %h) + ipaddress Memcache uses LRU to expire elements, so once the hour passes, the key will be quickly expired as it falls off the end of the list. On Wed, Jun 30, 2010

[appengine-java] Re: Limiting the number of requests per IP each minute

2010-06-30 Thread mscwd01
Thanks for confirming that Ikai. Just a quick question, why append the IP address with time date? I assume it's to determine when the last time the given IP was inserted into the memcache? I.e. Key = 2010,06,30,12 - 127.0.0.1 However, how would you perform a lookup for the key in the memcache

[appengine-java] Re: Any ETA for a backup/restore facility?

2010-06-30 Thread mscwd01
Thanks for replying Ikai. I assumed the Datastore dump and restore facility on the roadmap was referring to an import/export tool - a way for us to download the contents of the datastore for safekeeping and restoring it if needs be? Is this something different? Lastly, I would consider an

[appengine-java] SDK 1.3.5 released!

2010-06-30 Thread Ikai Lan
Hey everybody, We've released the 1.3.5 SDK. Blog post here: http://googleappengine.blogspot.com/2010/06/app-engine-sdk-135-released-with-new.html The big announcements are the raising of the Task Queue rate, Python precompilation, and new Blob features. You can get it from the downloads page:

[appengine-java] BlobStore + Guice Servlets on Dev AppServer

2010-06-30 Thread Matt Mastracci
Hi all, I'm running into an issue on the Dev AppServer where the redirect after blob upload doesn't work. I get a 404 error from Jetty when the upload completes, even though the URL is valid outside of the upload request. I believe this is because Guice handles all of the serving itself from a

[appengine-java] app upload issue

2010-06-30 Thread Vik
Hie Can someone help me on how to resolve it? I understand what the error means but dont know where to go to fix it Initiating update. java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=sakshumweb20version=1; 409 Conflict Another transaction by

[appengine-java] Re: String limit in JDO

2010-06-30 Thread Didier Durand
Hi, why don't you use blobs ? http://code.google.com/appengine/docs/java/blobstore/overview.html didier On Jun 30, 6:59 pm, Developer cyber.antagon...@gmail.com wrote: Hi! I'm developing blog engine using JSP, servletts and JDO (thru GAE). And I've got a problem. For blog-posts I've

Re: [appengine-java] app upload issue

2010-06-30 Thread Don Schwarz
http://code.google.com/appengine/docs/java/tools/uploadinganapp.html#Command_Line_Arguments http://groups.google.com/group/google-appengine-java/browse_thread/thread/7beadad55307cca5 On Thu, Jul 1, 2010 at 2:47 AM, Vik vik@gmail.com wrote: Hie Can someone help me on how to resolve it? I

[appengine-java] name LIKE '%abc%'

2010-06-30 Thread gaenoob
I would like to do this: SELECT * FROM names WHERE name LIKE '%abc%'. How to do that in GAE's datastore? -- 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-j...@googlegroups.com.

[appengine-java] Re: BlobStore + Guice Servlets on Dev AppServer

2010-06-30 Thread Matt Mastracci
Hey all, I managed to solve it by adding Guice into the FORWARD dispatch chain as well. In dev mode, the blobstore service uses RequestDispatcher.forward() rather than an HTTP request: filter-mapping filter-nameguiceFilter/filter-name

Re: [appengine-java] name LIKE '%abc%'

2010-06-30 Thread RAVINDER MAAN
Please check http://groups.google.com/group/google-appengine-java/browse_thread/thread/56720b03aa0d76fd/be4a5b327dd4051c?hl=enlnk=gstq=like#be4a5b327dd4051c -- Regards, Ravinder Singh Maan -- You received this message because you are subscribed to the Google Groups Google App Engine for Java