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()
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()