[jboss-dev] Keep-alive disconnect callbacks?

Rémy Maucherat remy.maucherat at gmail.com
Thu May 6 09:45:36 EDT 2010


On Thu, May 6, 2010 at 3:32 PM, Bill Burke <bburke at 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




More information about the jboss-development mailing list