Giter Site home page Giter Site logo

appengine-websocketchat-java's Introduction

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.

Requires Apache Maven 3.0 or greater, and JDK 7+ in order to run. This application needs to be deployed to the App Engine VM Runtime.

Make sure that you are invited to the VM Runtime Trusted Tester Program, and have downloaded the SDK.

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 which is under the VM Runtime TT program.
  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!

To build:

  1. Rewrite the value of the application element in your appengine-web.xml to your app id.

  2. Run mvn package

  3. Run appcfg.sh of the SDK as follows:

     $ $SDK_DIR/bin/appcfg.sh -s preview.appengine.google.com update target/websocketchat-1.0-SNAPSHOT
    
  4. Visit http://chat.your-app-id.appspot.com/.

For further information, consult the Java App Engine documentation.

To see all the available goals for the App Engine plugin, run

mvn help:describe -Dplugin=appengine

appengine-websocketchat-java's People

Contributors

amygdala avatar tmatsuo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.