[appengine-java] Re: JDO Query ordering issue
The restriction I am referring to is mentioned here: http://code.google.com/appengine/docs/java/datastore/jdo/queries.html Scroll down to Query Sort Orders where it says: Due to the way the App Engine datastore executes queries, if a query specifies inequality filters on a property and sort orders on other properties, the property used with the inequality filters must be ordered before the other properties. I'm not sure what you mean by Entity query class? On May 25, 2:15 pm, Brandon Donnelson branflake2...@gmail.com wrote: What restrictions are you referring? Have you tried the entity query class, the sort is a bit easier to set up. Query q = new Query(BlobTmpJdo); q.addFilter(key, FilterOperator.EQUAL, fbd.getKey()); q.addSort(index); Brandon Donnelsonhttp://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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: JDO Query ordering issue
I was thinking of import com.google.appengine.api.datastore.Query; http://code.google.com/appengine/docs/java/datastore/queries.html I'm not sure that's going to help b/c of the restriction mentioned. The way I deal with it is use multiple query drill down and depending on size I'll send them into another tmp jdo class or into an array and keep drilling (querying) the data until I get what I want. I've found it doesn't add to much overhead. But I'm sure there are other ways too. 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: JDO Query ordering issue
I think this is referring to the indexes needed to perform the query and not the sort orders needed. All you need to do is order only on score. As long as your indexes are updated your query should work fine. On May 26, 6:33 am, mscwd01 mscw...@gmail.com wrote: The restriction I am referring to is mentioned here:http://code.google.com/appengine/docs/java/datastore/jdo/queries.html Scroll down to Query Sort Orders where it says: Due to the way the App Engine datastore executes queries, if a query specifies inequality filters on a property and sort orders on other properties, the property used with the inequality filters must be ordered before the other properties. I'm not sure what you mean by Entity query class? On May 25, 2:15 pm, Brandon Donnelson branflake2...@gmail.com wrote: What restrictions are you referring? Have you tried the entity query class, the sort is a bit easier to set up. Query q = new Query(BlobTmpJdo); q.addFilter(key, FilterOperator.EQUAL, fbd.getKey()); q.addSort(index); Brandon Donnelsonhttp://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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Coding with Adobe Software
Yes, the w3schools material is good. The mozilla foundation also had a great set of learning materials at http://developer.mozilla.org Click on the learning tab in the upper right. Ed On May 25, 4:00 am, Drew Spencer slugmand...@gmail.com wrote: Sorry dude, I kinda naively assumed you would already have some experience in HTML/CSS. As the two above have said, these are the foundations of all web pages. I highly recommend the tutorials on w3schools.com for both of them. They give a great introduction to becoming a web designer: -http://www.w3schools.com/html/default.aspfirst of all, and then -http://www.w3schools.com/css/default.asp They have a great feature that lets you try things as you go along, but notepad is the way to go also. Try making your own basic web page - practice adn experimentation are the only way you really get things to stick in your head. One last link for you:http://www.w3.org/Style/Examples/011/firstcss Have fun! Drew -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: why the development of java tools fall far behind that of python's?
Tapir, thanks for your feedback. I agree that there have been several cases where features have come out in Python long before Java. (There have been a few in the other direction too, but not as many.) This is something we are trying to improve upon in the future. I'm happy to tell you that one of the items in your list, 1. remove obsolete indexes, is supported in Java and has been since release 1.4.2 earlier this year. This feature is called vacuum indexes. - Mitch On May 25, 9:00 am, Tapir tapir@gmail.com wrote: such as: 1. remove obsolete indexes 2. copy Mater-Slave data to High Replication I think if these tools are already done in python, it would be easy to port them in java within one week, especially for your googlers. But why have you done these yet? You know, these tools are so essential. Many java developers feel hopeless now. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Lots ob DB errors today
I am having a lot of errors like this today com.google.apphosting.runtime.HardDeadlineExceededError: This request (876d44de5bdde8dc) started at 2011/05/26 11:23:35.574 UTC and was still executing at 2011/05/26 11:24:05.651 UTC. Is the datastore is placed on maintenance ? I have not seen any notifications about it. Have anybody also see the same errors Thanks, Andrew -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] keeps giving me the message
I must have done the challenge at least 10 times and i still get the same message which is getting to be really annoying :( -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] geonames rest webservice call in google app engine not working
i deployed my application on google apps engine..my application is based on geocoding...and uses* struts1.3 framework*...and makes a* rest webservice call to geonames* for timezone information..i have tested the application locally on google web application locally and on google web apllication (running on an external server..) ...it is working as per expectaion.but after deployed in gae envoirnment it is getting nullpointer exception while making webservice call to http://api.geonames.org/timezone?lat=53.03lng=-3.0username=something i am making this call using the two jar provided by geonames..(*geonames-sourse-1.1.1.jar and geonames-1.1.1-java1.5.jar*). I have added these two jar in the lib folder of the war. does GAE support these jars and webservice call..or there is something i m missing.plz give ur suggestionthanks in advance -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: why the development of java tools fall far behind that of python's?
I would also point out that it is possible for Java apps to migrate from Master/Slave to High Replication: http://code.google.com/appengine/docs/adminconsole/datastoreadmin.html#Copying_Entities_to_Another_Application Having to create an empty Python version of your app is no doubt clunky and not something we're happy about having to recommend, but it doesn't take much effort and it does work. Max On Thu, May 26, 2011 at 9:37 AM, Mitch Rudominer rudomi...@google.comwrote: Tapir, thanks for your feedback. I agree that there have been several cases where features have come out in Python long before Java. (There have been a few in the other direction too, but not as many.) This is something we are trying to improve upon in the future. I'm happy to tell you that one of the items in your list, 1. remove obsolete indexes, is supported in Java and has been since release 1.4.2 earlier this year. This feature is called vacuum indexes. - Mitch On May 25, 9:00 am, Tapir tapir@gmail.com wrote: such as: 1. remove obsolete indexes 2. copy Mater-Slave data to High Replication I think if these tools are already done in python, it would be easy to port them in java within one week, especially for your googlers. But why have you done these yet? You know, these tools are so essential. Many java developers feel hopeless now. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: why the development of java tools fall far behind that of python's?
+1 The primary benefit of GAE comes from the services (datastore, task queue, memcache, etc) and the language is pretty much secondary. Don't be afraid to set up the Python SDK - it's *really* trivial (especially compared to setting up Eclipse). You don't even need to learn any Python. Chances are, the only think you'll find confusing is the structure of YAML, but it's not that big of a deal. Jeff On Thu, May 26, 2011 at 10:56 AM, Max Ross (Google) maxr+appeng...@google.com wrote: I would also point out that it is possible for Java apps to migrate from Master/Slave to High Replication: http://code.google.com/appengine/docs/adminconsole/datastoreadmin.html#Copying_Entities_to_Another_Application Having to create an empty Python version of your app is no doubt clunky and not something we're happy about having to recommend, but it doesn't take much effort and it does work. Max On Thu, May 26, 2011 at 9:37 AM, Mitch Rudominer rudomi...@google.com wrote: Tapir, thanks for your feedback. I agree that there have been several cases where features have come out in Python long before Java. (There have been a few in the other direction too, but not as many.) This is something we are trying to improve upon in the future. I'm happy to tell you that one of the items in your list, 1. remove obsolete indexes, is supported in Java and has been since release 1.4.2 earlier this year. This feature is called vacuum indexes. - Mitch On May 25, 9:00 am, Tapir tapir@gmail.com wrote: such as: 1. remove obsolete indexes 2. copy Mater-Slave data to High Replication I think if these tools are already done in python, it would be easy to port them in java within one week, especially for your googlers. But why have you done these yet? You know, these tools are so essential. Many java developers feel hopeless now. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] AppEngine accesing BigTable data
Hi, Noogler here. My GAE app is running on googleplex and I have data in a Bigtable (hosted on prod). What is the best way to gain access to this data. Directly using Bigtable Java API doesn't seem to work. I'm receiving an Access Denied exception. Padmadevan -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.