I know that the web server that runs my servlets often create separate threads
of execution for each request for a particular servlet. Suppose if I have
to develop a ChatServer then I have to handle large number of users simultaneously
in a single servlet. Do I let the webserver create separate thread instances
of my ChatServlet or do I create a thread for each user and handle the threads
myself. which one is technically more viable. Please someone advice.