If your app is written with Java + JDO, then with some effort it should be portable. I've seen JDO backends of relational databases, Hadoop Hbase, ODF, JSON,etc. I don't have a lot of experience with Python appengine development, but I believe that you can exit from that platform also, with some effort.