Giter Site home page Giter Site logo

cometd's Introduction

The CometD Project

Welcome to the CometD Project, a scalable comet (server push) implementation for the web.

DIRECTORY LAYOUT

cometd-archetypes - The Maven2 archetypes for quick application development
cometd-demo       - Demo of the Java server and of the Dojo/jQuery clients
cometd-java       - The Java server and java client libraries
cometd-javascript - The JavaScript (Dojo/jQuery) client libraries

RUNNING THE COMETD DEMO

If you have downloaded the release bundle, then the CometD is already built for you. To run the demonstration with Maven, unzip the release bundle and execute:

$ cd cometd-demo
$ mvn jetty:run

then point your browser at http://localhost:8080

Alternately you can deploy the CometD demo war into any servlet 2.5 or 3.0 server (e.g. jetty, tomcat, glassfish) with commands like:

$ cp cometd-demo/target/cometd-demo/target/cometd-demo-*.war  $MY_SERVER/webapps/cometd.war
cd $MY_SERVER
<command to run my server>

REPORTING BUGS

Bugs and requests for enhancements should be filed at http://bugs.cometd.org

BUILDING COMETD

If you have cloned the source release, follow the instructions at http://cometd.org/documentation/building, or just to

$ mvn install

LOAD TESTING COMETD

To run load testing, open two windows. In the server window run:

$ cd cometd-java/cometd-java-examples
$ mvn -Pserver exec:exec

In the client window (potentially on another machine), run

$ cd cometd-java/cometd-java-examples
$ mvn -Pclient exec:exec

Then follow instructions on the console to generate load.

cometd's People

Contributors

davidascher avatar earcam avatar gregw avatar mathieucarbou avatar phiggins42 avatar sbordet avatar slightlyoff avatar xantus avatar

Stargazers

 avatar

Watchers

 avatar  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.