some tips:
0) read Jason Hunter's book.
1) buffer your output-
either to a StringBuffer- or to a
ByteBufferOutputStream
2) set the content-length
3) write all your output in one
go - see above.
4) don't concatenate Strings
use StringBuffer.append
5) cache everything that's
slow- database connections,
-Database metadata,
-user profiles
-small files
6) try to pre-fetch things-
we have a network monitoring servlet which polls constantly in the
background, so there is always
recent data available when a user
request comes in.
7) use a good JIT/JVM
T.
URL http://www.westhawk.co.uk/
___________________________________________________________________________
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