Which of the following is the best way to ensure that a servlet will only process a single request at a time?

Which of the following is the best way to ensure that a servlet will only process a single request at
a time?

Which of the following is the best way to ensure that a servlet will only process a single request at
a time?

A.
synchronize doPost()

B.
implement SingleThreadModel

C.
implement as Singleton

D.
synchronize doGet()



Leave a Reply 0

Your email address will not be published. Required fields are marked *