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
How do you define a servlet?
What is java servlet session?
What are the functions of an intercepting filter?
How do we share data using 'getservletcontext ()?
What do you mean by chaining in servlet?
What is servlet in tomcat?
How to get the IP address of client in servlet?
How the servlet is loaded?
What mechanisms are used by a Servlet Container to maintain session information?
Explain the features are in servlet 3?
Explain the servlet context.
Explain how does JSP handle run-time exceptions?
How can we refresh automatically when new data has entered the database?
Why the concept of single thread model interface is used?
How do I use cookies to store session state on the client?