-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Noah,
On 3/16/2011 10:47 PM, Noah Cutler wrote: > I'll need to sort out DBCP, java singletons are nothing like php where a > singleton exists for lifetime of the request, vs. lifetime of the > application. The servlet spec includes a "request" object which (as one would expect) survives for the life of the request. HttpServletRequest (that defining class of the request objects) objects allow "attributes" to be set that are therefore accessible during the life of the request. You could store temporary resources in the request attributes if you want to be able to re-use them and discard them when the request terminates. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2D1EEACgkQ9CaO5/Lv0PD18QCgkXlLXa9ogZt32eTRcPbNqpwU n7YAoJ0dhgRbxrm9iKhrEn3ScAqQYjIG =xJlA -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org