File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 12678
    
    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
Downloading HTML page
Un-downloadable Applets
WA #1.....word association
server side processing error
a jsp design question...