InfoQ

InfoQ

Presentation

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Recorded at:
Recorded at

Interactive Websites with Comet and DWR

Presented by Joe Walker on Apr 08, 2009 Length 01:02:34
Sections
Development
Topics
.NET ,
Ruby ,
Rich Internet Apps ,
Java
Tags
QCon ,
Comet ,
DWR ,
AJAX ,
QCon London 2008
The next QCon is in London March 5-9, Join us!
 

How would you like to view the presentation?

In case you are having issues watching this video, please follow these simple steps to help us investigate the issue:
1. Right click on the video player and select Copy log
2. Paste the copied information in an email to video-issue@infoq.com (clicking this link will fill in the default details in most email clients).
Note: in case your email client hasn't automatically picked up the email subject, please include in your email the URL of the video too.
3. Done.
We will investigate the issue and get back to you as soon as possible. Thanks for helping us improve our site!
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
I've another idea by Hazem Salem Posted
Comet on the rise? by Jurgen Huls Posted
  1. Back to top

    Excellent!

    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

    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?

    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

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.

Max Protect: Scalability and Caching at ESPN.com

Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.

The Seven Deadly Sins of Enterprise Agile Adoption

Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.

Questions for an Enterprise Architect

Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?