Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Async servlets and thread-safety

I have some questions on async servlets and I figured this forum would be as good as any.

I've done servlet programming for quite a few years, and I've always dealt with the request/response cycle as single-threaded. However, does this assumption still hold? Or rather, if building servlet components, do they now need to be built in a thread-safe manner, because the request/response cycle no longer is guaranteed to execute on a single thread, because of the introduction of async execution?

I haven't been able to find very much information on this subject, so any explanations or pointers would be much appreciated.

Thanks.

Back to the top