3) I am testing like this way then My application server throughing HTTP 1.1" 500 error
a) Prepared on client program like it will read line by line and hit the server
b) My server is sending request to my servlet class
c) From 5 clients i am hitting 2000 req concurently
d) after started the clients hiting then it will throug one client HTTP 500 then stop server.
e) In my open log is wring Null pointer exception
4) Then I have checed my code as below
protected synchronized void service(HttpServletRequest request, HttpServletResponse response)
Then it is working fine.
My question how suncronized is behaving... Due to this my response also bit slow.
If i remove how can i resolve this.