App engine also has a new PAY feature where you can have it "always-on". Costs about $0.30 USD cents a day. Just go into your billing settings and enable it if you don't mind paying for the feature. I believe it guarantees you at least 3 instances always running.
(I didn't realize hitting a /ping url which caused an instance to spin up would cause it to exceed the 30 sec limit!)
It would probably be easier use the cron built in to App Engine to keep your application alive.
I think what you want is just:
import httplib
hcon = httplib.HTTPConnection("foo.appspot.com")
hcon.request("GET", "/someURL")
hcon.close()
the simplest Java http pinger:
URLConnection hcon = new URL("http://www.google.com").openConnection();
hcon.connect();
hcon.getInputStream().read();