Getting Started with Google App Engine


In the beginning was the registration and everything it was born. Our next adventure from start to register on the project’s Google AppEngine. The whole process will have to confirm via an SMS, which come to us from distant lands in the blink of an eye, and will include an activationcode. After a lightning start, we can now create our new application, selecting an appropriate name for it, and the subdomain.


We have already taken place, so set up an utility to work on the project. Personally, I chose to work through a plug-in to Eclipse. Follow the instructions on page Using the Google Plugin for Eclipse, I went to the home page to download the Eclipse IDE for Java EE Developers 3.5. As suggested installed the Web Tools Platform and Google’s Plugin for Eclipse (using the appropriate option

Help -> Install New Software -> Work with:-All-Available Sites -> Web Tools Platform (WTP) 3.1.1


Help -> Install New Software -> Work with: -> Plugin +SDKs).

After the successful installation of the aforementioned additives are now ready to begin work on the application code. On the Eclipse taskbar, you should see the new Google icon Plugin for Eclipse:

Ikony Google Plugin for EclipseGoogle icon Plugin for Eclipse

Google App hellow

We begin by creating a new project in Eclipse:

File menu> New> Web Application Project

In the“New Web ApplicationProject” have enhanced the field“Project name” for example, test and“Package”,such atest. Since we do not use the Google WebToolkit, deselect“Use Google WebToolkit.” Make sure that the option to“Use Google AppEngine” ischecked, and that it is selected default version of the Google App SDK.

Create the configuration window should look something like this:

Eclipse New Web Application Project - UstawieniaEclipse New Web Application Project – Settings

Press Finishto create a new project.

Launching the project

App Engine SDK gives us the basic environment to test our application. If you run the default project (Run -> Run) on the console should appear

The server is running at http://localhost:8888/

Our project is “far” we can see what was happening was going to http://localhost:8888/ in your browser. Our eyes should appear beautiful white page with the following (or similar) content:

Hello App Engine!
Available Servlets:

Since my project called MapPath, so for his views should visit http://localhost:8888/mappaths to see the desired

Hello, world

To stop the program, go to the window Debug (if you do not see the Windows -> Show View -> Other -> Debug -> Debug), select it and complete our application by using it to Terminate.

Terminate Web Application EclipseTerminate the Eclipse Web Application

Application Sharing

We therefore no longer our “wszystkomający” program, we would like to make it available to a wider audience. At the very beginning of our journey we have signed up for Google App Engine and set up a project to the next stage so we will try to send the components of our project on Google App servers. In the file appengine-web.xml you have to change (add parameter) parameter <application> … </ application> for the name under which we registered our project (in my case, it will be “mappaths).

appengine-web.xml - ustawianie nazwy projektuappengine-web.xml – Set the name of the project

Now we use the magic button:

Deploy App Engine ProjectDeploy App Engine Project

Before the files are uploaded, you will be asked for your username and password to the server AppEngine. If everything went correctly, we can watch our applications in the browser at the appropriate address:

And this is how our journey came to an end, and perhaps started a great adventure with JavaEE

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • MySpace
  • PDF

Related Posts

  1. No comments yet.

  1. No trackbacks yet.



fotograf BydgoszczPhotosmart oryginalne tusze HP do drukarki zamienniki tonery HP Photosmart A617 Toner zamiennik tusz oryginalny do drukarek hp photosmart, sprawdź jak niskie są cenyurl