Kevin skrev:
> My concern is how can I kick a task off from
> a servlet and let it continue to run when I end a browser session.
One way could be to let the servlet spawn a new thread to do the work
in. Depending on how neat you want it, the servlet should probably keep
a reference to the working thread in a suitable (global) context so you
later can get status, result, terminate the job prematurely, and what
else you may find need for.
Regards,

Signature
Filip Larsen
Roedy Green - 27 Sep 2007 04:16 GMT
>One way could be to let the servlet spawn a new thread to do the work
>in. Depending on how neat you want it, the servlet should probably keep
>a reference to the working thread in a suitable (global) context so you
>later can get status, result, terminate the job prematurely, and what
>else you may find need for.
You might be better off just to create a standalone utility. Then it
would not be affected by the Servlet going up or down.
The womb is not doing much for you is it?

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com