Re: [appengine-java] Where war file and jars are located in google app engine site

2010-09-13 Thread Crll Vnc
Hi Saurabh, That's the magic of GAE : forget about your jars, wars, and whatsoever. On the server side, you do not have access to the file system. Bye. On 13/09/10 13:51, "Saurabh Saxena" wrote: > Hi All, > > I have successfully deployed applicaion in google app engine by > creating one applica

[appengine-java] Entity with 1 single property + 1 list property : is that OK ?

2010-09-13 Thread Crll Vnc
Hi Big Brains, I carefully watched the Brett¹s speech about large scale apps and how to use the list property. I encourage everyone to watch it. My need : to query on BOTH a single property AND a list property. This will create a custom index over ONE single property and ONE list property. My qu

Re: [appengine-java] Jaxb2Marshaller

2010-09-15 Thread Crll Vnc
JAXB is working fine in my GAE app (I am NOT using Spring although). If using Eclipse, try this tutorial : http://www.webmanie.de/cms158/index.php?option=com_content&view=article&id=1 3&Itemid=0 On 14/09/10 21:41, "Shweta Deshpande" wrote: > Hello, > > Is the class org.springframework.oxm.jaxb.

[appengine-java] Avoid exploding indexes : design question

2010-09-15 Thread Crll Vnc
Hi Big Brains, I carefully watched the Brett¹s speech about large scale apps and how to use the list property. I encourage everyone to watch it. My need : to query on BOTH a single property AND a list property. This will create a custom index over ONE single property and ONE list property. My qu

Re: [appengine-java] Re: Avoid exploding indexes : design question

2010-09-15 Thread Crll Vnc
http://www.youtube.com/watch?v=AgaL6NGpkB8 Enjoy ! On 15/09/10 12:55, "Ice13ill" wrote: > What speech/presentation are you refering ? > > On Sep 15, 11:44 am, Crll Vnc wrote: >> Hi Big Brains, >> >> I carefully watched the Brett¹s speech about large

[appengine-java] re : Query on List where the keys are not primary

2010-09-16 Thread Crll Vnc
Try this : Query q = pm.newQuery(People.class); q.setFilter("contactmethods.contains(pContactMethod)"); q.declareParameters("com.google.appengine.api.datastore.Key pContactMethod"); List allPeople = (List)q.execute(lContactMethodKey); Bye. On 15/09/10 20:28, "Shaun" wrote: > I have two entitie

Re: [appengine-java] Delete indexes for application

2010-09-16 Thread Crll Vnc
See http://code.google.com/intl/fr-FR/appengine/docs/java/configyaml/indexconfig .html Bye On 14/09/10 20:43, "Barada Sahu" wrote: > Hi, > I need to delete the indexes for my java app as the column name has > changed. I am now unable to perform any entity deletions because of > the existing en

Re: [appengine-java] How can i allow user to download a zip file?

2010-09-16 Thread Crll Vnc
Indeed, it works, with ZipInputStream. Here is a piece of code I use in my zipped file upload servlet : [...] CheckedInputStream csumi = new CheckedInputStream(req.getInputStream(), new CRC32()); ZipInputStream zin = new ZipInputStream(new BufferedInputStream(csumi));