-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Strauß wrote:
> This worker-thread can easily serialize all incoming requests in a working 
> queue (database- or file-based) and your servlet just pushes a job into the 
> working queue for the thread.

  That is my basic plan is to have one thread that runs, emptying out
the input queue, as all requests are put into there.

  I figure I can check back every 10s, though it may be pushed to 30s,
to see if the job was finished.  I want to give them updates, as some of
the students grades may be updated, but not all, so they can at least
see some progress, and to give them updated approximate finish times.

  By using javascript and xmlhttprequest the user won't click the submit
button. They can close the browser, and come back later, and still see
what the status is. :)

  Thanks to all for their responses, I think I have an idea how to
approach this now. I first need a counter to test my servlet and make
certain the same instance is processing everything.

- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black    [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDlufKikQgpVn8xrARAm01AJ4lmzyvd0l27sOnDFiR8tilWofVdQCeMHyE
wEbgPC9RTcAfSTsaGpFXYss=
=Q04P
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to