Thanks for your reply.
(1)If I have a class called ThreadsManager and all threads related activities such as creating threads, starting threads, and terminating threads are handled by this class. In my servlet, I call ThreadsManager.startManageThreads(). Can this consider as "outside the servlet"? If not, could you give me an example?
(2)Could you explain a little bit more on "other all messed up"?