[appengine-java] Need a better way to set up my JDO entities

2010-04-21 Thread novarse
Hello, I'm trying to retrieve race results from a couple of JDO entities but the time taken seems too long. Given an event I want to display the rider's name and number along with their results from the event. The main objects involved: RaceHistory: id, riderID, eventID, grade (for the race), time,

[appengine-java] Re: How do you transfer a List from server to client?

2010-03-07 Thread novarse
h you're using JDO, you can still use Objectify's > GWT integration to solve the problem: > > http://code.google.com/p/objectify-appengine/wiki/ObjectifyWithGWT > > Jeff > > On Fri, Mar 5, 2010 at 4:04 PM, novarse wrote: > > Thanks Maly for your reply, > >

[appengine-java] Re: How do you transfer a List from server to client?

2010-03-05 Thread novarse
Thanks Maly for your reply, I got it going. I'm using GWT and after reading the doco properly and adding a to my gwt.xml file and copying my jdo objects to that dir it all works. Real simple in the end On Mar 3, 11:36 pm, Chummar Maly wrote: >  All you need to do is put this code in a servlet an

[appengine-java] Re: Batch load from DataStore?

2010-02-22 Thread novarse
Hi, I was having trouble as well with retrieving data quickly and not sure of the best approach. I currently have my JDO object (JdoEvent) on the client (and was advised recently that this may not be the best place to put it) and was retrieving about a 1000 objects and this was taking longer than I

[appengine-java] Re: Parsing files uses too much cpu loading

2010-02-20 Thread novarse
system via REST.  The first several rounds keep > forking off more and more threads to chunk the data down into smaller > bits.  At the end, each of the hundreds of threads has SUCH a small > job to do, you can throttle it, and they retry themselves on error. > > - Blake > > On Feb

[appengine-java] Re: Parsing files uses too much cpu loading

2010-02-20 Thread novarse
't   > need to query on is a good start. > > On 19 Feb 2010, at 04:31, novarse wrote: > > > Hello, > > I'm trying to get data from csv files into my datastore tables. My app > > is showing cpu loadings of > > 30356ms 20023cpu_ms 11480api_cpu_ms from the d

[appengine-java] Parsing files uses too much cpu loading

2010-02-19 Thread novarse
Hello, I'm trying to get data from csv files into my datastore tables. My app is showing cpu loadings of 30356ms 20023cpu_ms 11480api_cpu_ms from the dash board and I was wondering if someone could see how I could improve this situation. I'm pretty new to Java. sample line from file: -470,16/12/