ecreate the first thread or it kills the first thread and then creates a new thread???
Actually any modern servlet container uses a pool of Threads to avoid the overhead of creating and destroying them. For example, there is a set of management configuration options in
Tomcat:
(from the server.xml config file)
So when a Thread exits the service method, it does not die but is returned to the pool.
Bill