GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-docs-samples/flexible at master · bogdandrutu/java-docs-samples

Expand file tree

/

flexible

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

flexible

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
analytics
analytics
 
 
async-rest
async-rest
 
 
cloud-tasks
cloud-tasks
 
 
cloudsql
cloudsql
 
 
cloudstorage
cloudstorage
 
 
cron
cron
 
 
datastore
datastore
 
 
disk
disk
 
 
errorreporting
errorreporting
 
 
extending-runtime
extending-runtime
 
 
gaeinfo
gaeinfo
 
 
helloworld
helloworld
 
 
mailgun
mailgun
 
 
mailjet
mailjet
 
 
memcache
memcache
 
 
postgres
postgres
 
 
pubsub
pubsub
 
 
sendgrid
sendgrid
 
 
sparkjava
sparkjava
 
 
static-files
static-files
 
 
twilio
twilio
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README.mdpp
README.mdpp
 
 
pom.xml
pom.xml
 
 

README.md

Outline

Google App Engine Flexible Environment Java Samples

Open in Cloud Shell

This is a repository that contains Java code samples for Google App Engine flexible environment.

See our other Google Cloud Platform GitHub repos for sample applications and scaffolding for other frameworks and use cases.

Getting the sample code

Get the latest sample code from GitHub using Git or download the repository as a ZIP file. (Download)

git clone https://github.com/GoogleCloudPlatform/java-docs-samples.git

Before you begin

  1. Follow the quickstart for Java in the App Engine flexible environment to set up your environment to deploy the sample applications App Engine.
    1. Download and install the Google Cloud SDK.

    2. Install and configure Apache Maven.

    3. Create a new Google Cloud Platform project, or use an existing one.

    4. Enable billing for your project.

    5. Initialize the Cloud SDK.

      gcloud init
      

Deploying to App Engine

To run the application locally, use the Maven Jetty plugin.

mvn clean jetty:run

View the app at localhost:8080.

To deploy the app to App Engine, run

mvn clean appengine:deploy

After the deploy finishes (can take up to 10 minutes), you can view your application at https://YOUR_PROJECT.appspot.com, where YOUR_PROJECT is your Google Cloud project ID. You can see the new version deployed on the App Engine section of the Google Cloud Console.

For a more detailed walkthrough, see the getting started guide for Java in the App Engine flexible environment.

Contributing changes

  • See CONTRIBUTING.md

Licensing

  • See LICENSE
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.