Return-Path: Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 53959 invoked from network); 9 Sep 2003 16:58:32 -0000 Received: from unknown (HELO rwcrmhc13.comcast.net) (204.127.198.39) by daedalus.apache.org with SMTP; 9 Sep 2003 16:58:32 -0000 Received: from almightybeast (unknown[65.114.188.240]) by comcast.net (rwcrmhc13) with SMTP id <2003090916580801500hrt79e> (Authid: hlship); Tue, 9 Sep 2003 16:58:08 +0000 From: "Howard M. Lewis Ship" To: "'Johan Lindquist'" , "Jakarta Commons Developers List" Subject: RE: [HiveMind] RE: Broken test ... Date: Tue, 9 Sep 2003 12:57:50 -0400 Message-ID: <000e01c376f3$81564130$d0020a0a@ALMIGHTYBEAST> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > On 1.3.1 - re-ran it on 1.4.2 and it worked ... >=20 > Guess the exception on 1.3.1 is different ... Ah well, sorry=20 > to bug you=20 > about it ... :) I'll try this on 1.3 at some point and see if I can make the test work = in both cases. >=20 > A quick question though : As most app. server have class-loading=20 > restricted on a per jar, ear basis, is there a need when=20 > using hivemind to=20 > separate the modules using different class loaders or is it=20 > fine for them=20 > to share one, common one? >=20 > Johan Using the WAR's class loader will give you maximum coverage; the WAR = will see the EJBs and the system classpath. The HiveMind library may be on the system classpath = or, with difficulty, packaged with the EAR. When constructing the registry (see the "Bootstrapping" documentation) = it is possible to load modules from different class loaders. You would need to create new = ClassResolver instances and invoke the processModule() method. HiveMind remembers the class loader used for each module, which is = necessary when instantiating classes from that module. >-- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com