Re: dwr java chat demo in t5

2013-05-24 Thread Lance Java
You would do this by the topic (eg: "/chat/user1"). You can add custom Authorizers for topic security.

Re: dwr java chat demo in t5

2013-05-24 Thread D.R.
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

Re: dwr java chat demo in t5

2013-05-23 Thread Lance Java
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

Re: dwr java chat demo in t5

2013-05-23 Thread Lance Java
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

Re: dwr java chat demo in t5

2013-05-22 Thread D.R.
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

Re: dwr java chat demo in t5

2013-05-22 Thread Jon Williams
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

Re: dwr java chat demo in t5

2013-05-22 Thread Jon Williams
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

Re: dwr java chat demo in t5

2013-05-22 Thread Lance Java
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