I means if it is good to put a large Object in the ServletContext. This
Object contains a lot of complicated data structure, the data is dymanically
used.

In all the text books, when they tell the usage of ServletContext object,
always use simple string, int, or simple bean.
I heard before that it is not good to put too much data in ServletContext.
If it is true, how it will hurt the system or the data stored in
ServletContext if put tool much data in it. So I can decide how to do
according to my reality. I donnot consern the amount of memory. Please
forward instruction.
Thanks

-----Original Message-----
From: Jerome Jar [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 10, 2005 8:28 PM
To: Tomcat Users List
Subject: Re: Application Data sharing -- store large object?


Cofused about your question.
A Singleton object???

On Apr 11, 2005 1:22 AM, Daxin Zuo <[EMAIL PROTECTED]> wrote:
> In my program, an object that contains a large amount of data (complicated
> data strustures) is used in many pages. When I start doing it, I heard
that
> it is better to not store large object in Application. So I let the
program
> create a new one when ever this object is needed. Now I like to question
if
> it is good to put this object in Application.
>
> Thanks.
>
> ---------------------------------------------------------------------
> 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]


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

Reply via email to