<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ajax Dojo Comet Tutorial</title>
	<atom:link href="http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/</link>
	<description>No movement is faster than no movement</description>
	<lastBuildDate>Sun, 07 Mar 2010 15:17:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nick</title>
		<link>http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/comment-page-1/#comment-5626</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Fri, 13 Mar 2009 05:55:21 +0000</pubDate>
		<guid isPermaLink="false">http://martin.ankerl.com/?p=92#comment-5626</guid>
		<description>I know this is an old thread, but I found this via google and it led me into a few hours of frustration, so I thought I&#039;d post an update.

I&#039;ve posted at http://www.dojotoolkit.org/forum/dojox-dojox/dojox-support/hello-world-cometd#comment-22834 with why the url.match function generates an error, and roughly how to fix it.  This tutorial is for an _old_ version of dojo and _will not work_ as it stands with today&#039;s release.

Sally: your wep application project should only have one WEB-INF folder.  If you don&#039;t know which WEB-INF folder you should put resources into, perhaps you should return to basic J2EE tutorials for your platform of choice?  I&#039;m using Eclipse and Glassfish, and my GlassfishTest project in Eclipse has a GlassfishTest/WebContent/WEB-INF folder, in which there is a &#039;lib&#039; folder, in which I put my cometd-api, cometd-bayeaux, jetty-util and so on jar files.  (the jetty one seems necessary for a reason I&#039;ve yet to fully figure out, it seems out of place as I&#039;m not deploying to Jetty!)

Other than the use of an obsolete dojo api, a very useful tutorial :)</description>
		<content:encoded><![CDATA[<p>I know this is an old thread, but I found this via google and it led me into a few hours of frustration, so I thought I&#8217;d post an update.</p>
<p>I&#8217;ve posted at <a href="http://www.dojotoolkit.org/forum/dojox-dojox/dojox-support/hello-world-cometd#comment-22834" rel="nofollow">http://www.dojotoolkit.org/forum/dojox-dojox/dojox-support/hello-world-cometd#comment-22834</a> with why the url.match function generates an error, and roughly how to fix it.  This tutorial is for an _old_ version of dojo and _will not work_ as it stands with today&#8217;s release.</p>
<p>Sally: your wep application project should only have one WEB-INF folder.  If you don&#8217;t know which WEB-INF folder you should put resources into, perhaps you should return to basic J2EE tutorials for your platform of choice?  I&#8217;m using Eclipse and Glassfish, and my GlassfishTest project in Eclipse has a GlassfishTest/WebContent/WEB-INF folder, in which there is a &#8216;lib&#8217; folder, in which I put my cometd-api, cometd-bayeaux, jetty-util and so on jar files.  (the jetty one seems necessary for a reason I&#8217;ve yet to fully figure out, it seems out of place as I&#8217;m not deploying to Jetty!)</p>
<p>Other than the use of an obsolete dojo api, a very useful tutorial <img src='http://martin.ankerl.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using Server Push (aka Reverse AJAX) &#171; When IE meets SE&#8230;</title>
		<link>http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/comment-page-1/#comment-5623</link>
		<dc:creator>Using Server Push (aka Reverse AJAX) &#171; When IE meets SE&#8230;</dc:creator>
		<pubDate>Tue, 03 Mar 2009 00:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://martin.ankerl.com/?p=92#comment-5623</guid>
		<description>[...] 1. Web 2.0 Techs - Comet (Reverse Ajax, Server-side Push) 2. Direct Web Remoting + Reverse AJAX 3. Ajax Dojo Comet Tutorial       [...]</description>
		<content:encoded><![CDATA[<p>[...] 1. Web 2.0 Techs &#8211; Comet (Reverse Ajax, Server-side Push) 2. Direct Web Remoting + Reverse AJAX 3. Ajax Dojo Comet Tutorial       [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ESME Mention in Keynote at &#8220;Open Source Meets Business&#8221; Conference : ESME</title>
		<link>http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/comment-page-1/#comment-5569</link>
		<dc:creator>ESME Mention in Keynote at &#8220;Open Source Meets Business&#8221; Conference : ESME</dc:creator>
		<pubDate>Sun, 08 Feb 2009 09:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://martin.ankerl.com/?p=92#comment-5569</guid>
		<description>[...] at &#8220;Open Source Meets Business&#8221; (OSMB) conference. Take a look at Mark&#8217;s blog about his presentation (slides are here). The slides are interesting, because they describe the [...]</description>
		<content:encoded><![CDATA[<p>[...] at &#8220;Open Source Meets Business&#8221; (OSMB) conference. Take a look at Mark&#8217;s blog about his presentation (slides are here). The slides are interesting, because they describe the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shared Tutorials &#187; Blog Archive &#187; Ajax Dojo Comet Tutorial</title>
		<link>http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/comment-page-1/#comment-5363</link>
		<dc:creator>Shared Tutorials &#187; Blog Archive &#187; Ajax Dojo Comet Tutorial</dc:creator>
		<pubDate>Sun, 11 Jan 2009 19:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://martin.ankerl.com/?p=92#comment-5363</guid>
		<description>[...] Ajax Dojo Comet Tutorial [...]</description>
		<content:encoded><![CDATA[<p>[...] Ajax Dojo Comet Tutorial [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sally</title>
		<link>http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/comment-page-1/#comment-5333</link>
		<dc:creator>Sally</dc:creator>
		<pubDate>Sun, 30 Nov 2008 15:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://martin.ankerl.com/?p=92#comment-5333</guid>
		<description>Hi, I&#039;m trying to get this example to work, and I&#039;m having trouble.  I have successfully installed tomcat and jetty, but I&#039;m not sure which WEB-INF to put the jar file into and which web.xml file to modify - there are about 20 different WEB-INF locations and about 7 different web.xml files on my computer.     I got dojo up and running, but without the comet enabled server, when I click on the click me button, nothing happens. 

Thanks, 
Sally</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m trying to get this example to work, and I&#8217;m having trouble.  I have successfully installed tomcat and jetty, but I&#8217;m not sure which WEB-INF to put the jar file into and which web.xml file to modify &#8211; there are about 20 different WEB-INF locations and about 7 different web.xml files on my computer.     I got dojo up and running, but without the comet enabled server, when I click on the click me button, nothing happens. </p>
<p>Thanks,<br />
Sally</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Integration Patterns : ESME</title>
		<link>http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/comment-page-1/#comment-5112</link>
		<dc:creator>Integration Patterns : ESME</dc:creator>
		<pubDate>Sun, 26 Oct 2008 09:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://martin.ankerl.com/?p=92#comment-5112</guid>
		<description>[...] messages based on tag-based filters. An integration via javascript-based scripts (for example, dojo) would allow use in most browser-based [...]</description>
		<content:encoded><![CDATA[<p>[...] messages based on tag-based filters. An integration via javascript-based scripts (for example, dojo) would allow use in most browser-based [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maxime</title>
		<link>http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/comment-page-1/#comment-2458</link>
		<dc:creator>Maxime</dc:creator>
		<pubDate>Tue, 12 Aug 2008 13:39:27 +0000</pubDate>
		<guid isPermaLink="false">http://martin.ankerl.com/?p=92#comment-2458</guid>
		<description>Hello,

For my internship, I have to work on a comet implementation (started by a former student) that uses the cometd API and a tomcat server (with the Tapestry framework). What has been done until now works pretty fine : the long polling request enables the server to send back a response to the client when it wishes.

However I noticed the following : during the long polling, if the client makes requests to the server, they will use other sockets than the one opened for the long polling. In short, it builds up another connection per new request.
Another thing, when the server pushes data back to the client, it uses the response to the long polling request. That may be the correct way for it to work, but it implies that the maintained connection ends (since a response is sent back) and that the client has to start again a new long polling request.All this causes the corresponding sockets to close and to open again. 

So my question is the following .... well, there are two actually :
- Can the client use the connection built for the long polling in order to sent data to the server, instead of having to build a new temporary connection just for that new request ?
- Can the server send back data without closing  the connection ?

I spent some time analysing packets with wireshark but i&#039;m quite new to comet so I&#039;m sorry if my questions appear obvious, or completely dumb.
I thank anyone that could give me some information on this.

Thank you.
Maxime - France</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>For my internship, I have to work on a comet implementation (started by a former student) that uses the cometd API and a tomcat server (with the Tapestry framework). What has been done until now works pretty fine : the long polling request enables the server to send back a response to the client when it wishes.</p>
<p>However I noticed the following : during the long polling, if the client makes requests to the server, they will use other sockets than the one opened for the long polling. In short, it builds up another connection per new request.<br />
Another thing, when the server pushes data back to the client, it uses the response to the long polling request. That may be the correct way for it to work, but it implies that the maintained connection ends (since a response is sent back) and that the client has to start again a new long polling request.All this causes the corresponding sockets to close and to open again. </p>
<p>So my question is the following &#8230;. well, there are two actually :<br />
- Can the client use the connection built for the long polling in order to sent data to the server, instead of having to build a new temporary connection just for that new request ?<br />
- Can the server send back data without closing  the connection ?</p>
<p>I spent some time analysing packets with wireshark but i&#8217;m quite new to comet so I&#8217;m sorry if my questions appear obvious, or completely dumb.<br />
I thank anyone that could give me some information on this.</p>
<p>Thank you.<br />
Maxime &#8211; France</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hale</title>
		<link>http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/comment-page-1/#comment-2325</link>
		<dc:creator>Hale</dc:creator>
		<pubDate>Mon, 21 Jul 2008 14:05:54 +0000</pubDate>
		<guid isPermaLink="false">http://martin.ankerl.com/?p=92#comment-2325</guid>
		<description>Hello, I try to realize this example, but it doesn&#039;t work. Nothing happens when I click on the Button. I put an alert into the code after &quot; cometd.init({}, &quot;cometd&quot;); &quot; and it isn&#039;t shown on the screen. What means &quot;cometd&quot; inside the breakets. And concerning the code in the web.xml:

org.mortbay.cometd.continuation.ContinuationCometdServlet

is it a path to the ContinuationCometdServlet or what do I have to write. Hope anyone can help me... Thank&#039;s</description>
		<content:encoded><![CDATA[<p>Hello, I try to realize this example, but it doesn&#8217;t work. Nothing happens when I click on the Button. I put an alert into the code after &#8221; cometd.init({}, &#8220;cometd&#8221;); &#8221; and it isn&#8217;t shown on the screen. What means &#8220;cometd&#8221; inside the breakets. And concerning the code in the web.xml:</p>
<p>org.mortbay.cometd.continuation.ContinuationCometdServlet</p>
<p>is it a path to the ContinuationCometdServlet or what do I have to write. Hope anyone can help me&#8230; Thank&#8217;s</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iGeek &#187; Comet: El Ajax inverso</title>
		<link>http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/comment-page-1/#comment-2279</link>
		<dc:creator>iGeek &#187; Comet: El Ajax inverso</dc:creator>
		<pubDate>Tue, 15 Jul 2008 20:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://martin.ankerl.com/?p=92#comment-2279</guid>
		<description>[...] en wikipedia (ES)  Despues de Ajax, Comet  Ajax Dojo Comet Tutorial by Martin Ankerl  How to implement COMET with PHP [Zeitoun.net]  Comet with PHP  Comet paso a paso: pizarra [...]</description>
		<content:encoded><![CDATA[<p>[...] en wikipedia (ES)  Despues de Ajax, Comet  Ajax Dojo Comet Tutorial by Martin Ankerl  How to implement COMET with PHP [Zeitoun.net]  Comet with PHP  Comet paso a paso: pizarra [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/comment-page-1/#comment-2263</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Mon, 23 Jun 2008 14:52:24 +0000</pubDate>
		<guid isPermaLink="false">http://martin.ankerl.com/?p=92#comment-2263</guid>
		<description>I have developed a small non-blocking Java server which can handle this type of high socket concurrency and serve async responses!

http://rupy.googlecode.com

Check it out!</description>
		<content:encoded><![CDATA[<p>I have developed a small non-blocking Java server which can handle this type of high socket concurrency and serve async responses!</p>
<p><a href="http://rupy.googlecode.com" rel="nofollow">http://rupy.googlecode.com</a></p>
<p>Check it out!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
