Questions tagged [cometd]

CometD is a scalable HTTP-based event routing bus that uses a Ajax Push technology pattern known as Comet. The term 'Comet' was coined by Alex Russell in his post Comet: Low Latency Data for the Browser.

CometD is a scalable HTTP-based event routing bus that uses a Ajax Push technology pattern known as Comet. The term 'Comet' was coined by Alex Russell in his post Comet: Low Latency Data for the Browser.

CometD is a Dojo Foundation project to provide implementations of the Bayeux protocol in javascript, java, perl, python and other languages. Other organizations (eg. Sun, IBM and BEA) also have implementations of Bayeux that are not strictly part of the CometD project.

See http://cometd.org/

310 questions
0
votes
1 answer

Does Anyone know if there is any incompatibility between COMETD and JERSEY 9? Last version of Jetty is incompatible I think

After trying to configure maven to work with the last Jetty version (embedded JETTY 9) , I tried to use cometd (last version is 2.5.1) and I figured out that is not possible to make it work. As you can see below , it seems there is compilation…
didilin
  • 41
  • 4
0
votes
4 answers

showing selected names in a

I have a div which displays name of the people who are online, I have the following members in the div
Amlan Karmakar Atin Roy Arpan Burman Ramanuj Mukherjee
I have…
Wizard Sultan
  • 830
  • 7
  • 22
  • 45
0
votes
0 answers

Why when i Enabling Comet on Glassfish it fails in my situation?

I want to enable comet on glassfish especially cometd, Bayeux Protocol, implementation. Following this article: http://docs.oracle.com/cd/E19798-01/821-1752/ghgxn/index.html. when using this command: asadmin set…
Shikatsu
  • 197
  • 1
  • 1
  • 13
0
votes
1 answer

Proper way to decode response in Dojo cometd java client

I want to push arbitrary XMLEncoded java objects back and forth using Dojo cometd channels, and I have a problem decoding the payload properly. In order to do this I have this send method in a stripped down version of the chat room client…
Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
0
votes
1 answer

CometD Issues with Publishing Data

I'm new to CometD and having problems publishing data on a channel. I'm getting the following error for not invoking a handshake() on my channel: Sender : null Sender : L:/abc/1? Exception in thread "Thread-9" java.lang.IllegalStateException: Method…
user676567
  • 1,119
  • 9
  • 20
  • 39
0
votes
1 answer

comet callback-polling and jetty-cometd implementation

I am using the cometd implementation that comes with the jetty server. I'd like to use the callback-polling transport, but when I try to connect to the comet server from javascript (note that the html page is in another web-server), jetty complains…
cheng81
  • 2,434
  • 2
  • 21
  • 18
0
votes
1 answer

Need a working example on Cometd 2 + Dojo 1.8 + Chat

I'm looking for an example on Cometd 2 with Dojo 1.8 on Chat, Can anybody help me out in this?? I have referred cometd.org site, and I understood the concept of cometd. But, I'm unable apply it in practically. I just confused when to create a…
Vinod Kumar
  • 108
  • 1
  • 4
  • 12
0
votes
1 answer

CometD makes overkill of requests

I keep seeing strange message in the log files of my webapp. 127.0.0.1 - - [15/Jan/2013:23:00:53 +0000] "POST /cometd/connect HTTP/1.1" 200 147 This message is keep appearing in there and for the last few days I have seen in more then 20000 times…
Boris Horvat
  • 563
  • 2
  • 13
  • 28
0
votes
1 answer

How to synchronize global variable access in Node.Js. Is nodejs is right choice for chat room application development?

Is NodeJS capable of supporting a multi chat room application, where clients subscribe to chat room through HttpLongPolling and WebSocket ? When I think about chat room solution, I do see there is need of sync blocks while broadcasting to long…
0
votes
1 answer

how to call cometD api in android using cometd protocol

i want to use a CometD api in my android application. i already have a CometD api. i just want to call it and share some data. so how can i use in my android application. please give me a standard and time consuming suggestion.` thanks in advance.
vivek tiwari
  • 645
  • 3
  • 10
  • 23
0
votes
1 answer

Can't publish in cometd channel

I'm getting this error when I try to publish a string in a channel: java.lang.AbstractMethodError: org.cometd.client.BayeuxClient$BayeuxClientChannel.publish(Ljava/lang/Object;)V this is the code that is trying to publish: public class…
brevleq
  • 2,081
  • 10
  • 53
  • 97
0
votes
1 answer

Cometd servlet in glassfish is returning Unexpected response 302

I'm completely new using cometd and I'm trying to use it to enable push messages in my web application. After testing successfully with jetty 8, I'm trying to plug cometd directly to my web application, so I've changed my web.xml this way:
brevleq
  • 2,081
  • 10
  • 53
  • 97
0
votes
1 answer

CometD - How to run demo in tomcat jetty

Im trying run the demo aps in CometD. I have installed Maven. I have followed the commands here. In my console it displays [INFO] Starting scanner at interval of 1 seconds. . I went to http://localhost:8080/ and see apache tomcat main page but I…
TheOnlyIdiot
  • 1,182
  • 7
  • 17
  • 37
0
votes
1 answer

cometd javascript path to use with h:outputScript

I'm trying to configure CometD in my web application. This web application is the client of CometD, it uses JSF 2.0, primefaces 3.3.1 and run on glassfish. In this application this global var is undefined: var cometd = $.cometd; Probably the source…
brevleq
  • 2,081
  • 10
  • 53
  • 97
0
votes
1 answer

Server push using COMETD to client(dojo)

I am trying to push message from server to client. I am using DOJO 1.7, Cometd and Jetty integrated with tomcat6. //Server side code public class notificationService extends AbstractService { public notificationService(BayeuxServer bayeux,…
mayank
  • 1
  • 2
1 2 3
20
21