Hi Friends, Can we make any method thread safe withour
synchronized keyword?
Answer Posted / faiyaz
To implement SingleThreadModel interface, class can make
thread safe.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Is it possible to have a constructor inside the servlet?
Explain the role of dispatcherservlet and contextloaderlistener.
Can you create a deadlock condition on a servlet?
When a servlet accepts a call from a client, it receives two objects. What are they?
Is servlet thread safe?
What's the servlet interface?
What is difference between GenericServlet and HttpServlet?
Explain the lifecycle of a servlet?
Why are servlets used?
What exception should be thrown when servlet is not properly initialized?
Can a jsp be called using a servlet?
How can you run a servlet program?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What is cookie? Why is cookie used?
What is the difference between portlet and servlet?