Hi, The simplest way is to write a servlet on GAE.
When your own server is done with the calculation, it posts (http POST) the new data to this servlet who reads it and separate each line as a new entity in the datastore. The servlet can then do further processing (cleanup, updates, etc.) if needed and launch a queued task (or several in parallel if you need speed via parallelism) to do all what's remaining. regards didier On Apr 1, 3:45 pm, Andrey <[email protected]> wrote: > We need to periodically upload the new data into our Java App running on the > App Engine. We are going to perform some calculations on our own server, > after which the results of this calculation need to be uploaded into the App > Engine app. The results are just a text file (each line is a separate string > result). They will need to be taken into account immediately by the app > running on the App Engine. This app uses the results to display them within > the user interface. > > Could someone please recommend - what is the best way to: > 1) How to upload this kind of data programmatically into the Java App Engine > app > 2) How to detect the new data has arrived from inside app engine, and reload > it from the file - which tools in Java? > > I could not find the uploading data section under the Java part of the > documentation > > Thank you -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
