Skip to content

Latest commit

 

History

History
 
 

helloworld-servlet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Servlet based Hello World app for App Engine Flexible environment

Requirements

Setup

Use either:

  • gcloud init
  • gcloud auth application-default login

We support building with Maven, Gradle, IntelliJ IDEA, and Eclipse.
The samples have files to support both Maven and Gradle. To use the IDE plugins, see the documentation pages above.

Maven

Using Maven and the App Engine Plugin & Maven Plugin Goals and Parameters

Running locally

$ mvn jetty:run-exploded

Deploying

$ mvn appengine:deploy

Gradle

Using Gradle and the App Engine Plugin & Gradle Tasks and Parameters

Running locally

$ gradle jettyRun

Deploying

$ gradle appengineDeploy