ProAnswers.org

What is the better way to enable thread-safe servlets and JSPs? SingleThreadModel Synchronization?

The better approach is to use synchronization. Because SingleThreadModel is not scalable. SingleThreadModel is pretty resource intensive from web server’s perspective. The most serious issue is when the number of concurrent requests exhaust the servlet instance pool. In that case, all the un serviced requests are queued until something becomes free - which results in poor performance.