You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rajesh <ra...@gkbcinc.com> on 2004/10/27 07:43:08 UTC

General Question in JSP

Hai all
 
in Web prgramming (Struts,JSP,Servlet)
 
if i call a static function say in a package Commons class having a static
functioin closeConnection(Connection con);
 
which will globally closses any connection object which is passed inside it.
 
if i call this package class to all db calls in my package will this
slowdown my code executions ?????
 
please help me
 
Regards,
 
Rajmahendra R. Hegde
GK Bharani Software Pvt. Ltd.
 
There are two ways of constructing a software design. One way is to make it
so simple that there are obviously no deficiencies. And the other way is to
make it so complicated that there are no obvious deficiencies. 
                                                    -- C.A.R. Hoare