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.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL