hi Shapira,
>In addition to what others have said, why don't you ask >your highly
>knowledgeable friend for proof of what he's claiming?

Yes! i could do that.Once he says so,then i should find out whether his
statements bear any truth? Instead, asking him would not reveal the facts at
all.

Anyway his answer to this question is,------ using base servlet does not
create a separate object instance as it is done when using a singleton
class.That way u use one object less from JVM point of view.However this
answer did not solve my quest.
regards
sat
----- Original Message ----- 
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2003 11:12 PM
Subject: RE: Which is the winner----Singleton Class or Base Servlet????



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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to