When using JRun you can tell it to preload your servlets when JRun
starts up. This will save the client waiting for your servlet to
initialize.
-JM
-----Original Message-----
From: Venkatesh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 29, 2000 5:53 PM
To: [EMAIL PROTECTED]
Subject: Pre-Instantiation of Servlets ...
Hi,
I was analysing a huge servlet code base and ended up with this
requirement doubt.....
Can I instantiate a servlet and cache the object before a client
requests for it ???
the reason is: There's a plenty of things like parsing and loading data
files in the servlet's init () function, which consumes substantial
network time.
S/w : JSDK2.1, JDK1.2
environment : Windows NT
Currently iam using servletrunner as the servlet engine... but finally
it's going to be JRun with Netscape Enterprise Server.
thanks in advance,
venky
________________________________________________________________________
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html