... and some other threading issue to consider:
What kind of thread is going to do the callback? If running in an EE
container, will the thread be anointed as a container thread with the
ability to propagate identity in calls to EE beans etc. I assume yes?
On the write side, I expect that we will eventually have some kind of
callback for completion or canWriteMore - will those callbacks always
be a different thread to the one that call the write/send or can it be
the same thread. If it is the same, how do we prevent stacks growing
forever if the callback then does another write/send?
--
Greg Wilkins <gregw_at_intalio.com>
www.webtide.com
Developer advice, services and support
from the Jetty & CometD experts.