users@grizzly.java.net

Re: Dead Simple Comet example

From: Jim Driscoll <Jim.Driscoll_at_Sun.COM>
Date: Thu, 01 May 2008 20:40:37 -0700

Jeanfrancois Arcand wrote:
> Jim Driscoll wrote:
> But if I put the hidden.location call into the POST function
>> on the client, would that still work? (It works, I tested it, but I'm
>> wondering if leaving all those dangling Handlers out there will
>> eventually mess things up.)
>
> By Handlers, you means CometHandler?

Yes, I'm thinking of the problem that Arun had, where he had a
multiplying number of Handlers. If the connection is broken, do the
Handlers associated with that connection get deactivated and eventually
garbage collected, or do they hang around. At what point do the
Handlers become deactivated?

Jim