I haven't really looked at how Turbine uses classloaders just yet - maybe
that's my next project ;) - but the DBBroker's current singleton
implementation relies on everything in the system referring to the same
DBBroker class def so it'd have to be re-worked to go through a classloader.
You're right, though, that seems like the right thing to do.  Nice to have
the ability to dynamically recycle all the class defs without having to tear
down the VM as well.

PaulO.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jon Stevens
Sent: Friday, September 01, 2000 12:18 PM
To: Turbine
Subject: Re: Connections persisting across servlet engine restarts...?

[snip]

That is a very good point. My advice is to ALWAYS load Turbine in the
context classloader, not the system class laoder.

-jon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to