jsr340-experts@servlet-spec.java.net

[jsr340-experts] Re: [servlet-spec users] Re: Re: NIO specification clarification

From: Rajiv Mordani <rajiv.mordani_at_oracle.com>
Date: Thu, 11 Apr 2013 13:50:30 -0700

Thanks Remy.

So just to be clear - we are not changing anything in the spec right
now. It has been submitted for final approval ballot to the JCP.

Thanks

- Rajiv

On 4/11/13 12:32 AM, Rémy Maucherat wrote:
> On 04/11/2013 03:25 AM, Mark Thomas wrote:
>> If there is a good reason for this limitation then I'll have to give
>> up on my container neutral implementation and use container specific
>> APIs to control the blocking as that will enable me to implement it
>> with the single container thread limitation.
> The reasons for this behavior are:
> - The Servlet API objects (request, response, etc) are not thread
> safe, so the user would have to sync all accesses
> - It is easier for the user's code (no sync to put in place)
> - IMO this is better for resources use (one request = one thread used
> at most)
>
> Rémy
>