InfoQ

Presentation

Recorded at:
Recorded at

Interactive Websites with Comet and DWR

Presented by Joe Walker on Apr 08, 2009

Community
.NET,
Ruby,
Java
Topics
Rich Internet Apps
Tags
DWR ,
AJAX ,
Comet ,
QCon ,
QCon London 2008
The next QCon is in London Mar 10-12, Join us!
Summary
In this session filmed during QCon London 2008, Joe Walker presents Comet, a long polling AJAX method used for updating the browser’s page, and DWR, a Java library for writing web sites using AJAX.

Bio
Joe Walker is lead developer of the DWR framework, and Director of Support and Development at Sitepen UK. He is a frequent speaker at industry events like InfoQ, JavaOne, FoWA and The Ajax Experience. He is an author of Ajax in Practice by Manning, and blogs at http://getahead.org/blog/joe and also at http://cometdaily.com

About the conference
QCon is a conference that is organized by the community, for the community.The result is a high quality conference experience where a tremendous amount of attention and investment has gone into having the best content on the most important topics presented by the leaders in our community. QCon is designed with the technical depth and enterprise focus of interest to technical team leads, architects, and project managers.
Excellent! by Siva Prasanna Kumar Posted Apr 9, 2009 9:17 AM
I've another idea by Hazem Salem Posted Apr 14, 2009 10:08 AM
Comet on the rise? by Jurgen Huls Posted Jul 21, 2009 2:32 PM
  1. Back to top

    Excellent!

    Apr 9, 2009 9:17 AM by Siva Prasanna Kumar

    Excellent talk, but what about the number of open connections on the servers? Isn't their a limitation on that? Hmmm long back I had written a article about Server Push using Blaze DS, in that article we had to explicitly specify the user-agent based settings as shown below:

    <user-agent match-on="MSIE" kickstart-bytes="2048" max-streaming-connections-per-session="3"/>
    <user-agent match-on="Firefox" kickstart-bytes="2048" max-streaming-connections-per-session="3"/>


    Do we need to do something similar in DWR also? My previous experience was with DWR 1.0, it was great but had some browser specific behaviors (had some issues with Mozilla, use to work great on IE). Never got a chance to look in to DWR 2.x, I think I will directly try DWR 3.0, when is it expected to release?


    Thanks,

    Siva Prasanna.

  2. Back to top

    I've another idea

    Apr 14, 2009 10:08 AM by Hazem Salem

    I used to implement comet using WCF (Dublex) over HTTP in real time applicaiton
    We face a lot of challenges in implmenting it but we succefully overcome them all and the idea is running perfectly now.
    Sive,
    we succfuly overcome the problem of this max-streaming-connections-per-session="3"
    Now no limits in using comet

    I'm preparing to post our idea soon

    Thanks

  3. Back to top

    Comet on the rise?

    Jul 21, 2009 2:32 PM by Jurgen Huls

    I think general Comet use is on the rise again. Its the new Ajax, lots of people seem to be using it now. We're starting to implement Comet features in to our social networking site using StreamHub Comet server. Like DWR, we can use our existing Java skillset so it suited us. It will be interesting to see how Comet grows in the future.

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.