In fact I don't even think we need to specify any classes to do the right
class loading.

The reason is that the VM will call the initiating cl with the dependent
classes.

All we need to do is keep a map of these and the URL they come from :P

marc


|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury
|Sent: Saturday, December 23, 2000 10:44 AM
|To: jBoss Developer
|Subject: RE: [jBoss-Dev] The Dumbo problem (Big EARs)
|
|
|
||so we would be looking
||at
||      Orb
||     /   \b
||  Orb
|| /   \
||a     Orb
||     /   \
||    c    d
||
||The rules of reloading applying just like in the abc case
||
||HEY this could be totally wrong (at least the aggregation part) it's
||research...
||
|
|hehe it is wrong the real structure is
|
|
|  orb    orb
| /   \ /   \
|a     b     c
|
|and the only thing we need to put in XML are the set of dependent classes
|
|marc
|
||</looking>
||
|||
|||Note that not the entire container must be cycled, it is enough that the
|||caches are cleared and the pools emptied. This is a fairly lightweight
||
||yes, trivially
||
|||operation and the only drawback is that usage of the container will be
|||somewhat slow immediately after the clearing (as the caches and
||pools build
|||up again). But the clearing itself is pretty fast (HashMap.clear()'s
|||basically).
|||
|||Comments?
|||
||
||nope, glad you are off the high horsey and doing investigation, you *are*
||alive :) trust me I have been here many times before in my
||research years...
||you think you are the first human being looking at something and
|then turns
||out the Russians did it 10 years ago (in our case, the smalltalk folks
||already manage complex module deployment so do the VB guys :) and we smile
||stupidly...   keep going almost there...
||
||marc
||
||PS1: it is truly an intellectual "amusement" at this point, I
||don't think we
||will really need this in *OUR* codebase.  In fact writing the
|deployer that
||talks to these orbs is not something that I would want to spend 2
||days on :)
||I am happy with the classloader mechanism
||
||PS2: now here is what is really going to blow your mind
||from my "extensive databases" I believe the first trace of this
|dates 1999,
||so someone, somewhere, probably a vendor has already looked at this ;-)
||wanna change paternity of this ?
||
||
|||/Rickard
|||
|||
|||
|||
|||
||
||
||
|
|
|


Reply via email to