This guide will walk you through creating and deploying your first web application. For more details, please see the User's Guide.
- Installing the plugin
- Creating your first Web Application
- Running your Web Application locally
- Deploying your Web Application
To use the plugin you must be running Java version 7 and a recent version of Eclipse. You can install the Google Plugin for Eclipse using the software update feature of Eclipse. Be sure to use the plugin that corresponds to your version of Eclipse. Follow the installation instructions provided at the links below or, if you are familiar with installing Eclipse plugins, you can simply paste the appropriate plugin link directly into Eclipse.
|Eclipse version||Installation instructions||Direct plugin link|
|Eclipse 4.4 (Luna)||Plugin for Eclipse 4.4 (Luna)||https://dl.google.com/eclipse/plugin/4.4|
|Eclipse 4.3 (Kepler)||Plugin for Eclipse 4.3 (Kepler)||https://dl.google.com/eclipse/plugin/4.3|
|Eclipse 3.8/4.2 (Juno)||Plugin for Eclipse 3.8/4.2 (Juno)||https://dl.google.com/eclipse/plugin/4.2|
If you are looking for older versions of the plugin, click here.
If you are having trouble installing from the update sites (due to firewall issues, for instance), please see this FAQ entry.
As an alternative to installing from the update site, you can install the Google Plugin for Eclipse by downloading and installing an archive of the update site.
Creating your first Web Application
To create your first Web Application, select File > New > Web Application Project from the Eclipse menu.
In the New Web Application Project wizard, enter a name for your project
and a java package name, e.g.,
You can specify an app id or choose not to
(see Setting App ID in New Web Application Project wizard
for more details). Click Finish.
Note: Using Java keywords as a project name (e.g. "New" and "Class") will result in various build errors. Avoid these where possible.
Congratulations, you now have an App Engine and GWT-enabled web application!
Running your Web Application locally
Right-click on your web application project and select Debug As > Web Application from the popup menu. You are testing your application using the Java Development Server.
This action creates an Eclipse Web Application launch configuration for you and launches it. The web application launch configuration will start a server, whose URL will appear in the Development Mode view at the bottom of the Eclipse window. Select the URL and click Copy in the context menu, and then open it in your web browser to load the application.
At this point, you can set breakpoints, inspect variables and modify code as you would normally expect from a Java Eclipse debugging session.
Deploying your Web Application
To deploy your web application, you will need to create an application from the App Engine Administration Console, at the following URL: https://appengine.google.com/. If you already have one, then you can skip this step.
Once you have an application ID, just right-click on your project, and select Google > App Engine Settings... from the context menu. Enter your application ID into the Application ID text box. Click OK.
Right-click on your project and select Google > Deploy to App Engine. If you haven't already signed in using your Google account, you will be prompted to do so. See Sign In for more details.
http://application-id.appspot.com/ to see your application.