Pratical work for the Software Architecture for Cloud Computing course.
This is a generated application from the appengine-skeleton archetype.
See the Google App Engine standard environment documentation for more detailed instructions.
- Java 8
- Maven (at least 3.5)
- Google Cloud SDK (aka gcloud)
gcloud init
gcloud auth application-default login
set_vars.cmd
mvn appengine:devserver
# mvn appengine:run
# mvn appengine:devserver
gcloud beta emulators datastore start
mvn appengine:deploy
mvn appengine:update
mvn verify
As you add / modify the source code (src/main/java/...
) it's very useful to add
unit testing
to (src/main/test/...
). The following resources are quite useful:
An easy way to keep your projects up to date is to use the maven [Versions plugin][versions-plugin].
mvn versions:display-plugin-updates
mvn versions:display-dependency-updates
mvn versions:use-latest-versions
Note - Be careful when changing javax.servlet
as App Engine Standard uses 3.1 for Java 8, and 2.5
for Java 7.
Our usual process is to test, update the versions, then test again before committing back.
https://cloud.google.com/appengine/docs/standard/java/taskqueue/push/creating-handlers