On 11/3/07, Mike Kear <[EMAIL PROTECTED]> wrote:
> Across my admin application I might have a couple of dozen DAOs, some of
> which would be used maybe once a month or less, others used all day every
> day.   I'm not sure instantiating them all at application start is a
> brilliant idea (or is it?) so if it's a bad idea to instantiate them at the
> top of the page that uses them,  where should I instantiate them?

A few dozen objects is chump change, seriously. I've worked with some
systems that have hundreds of singletons in memory and often create
several dozen transient objects on most every request and those
systems run just fine.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

Reply via email to