[appengine-java] Exporting and Importing data from Java application
Hi, I am exploring how to import/export data from appengine datastore. In Pyhton section of docs, there is good explanation on how to do this http://code.google.com/appengine/docs/python/tools/uploadingdata.html. I also found nice blog at http://ikaisays.com/2010/06/10/using-the-bulkloader-with-java-app-engine/. I hope this article would be included somewhere on google appengine docs. My question may be lame. I am wondering whether all the import/export functionality could be done entirely within a java application. The docs say that you can set up the RemoteApi part in java servlets and after that it's invoking 3-4 python commands to build the config file, download upload data with various parameters. Can we do all those steps with some google java API? Thanks Neeli -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/PpPYugrjnwAJ. 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] Exporting and Importing data from Java application
Yes, this can be done all in Java. You may have to write your own handlers, though. What have you written so far? The bulkloader is completely written in Python, -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Thu, Aug 25, 2011 at 9:38 AM, Kesava Neeli nke...@gmail.com wrote: Hi, I am exploring how to import/export data from appengine datastore. In Pyhton section of docs, there is good explanation on how to do this http://code.google.com/appengine/docs/python/tools/uploadingdata.html. I also found nice blog at http://ikaisays.com/2010/06/10/using-the-bulkloader-with-java-app-engine/. I hope this article would be included somewhere on google appengine docs. My question may be lame. I am wondering whether all the import/export functionality could be done entirely within a java application. The docs say that you can set up the RemoteApi part in java servlets and after that it's invoking 3-4 python commands to build the config file, download upload data with various parameters. Can we do all those steps with some google java API? Thanks Neeli -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/PpPYugrjnwAJ. 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] Exporting and Importing data from Java application
Hi IKai, I haven't written anything concrete yet. I was playing around with the low level datastore API to retrieve and create new entities and following the steps in your blog. We are close to launching our mobile application with appengine serving as backend. We would like to have the capability of importing the data to CSV/XML and exporting too. The python command line tools seems to have the capability. Since our object schema is fluid, we would need to change the data frequently and we hope the import/export capability might help us. I also have a production deployment question. Say I have a app running on appengine and it's serving as abckend to my mobile application. It has lot of data from the customers. Say 6 months later, I have a major upgrade to my backend and create a completely new application. What's the easiest way to migrate all the data in the old app to new app? I guess we should use import/export capability or any other better way to handle data transfer between 2 apps in production scenario? Thanks Neeli -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/SL4fM9QiJ2EJ. 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.