Howdy, In addition to what others have said, why don't you ask your highly knowledgeable friend for proof of what he's claiming?
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: kgsat [mailto:[EMAIL PROTECTED] >Sent: Wednesday, November 05, 2003 1:36 AM >To: Tomcat Users List; tomcat-user-sc.1064369106.oligoebllpoplhbjhnhi- >[EMAIL PROTECTED] >Subject: Which is the winner----Singleton Class or Base Servlet???? > >Dear experts, > >It may not be appropriate to ask this doubt here.Though i am aware of it , >i >chose to ask here thinking that experts would forgive me. > >Now the doubt is....... > >In a web application, what is the performance difference of using singleton >class and a base servlet to do the database related operations such as >loading the driver, obtaining the dbURL and obtaining the connection >instance for further db operations. >I use a singleton class for my db requirements in jsps and servlets and >also >in other beans. >One of my friends suggests that using base servlet to do the same work is >more efficient. >Can any one throw some more light on this topic.i want to improve the >performance of my web application. >Any white papers or pointing URLs are given astounding welcome. >thanks and regards >sat This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
