CometD :: Java :: WebSocket :: JSR 356 Client

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

Java Languages CLI User Interface
GroupId

GroupId

org.cometd.java
ArtifactId

ArtifactId

cometd-java-websocket-javax-client
Last Version

Last Version

4.0.9
Release Date

Release Date

Type

Type

jar
Description

Description

CometD :: Java :: WebSocket :: JSR 356 Client
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-java-websocket-javax-client

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.cometd.java : cometd-java-websocket-common-client jar 4.0.9
javax.websocket : javax.websocket-client-api jar 1.0

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

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