On Thu, May 6, 2010 at 3:32 PM, Bill Burke <bburke(a)redhat.com> wrote:
Who says I want to interfere? I just want to know if the client
disconnects. If you're managing some session-related objects tied to an
unreliable client (the browser), a callback like this is useful to
trigger clean-up facilities.
I know Jetty has a feature like this and a number of people have found
it useful, especially for push applications.
For push applications, you could use Servlet 3 async, or JBoss event mode.
I'm not doing a keep alive notification [of the keep alive between two
distinct requests] however, as what keep alive means and does depends
on the protocol.
Rémy