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.
Subscribe to:
Post Comments (Atom)
SpringBoot: Features: SpringApplication
Below are a few SpringBoot features corresponding to SpringApplication StartUp Logging · To add additional logging during startup...
-
There was a requirement in which user should be able to download an excel report from application, make some amendments and upload the exce...
-
I was facing 'java.rmi.NoSuchObjectException: Bean has been deleted' for the stateful bean instance. While reading about the error, ...
-
As we all know, one of the key features introduced in Java 8 is functional interface . Functional can have as many as default and static me...
1 comment:
Hi Ganesh,
Great insight...
Keep the good stuff coming..
Cheers,
Sachin.
Post a Comment