My nightmare is described here:
http://weblogs.java.net/blog/jfarcand/archive/2006/06/tricks_and_tips.html
:-)
-- Jeanfrancois
Jeanfrancois Arcand wrote:
> Salut,
>
> my nightmare is back[1] :-) Alexey is proposing to attach a very simple
> object called Connection to the SelectionKey. This Connection object
> object would persist some connection information when the key is
> registered back to the Selector. I've never been a fan of attaching
> object to the SelectionKey, and I do think we can reconstruct those
> objects between transaction instead of attaching them.
>
> Alexey's proposal is also to get rid of ThreadAttachment (hide the
> concept to the users). I was under the impression it was a good idea,
> now I'm no longer sure :-)
>
> What peoples thinks?
>
> A+
>
> -- Jeanfrancois
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>