Re: starting threads from servlets



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

Lee Ryman wrote:
> I haven't really spent alot of time thinking about applying
> such a scheme to management of a separate thread, but I have used such a
> system involving a context listener to manage a custom-made database
> connection pool, and it worked quite well.
>


I just realised that my connection pool did indeed have threads (to
check the state of pooled connections) and it functioned quite well,
shutting themselves down automatically (used a week reference to itself
as a backup so it could determine when it wasn't referenced by anyone
else). So it would seem the aforementioned strategy is plausible. Its
been a few years since i delved into this stuff, bear with my fragile
mind :)

Kind regards,

Lee
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkJyP6MACgkQhbcFpQga0LDIAgCfaYyJvoqbGREeVED5Ri5RXOs9
KPQAnj3JfWfsgccW3Zf3hBVoH4eHQqCf
=V2LZ
-----END PGP SIGNATURE-----
.