Re: where to store connection pool singleton
Re: where to store connection pool singleton
- Subject: Re: where to store connection pool singleton
- From: David Teran <email@hidden>
- Date: Mon, 5 Jul 2004 18:36:33 +0200
Hi,
Am 05.07.2004 um 18:27 schrieb Michael Engelhart:
I have a project where I have a singleton class that hands out
connection objects that have a significant startup time (think JDBC
connection pool - but this is a legacy system not a database).
Where is the best place to store this so I can startup/shutdown this
pool by overriding an event somewhere.
I know I can put the startup code in my Application class but is there
some sort of shutdown() or destroy() method that gets called before an
application shuts down that I can override? I didn't see anything in
the WOApplication API and after a lot of googling haven't found any
answers on the mailing lists for this type of scenario.
take a look at ERXGracefulShutdown from Project WONDER.
regards David
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.