jsr340-experts@servlet-spec.java.net

[jsr340-experts] Re: Websockets

From: Mark Thomas <markt_at_apache.org>
Date: Fri, 27 May 2011 17:03:36 +0200

On 27/05/2011 00:21, Greg Wilkins wrote:
> Hi all,
>
> I don't mean to preempt what ever process Rajiv et al will run here,
> but I thought it might be worth while to have an early reveal of any
> efforts people have with websockets. That draft is in the throws of
> finalisation, so any convergence of approaches that we can achieve
> early would save at least somebody pain later.

Tomcat is just starting to think about this now that the WebSocket spec
looks to be heading towards stability. We haven't done any work so far
but the current thinking is heading along the following lines:
- expose the Socket IO API in a similar manner to how Comet is exposed
- expose the underlying protocols (e.g. Web Sockets) if practical
(depends on implementation which is still TBD)
- InputFilters (that currently handle chunking and compression) are one
possible place where the code to support the WebSockets protocol may located

Mark