Hi ,

       Is it a best practice to create a connection object in handlers and
sending that object to DB functions that are called from handlers?
Previously I was creating connection object in every DB function and closing
it while coming back. I got some connection issues and now I am creating
single connection object in the handler and sending it to every DB function
and closing that connecition in the handler finally. Please let me know
following this is a best practice or not.


thanks in advance



Shikai
-- 
View this message in context: 
http://www.nabble.com/Creating-connection-object-in-Handlers-tp25780832p25780832.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to