Developing in the Google Cloud

Tutorials, tips, tricks, and news about Google App Engine

Archive for the ‘how-to’ tag

Getting Started With Google App Engine and NetBeans Part 2

33 comments

Expect a short post. Deploying an app on Google App Engine is one of the easiest things I’ve ever done. If you haven’t done so, please start with part 1 of this tutorial in order to be at the point we are now.

To begin, let’s open up the sample Guestbook app that comes included with the Google App Engine package.

Important note: During my deployment I ran into a snag because I had used a space in the folder name for my project. If you cannot deploy your app, check this first.

Set Your Application Name

Your application name is the name you chose for your application when you created your account at the Google App Engine website. To set the application name, follow these instructions:

  1. Start the NetBeans IDE.
  2. Open the Guestbook sample app.
  3. Open the ./WEB-INF/appengine-web.xml file.
  4. Set the application name to match the application name you set up at Google App Engine.

Deploy Your App

  1. Right-click on your project in the Projects list
  2. Select “Deploy To Google App Engine”
  3. Fill in your Google Account credentials when prompted.

That’s it! At this point the code will compile and deploy. Once it’s done, open Firefox and browse to your app’s URL. It should be in perfect working order and ready to roll.

I hope that you’ve found this tutorial useful. If you have any suggestions or questions, please feel free to post them in the comments below!

Share

Written by rocky1138

January 12th, 2010 at 3:39 am