A servlet that generates a list of large prime numbers.
It sends an initial list to browser and instructs browser
to reconnect periodically for updated results until
list is complete. Uses the following auxiliary classes:
Creates a Vector of large prime numbers, usually in
a low-priority background thread. Provides a few small
thread-safe access methods.
Generates random BigIntegers and finds first prime ones
above a given starting point.
A servlet that makes use of persistent (keep-alive) HTTP connections
if associated server supports them.
A servlet that reads GIF files off local system.
Used only to illustrate
benefit of persistent HTTP connections; you should not
install this servlet permanently on a public server since it can
return image files outside Web server hierarchy.
A servlet acting as a GIF-generation service. Servlet
uses Java 2D to generated shadowed messages,
returning them as GIF files that the client assumedly saves
permanently to disk for later use in a Web page.
Uses the MessageImage