File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes servlet unloading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "servlet unloading" Watch "servlet unloading" New topic

servlet unloading

rajeev holkar

Joined: Sep 13, 2000
Posts: 21
What are the various ways to unload a servlet?
more simply, when a servlet is called, it is loaded by the web server, the required method is called and after that the servlet is unloaded.
So again, what are the various ways to unload a servlet??
Steve Fahlbusch

Joined: Sep 18, 2000
Posts: 555

I don't know of a way to do this from the servlet. This is
usually a function of the web server - most servers will
cache sevlets for a period of time ~20 seconds or so, but
it can be changed by the web server.
Some web servers allow for servlets to attach to the web
server API and allow for the servlet to control when it is
to be unloaded.
I agree. Here's the link:
subject: servlet unloading
Similar Threads
Unable to execute insertion!
is destroy() called in case of power failure
java interview question
servlet unloading
servlet auto loading