Answer Posted / rv.nandakishore
Think, if there is 100's of objects are utilizing the
resource(i.e Connection object). That means allocation of
those objects are stored in the internal memory of the JVM
right... If similar requests are utilizing the Connection
object.... at one time the JVM utilization memory is full...
this will degrade the application. For this reason we call
explicitly destroy()...... if not the Garbage Collector will
taken care to reclaim the memory.... by we don's say when it
will be reclaim the memory and free the JVM memory......
Is This Answer Correct ? | 20 Yes | 0 No |
Post New Answer View All Answers
Difference between GET and POST?
Why is httpservlet declared abstract?
How do you load an image in a Servlet?
Why servlet is used as controller ? Not JSP? I want complete explation?
What is difference between GenericServlet and HttpServlet?
Write the code to get the server information in servlet.
What is the difference in between the httpservlet and generic servlet?
Why do we have servlet filters?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What are the uses of servlet
What do you mean by url pattern in servlet?
What is the purpose of inter-servlet communication?
How to read request headers from servlets?
How can we create deadlock situation in servlet?
How can the session in servlet be destroyed?