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
What are the common methods that are included in the http servlet class?
How can we refresh automatically when new data is entered into the database?
What are the uses of servlet
What is ServletConfig object?
Describe some assignments that are executed by servlet container?
If a servlet is not properly initialized, what exception may be thrown?
What are Servlets?
What is the need of servlet filters?
Explain the different ways for servlet authentication?
What is war file?
What is servlet name in web xml?
What is string tokenizer?
Which are the different ways you can communicate between servlets?
What is servlet in simple terms?
Explain the difference between servletconfig and servletcontext in servlet?