----- Original Message -----
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, June 05, 2008 4:18 AM
Subject: RE: Singleton in Tomcat 6.0 not working
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Subject: Re: Singleton in Tomcat 6.0 not working
Doing
RemoteDBConnections obj = new RemoteDBConnections().getInstance();
would make 2 counters
Except the constructor is private, so the above can't be done outside of
the RemoteDBConnections class.
Right, he'd have to be doing in the class... I think he is ;)
Common ktou Ho... we have bets on this now ;)
Also if you making a dB connection pool, there are quite a few good ones out
there.
---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]