Skip to content

elibixby/appengine-websocketchat-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

App Engine Java VM Runtime Websocket Chat Copyright (C) 2010-2014 Google Inc.

Sample websocket chat application for use with App Engine Java VM Runtime.

This application builds and deploys a chat application which uses web sockets to Google App Engine Managed VMs, using Maven and the gcloud SDK.

Project Setup

  1. Create a billing enabled project and install the Google Cloud SDK as described here.
  2. Install Maven 3.1 or later as described here.

Create Firewall Exception

In order to run this application, you also need to configure the Compute Engine firewall to allow incoming connections to the port 65080 by default.

Here is how to configure the Compute Engine firewall.

  1. Go to the cloud console.
  2. Select your project
  3. Select Compute Engine
  4. Click the Network menu then click the default network.
  5. Click Create new button in the Firewalls section.
  6. Type chatservice in the Name field and tcp:65080 in the Protocols & Ports field, then click Create button.

Now you're good to go!

##Deploy

After setting up Maven, you can deploy your app locally, or to the Google Cloud Platform as described here, then visit http://chat.your-app-id.appspot.com/.

About

A sample websocket chat with App Engine Java VM Runtime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 95.1%
  • CSS 4.9%