After you finish testing and running the app on the development server, which also generates required indexes, you need to upload the app to production App Engine.
To upload the app:
-
Change directory to
guestbook/guestbook-ear
, and invoke Maven as follows:mvn appengine:update
-
The first time you upload, you'll be prompted to supply login information and you will be led through the login process via the browser. Follow the prompts. You may need to copy the success code from the browser into the command line at the end of the login process. (This information is remembered after you do it once.)
-
Wait for the upload to complete. If the upload succeeds, you'll see a message similar to this one:
98% Uploading index definitions. Update for module default completed successfully. Success. Cleaning up temporary files for module default...
-
In your browser, visit the url
https://<project-ID>.appspot.com
to run the application hosted on App Engine, replacing<project-ID>
with your project ID.