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/appengine/sockets at master · hitraw/java-docs-samples

Expand file tree

/

sockets

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

sockets

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src/main
src/main
 
 
README.md
README.md
 
 
README_LIBS.md
README_LIBS.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

Java Socket API Example App: Whois Client

Java 7 runtime support on App Engine standard was deprecated on December 13, 2017 and will be shut down entirely on January 16, 2019. It is replaced by the Java 8 Runtime Environment.

Open in Cloud Shell

Samples for the Java 8 runtime can be found here.

This sample displays what's going on in your app. It dumps the environment and lots more.

See the Google App Engine standard environment documentation for more detailed instructions.

Setup

Use either:

  • gcloud init
  • gcloud auth application-default login

Maven

Running locally

$ mvn appengine:run

Deploying

$ mvn appengine:deploy

This small example application demonstrates the use of the App Engine Socket API to query a Whois server.

To build, install maven, then run mvn package. You can run the local dev app server via mvn appengine:devserver and deploy via mvnappengine:update.

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.