CometD :: JavaScript :: Examples Dojo

The CometD project is a scalable web messaging bus that uses WebSocket and HTTP AJAX push technology patterns known as "Comet" techniques

License

License

Categories

Categories

JavaScript Languages
GroupId

GroupId

org.cometd.javascript
ArtifactId

ArtifactId

cometd-examples-dojo
Last Version

Last Version

4.0.9
Release Date

Release Date

Type

Type

war
Description

Description

CometD :: JavaScript :: Examples Dojo
The CometD project is a scalable web messaging bus that uses WebSocket and HTTP AJAX push technology patterns known as "Comet" techniques
Project Organization

Project Organization

The CometD Project

Download cometd-examples-dojo

How to add to project

<!-- https://jarcasting.com/artifacts/org.cometd.javascript/cometd-examples-dojo/ -->
<dependency>
    <groupId>org.cometd.javascript</groupId>
    <artifactId>cometd-examples-dojo</artifactId>
    <version>4.0.9</version>
    <type>war</type>
</dependency>
// https://jarcasting.com/artifacts/org.cometd.javascript/cometd-examples-dojo/
implementation 'org.cometd.javascript:cometd-examples-dojo:4.0.9'
// https://jarcasting.com/artifacts/org.cometd.javascript/cometd-examples-dojo/
implementation ("org.cometd.javascript:cometd-examples-dojo:4.0.9")
'org.cometd.javascript:cometd-examples-dojo:war:4.0.9'
<dependency org="org.cometd.javascript" name="cometd-examples-dojo" rev="4.0.9">
  <artifact name="cometd-examples-dojo" type="war" />
</dependency>
@Grapes(
@Grab(group='org.cometd.javascript', module='cometd-examples-dojo', version='4.0.9')
)
libraryDependencies += "org.cometd.javascript" % "cometd-examples-dojo" % "4.0.9"
[org.cometd.javascript/cometd-examples-dojo "4.0.9"]

Dependencies

test (3)

Group / Artifact Type Version
junit : junit jar 4.13.1
org.hamcrest : hamcrest jar 2.2
org.apache.logging.log4j : log4j-slf4j-impl jar 2.13.3

Project Modules

There are no modules declared in this project.

GitHub CI

The CometD Project

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

License

The CometD source code is released under the Apache 2.0 License.

Directory Layout

cometd-archetypes - The Maven 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 file into any Servlet 2.5 or later 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 Issues

Issues, bugs and requests for enhancements should be filed at https://bugs.cometd.org

Building CometD

If you have cloned the source release, follow the instructions at https://docs.cometd.org/current/reference/#_build, or just do:

$ mvn install

Load Testing CometD

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

$ cd cometd-java/cometd-java-benchmark/cometd-java-benchmark-server/
$ mvn exec:exec

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

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

Then follow instructions on the console to generate load.

org.cometd.javascript

CometD - Server Push for the Web

Versions

Version
4.0.9
4.0.8
4.0.7
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
4.0.0-BETA1
4.0.0-BETA0
3.1.14
3.1.13
3.1.12
3.1.11
3.1.10
3.1.9
3.1.8
3.1.7
3.1.6
3.1.5
3.1.4
3.1.3
3.1.2
3.1.2-RC0
3.1.2-BETA1
3.1.2-BETA0
3.1.1
3.1.0
3.1.0-RC1
3.1.0-RC0
3.1.0-BETA2
3.1.0-BETA1
3.1.0-BETA0
3.0.10
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
3.0.0.RC1
3.0.0.beta2
3.0.0.beta1
2.9.1
2.9.0
2.9.0-beta1
2.8.0
2.8.0-RC1
2.8.0-beta1
2.7.0
2.7.0-RC1
2.7.0-beta2
2.7.0-beta1
2.6.0
2.6.0-RC1
2.5.1
2.5.0
2.5.0-RC1
2.5.0-beta3
2.5.0-beta2
2.5.0-beta1
2.4.3
2.4.2
2.4.1
2.4.0
2.4.0.RC3
2.4.0.RC2
2.4.0.RC1
2.4.0.beta2
2.4.0.beta1
2.3.1
2.3.0
2.3.0.RC1
2.2.0
2.2.0.RC0
2.1.1
2.1.0
2.1.0.RC
2.1.0.beta2
2.1.0.beta1
2.0.0
2.0.0.RC3
2.0.0.RC2
2.0.0.RC1
2.0.beta1
2.0.beta0
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
1.0.0rc0
1.0.beta10
1.0.beta9