On 5/3/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
Thomas Bolding ha scritto:
> Indeed. If it is within the same context this is trivial - look into
> singleton design pattern.
It's a bad idea to use singletons in a web application, especially when
the application needs to be reloaded (this is one of the causes that
make lots of people write about an OutOfMemoryException!).
Heh?
Could you explain it a bit more? What's the difference whether I have
10 instances of the same class or just one for reloading?
Antonio
Leon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]