jsr340-experts@servlet-spec.java.net

[jsr340-experts] Re: Fwd: Async IO proposals for Servlet 3.1

From: Rajiv Mordani <rajiv.mordani_at_oracle.com>
Date: Tue, 06 Mar 2012 20:53:37 -0800

I forgot to send email to the EG earlier - but Jan Bartel would like to
be able to post to the EG mailing
list. Please let me know if anyone has objections to her being able to
send emails to the EG. Greg
will continue to be the official EG rep (unless he wants to delegate to
Jan).


- Rajiv

On 03/06/2012 06:34 PM, Greg Wilkins wrote:
>
>
> ---------- Forwarded message ----------
> From: *Jan Bartel* <janb_at_intalio.com <mailto:janb_at_intalio.com>>
> Date: 7 March 2012 12:54
> Subject: Async IO proposals for Servlet 3.1
> To: Greg Wilkins <gregw_at_intalio.com <mailto:gregw_at_intalio.com>>
>
>
> Greg,
>
> please forward to the EG for their consideration.
>
>
>
> If the intention of the proposed ReadListener and WriteListener
> interfaces is that they are used only within an AsyncContext then it
> makes a lot more sense if they are configured on the AsyncContext
> itself. This will be much less confusing for users. Otherwise a lot of
> explanation would be needed on the Request object stating exactly when
> and how these addXListener (or more appropriately setXListener, as has
> been pointed out by other EG members) methods should be used - what
> might seem obvious to the EG might not be so obvious to non-expert
> users.
>
> As I think Remy suggested, perhaps the function of these
> Read/WriteListeners could be subsumed into the already-existing
> AsyncListener?
>
> The draft spec document needs a worked example on how these new async
> interfaces are intended to work.
>
> Jan
>