wood burning stoves 2.0*
The moose likes Servlets and the fly likes instance persistance in servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "instance persistance in servlets" Watch "instance persistance in servlets" New topic
Author

instance persistance in servlets

sitaram irrinki
Ranch Hand

Joined: Feb 16, 2005
Posts: 158
what is the meaning of instancepersistance in the servlets topic
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
I am going to guess that you are talking about the fact that a servlet container creates a single instance of a servlet class and that instance may persist in memory for an indefinate amount of time and service any number of requests.
S Venkatesh
Ranch Hand

Joined: Jun 27, 2005
Posts: 464

Whenever u instantiate a servlet, only a single servlet instance persists in the web container for processing your requests. All your requests to this servlets is handled by the single instance of that servlet. This servlet is removed form your web container only when your application server is brought down or on redeployment.

Thanks
Venkatesh S
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: instance persistance in servlets
 
Similar Threads
a jsp design question...
server side processing error
WA #1.....word association
Downloading HTML page
Un-downloadable Applets