Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet unloading

 
rajeev holkar
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 602
7
Mac OS X Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic