Re: starting threads from servlets
- From: Lee Ryman <leeryman@xxxxxxxxxxx>
- Date: Sat, 30 Apr 2005 00:07:31 +1000
-----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-----
.
- References:
- starting threads from servlets
- From: Fernando
- Re: starting threads from servlets
- From: Lee Ryman
- starting threads from servlets
- Prev by Date: Re: Hi I have one web application and i want to get the number of users who are currently accessing the application. Also I want to get the user details of each user, which is stored in a database. How can I do this? Pls help. Getting No: and
- Next by Date: Re: Comparables and Generics
- Previous by thread: Re: starting threads from servlets
- Next by thread: Re: starting threads from servlets
- Index(es):