Not sure, where should I ask this question
Do not synchronize doGet, doPost The below article says
The
servlet specification strongly recommends that doGet, doPost, and all other service methods should not be declared as synchronized.
Declaring such methods as synchronized will often decrease performance significantly. It is not necessary to declare these methods as synchronized at all, since this is taken care of by the servlet container itself.
My question is, do you guys really write the code keeping in mind of this multi threading?..
As the above article says, I really never bothered to use synchronize etc.. just write doget or doPOst().. thats it.