GeekInterview.com
Series: Subject: Topic:
Question: 3 of 177

Is Servlets thread-safe?

service() method of servlet class is not synchronize then how will it work as thread-safe for every request at the same time?
Asked by: Mukeshtop | Member Since Dec-2011 | Asked on: Dec 21st, 2011

View all questions by Mukeshtop

Showing Answers 1 - 1 of 1 Answers
pradeep

Answered On : Jan 19th, 2012

Servlets are not thread safe. If you want to make it Servlet as Thread safe, you can implement SingleThreadInterface

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.