Newer Version Available

This content describes an older version of this product. View Latest

Step 3: Download the JAR Files

Add the following library files to the build path of your Java client application for Streaming API.

  1. Download the compressed archive file from http://download.cometd.org/cometd-2.3.1-distribution.tar.gz.
  2. Extract the following JAR files from cometd-2.3.1.tgz:
    • cometd-2.3.1/cometd-java/bayeux-api/target/bayeux-api-2.3.1.jar
    • cometd-2.3.1/cometd-java/cometd-java-client/target/cometd-java-client-2.3.1.jar
    • cometd-2.3.1/cometd-java/cometd-java-common/target/cometd-java-common-2.3.1.jar
  3. Download the compressed archive file from the following URL: http://dist.codehaus.org/jetty/jetty-hightide-7.4.4/jetty-hightide-7.4.4.v20110707.tar.gz. Jetty Hightide is a distribution of the Jetty open source Web container. For more information, see the Jetty Hightide documentation.
  4. Extract the following JAR files from jetty-hightide-7.4.4.v20110707.tar.gz.
    • jetty-hightide-7.4.4.v20110707/lib/jetty-client-7.4.4.v20110707.jar
    • jetty-hightide-7.4.4.v20110707/lib/jetty-http-7.4.4.v20110707.jar
    • jetty-hightide-7.4.4.v20110707/lib/jetty-io-7.4.4.v20110707.jar
    • jetty-hightide-7.4.4.v20110707/lib/jetty-util-7.4.4.v20110707.jar