Friday, April 10, 2009

HOWTO: Getting started with GAE/Java

Getting started with Google App Engine for Java is easy - downloading the SDK and deploying your first demo app can all be done in a few commands.

Assuming you've already created an app-id using the Google App Engine web interface, getting started is as easy as ...

# Download and unzip the SDK
curl -O http://googleappengine.googlecode.com/files/appengine-java-sdk-1.2.0.zip
unzip appengine-java-sdk-1.2.0.zip
cd appengine-java-sdk-1.2.0
cd demos/guestbook/
# Start the local test server
ant runserver
# Now browse to http://localhost:8080/ and make sure the app works.
# Try editing war/guestbook.jsp and make a few changes.
# Add your app-id to appengine-web.xml: <application>your-app-id</application>
emacs war/WEB-INF/appengine-web.xml
../../bin/appcfg.sh update war/


Now your applications should be deployed and ready for requests at http://your-app-id.appspot.com/.

2 comments:

  1. I had no trouble navigating through all the tabs as well as related info. The site ended up being truly simple to access. Intraday Nifty Future Tips

    ReplyDelete
  2. Nice post.I am more than ever impressed through your approach of look in this blog. It shows your visualization. important attempt you take in through in this blog. Thanks for sharing.
    Click here

    ReplyDelete