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

S Ahmed,

On 3/25/12 6:57 PM, S Ahmed wrote:
> Why would you want to use a future?
> 
> Say in a web application, I can't really think of a reason why I
> would use the future (asych) connection retrieval pattern.   The #
> of connections is always fixed, I guess in a very high traffic
> environment where the # of connections is the pool are used up,
> calling via a future will block he request until a connection frees
> up right?
> 
> Could you also do this:  Send a sql query to the pool that you want
> to execute in the beginning of the page, but you don't really care
> about the return value until the end so you can let it go and then
> at the bottom you call .get(), is that possible?

Uh, what?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9w29UACgkQ9CaO5/Lv0PBBqQCgvpUJ8hmnWID+nJU8iIcVYB1h
B1sAn0l+DvVpvAWcgemMD+oPfljdU1Dx
=1eV+
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to