CometD :: JavaScript :: Examples Vanilla

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-vanilla
Last Version

Last Version

4.0.9
Release Date

Release Date

Type

Type

war
Description

Description

CometD :: JavaScript :: Examples Vanilla
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-vanilla

How to add to project

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