-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ray,
Ray Holme wrote: > I have a few web applications being moved to tomcat. They all share some > commonality - I use Firebird not MySQL; I built my own ConnectionManager > long ago [snip] > Perhaps due to lack of knowledge, I try get the session's UserInfo > (getAttribute(..)) and on failure intstantiate a new one in hundreds of > servlets and/or JSP servlet codes sets (adding resources as needed). Since you wrote your own ConnectionManager, you have the opportunity to control everything about the JDBC objects handed-out to the application. Why not use that to your advantage and do all this housekeeping within either the ConnectionManager class (say, to create your UserInfo objects) or in wrappers around object such as Connection to do this in the close() method or others? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmLaMsACgkQ9CaO5/Lv0PASPwCcDExkP6TGlSWjUHCtdEeyYgJH jFcAmwcDrQMaRzjxDnd1LydLWEJAv6lG =eUQM -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org