Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
forked from cometd/cometd

The CometD project, a scalable comet (server push) implementation for web messaging.

Notifications You must be signed in to change notification settings

JavaInCloud/cometd

Open more actions menu
 
 

Repository files navigation

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


DIRECTORY LAYOUT

bayeux            - The Bayeux Specification
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:

    $ 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 (eg 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>


BUILDING COMETD

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

  $ mvn install


LOAD TESTING

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

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

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

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

Then follow instructions on the console to generate load.

About

The CometD project, a scalable comet (server push) implementation for web messaging.

Resources

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.