a) want to create a web API - if you just need to populate your db you
are free to use whatever technology as Jeff said. If you want to
expose some part of the GWT app you may want to check GWT Exporter:
http://code.google.com/p/gwt-exporter/
b) you need some server side client and in this case you can use
whatever language to push data to the server. My favorite will be redis
+octobot.
In any case I don't think you can call and execute a GWT application
from wget or curl but node.js may be your friend