You would do this by the topic (eg: "/chat/user1"). You can add custom
Authorizers for topic security.
Lance,
thanks again, i will check the docs.
Seems that longpolling or jsonp is supported best by servers and browsers.
The first question i will have if there is a kind of client
identification built in. The chat messages must be propageted to the
correct users and not to all users. Is a client i
The supported browsers section on the atmosphere page can be ignored as
this refers to atmosphere.js which is not used by the cometd integration.
Only the supported servers section is relevant.
Best to check the cometd docs for supported browsers at www.cometd.org
tapestry-cometd is built using the cometd integration in atmosphere.
Atmosphere supports a variety of push mechanisms including WebSockets,
Server Side Events (SSE), Long-Polling, HTTP Streaming (Forever frame) and
JSONP.
Out of the box, tapestry-cometd is configured to use
org.cometd.websocket.se
Hi,
Lance, wow, thank you for pointing me to your project! Integration is
more than easy, your example works outofthebox in my browsers. I had to
install jetty7 support, seems that jetty6 does not support websockets.
What are the disadvantages of websockets compared to ajax? I think not
all brows
Never mind Lance,
Seems I have an error in my configuration.
I think I'll be able to figure it out myself.
thanks anyhow
Jon
On Wed, May 22, 2013 at 6:10 PM, Jon Williams
wrote:
> Hi Lance,
>
> This email thread caught my eye so I went and got your example app.
> It seems to be running, in a
Hi Lance,
This email thread caught my eye so I went and got your example app.
It seems to be running, in a fashion. However,
I'm seeing NPE's at runtime...
1 caveat, maybe pertinent. I had to add a dependency to the pom to get a
good build...
org.eclipse.jetty
jet
Hi, as a previous dwr committer myself, I was keen to provide dwr reverse
ajax / tapestry integration.
After speaking to the dwr team, I found that the push mechanism in dwr was
not considered bulletproof and was directed towards cometd
For this reason, I have created tapestry-cometd, a push libr