Signing Up for Google App Engine
Before you get too far, you need to enable your Google account for access to App
for your Google account credentials, and you'll be asked to accept the terms of
service. That's it! You're ready to get started, by launching the sample project that was
installed with the SDK. If you don't have a Google account, you can register for one
Launching the Demo Application
The App Engine Java SDK includes a few demo applications to help you get
up and running. These might be a bit hard to locate. If you're new to Eclipse,
it's important to note that all the SDKs and add-ons you install to your Eclipse
environment get bundled in the plug-ins directory where you extracted the
Eclipse distribution. In your case, the demo files for Google App Engine
for Java will be located in the plugins/com.google.appengine.eclipse.sdk.
[sdkbundle_VERSION/ directory, where VERSION is the version identifier of the SDK.
There should be a demo directory under the subdirectory called “ appengine-java-
sdk-version” . The online documentation for Google App Engine for Java walks
you through the steps to create a guestbook application. You'll be creating your
own application throughout the course of this topic. However, to verify that you
have set up your SDK correctly, open the precompiled demo application called
Guestbook. This represents the final version of the guestbook application if you
were to follow the online tutorials. Take a look around the application. We'll be
walking through the creation of some of these features when you build your own
application. To launch the application select Debug As
Web Application from
the Run menu in Eclipse.
Note that the authentication framework is present to facilitate local
development with test accounts, as shown in Figure 3-3. If you click the Sign in
link, you'll be forwarded to a basic login page asking for only your username. The
local session will use whatever e-mail address you enter as the active user. If you'd
like to log in with administrator privileges, make sure you check the “Sign in as
Administrator” checkbox. The local development server that comes with the
Google App Engine SDK provides a set of methods that generate sign-in and sign-
out URLs and simulate Google accounts.