Can anybody please help me how do i make use of Threading in Servlets
 
My problem is
 
My servlets is being made to handle thousands of request to send a mail.
I have implemented an SMTPClient class that sends mail for every request.
 
Now what I want is I launch a new thread for every request for sending mail
so that servlets serves each client at the same time
 
What would be the best approach for this
and what are the issues which need to be take care of to make it Thread safe.
 
Thanx and Regards
 
Mueksh garg

Reply via email to