Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 50653 invoked from network); 23 Jul 2009 12:11:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jul 2009 12:11:35 -0000 Received: (qmail 31077 invoked by uid 500); 23 Jul 2009 12:12:40 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 31049 invoked by uid 500); 23 Jul 2009 12:12:40 -0000 Mailing-List: contact river-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: river-dev@incubator.apache.org Delivered-To: mailing list river-dev@incubator.apache.org Received: (qmail 31039 invoked by uid 99); 23 Jul 2009 12:12:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 12:12:40 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [61.9.189.143] (HELO nschwmtas03p.mx.bigpond.com) (61.9.189.143) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 12:12:28 +0000 Received: from nschwotgx02p.mx.bigpond.com ([58.171.193.255]) by nschwmtas03p.mx.bigpond.com with ESMTP id <20090723121204.TYUR1829.nschwmtas03p.mx.bigpond.com@nschwotgx02p.mx.bigpond.com> for ; Thu, 23 Jul 2009 12:12:04 +0000 Received: from [10.239.137.228] (really [58.171.193.255]) by nschwotgx02p.mx.bigpond.com with ESMTP id <20090723121203.GAKQ13014.nschwotgx02p.mx.bigpond.com@[10.239.137.228]> for ; Thu, 23 Jul 2009 12:12:03 +0000 Message-ID: <4A685390.6090002@zeus.net.au> Date: Thu, 23 Jul 2009 22:12:00 +1000 From: Peter Firmstone Organization: Zeus Project Services User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: river-dev@incubator.apache.org Subject: Re: OSGi RFC 119 Distributed OSGi - (Was [RE: OSGi and Jini]) References: <4A674C7F.5060309@wonderly.org> <4A67E2D5.5030109@zeus.net.au> <200907230941.22897.michal.kleczek@xpro.biz> In-Reply-To: <200907230941.22897.michal.kleczek@xpro.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150202.4A685394.0066,ss=1,fgs=0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Michael, That would be very much appreciated. Best Regards, Peter. Michal Kleczek wrote: > On Thursday, 23 of July 2009 06:11:01 Peter Firmstone wrote: > >> HTTP codebase's are part of the problem, the URLClassLoader is fixed in the >> object's Type (class identity), which may change over time. Michael Warres >> addressed this problem by creating a dynamic codebase service where the URL >> was a cryptographic hash of the jar file (stored data) identity. >> >> Michael made a presentation on Service based codebases, apparently not >> much code was required to implement it. We cannot directly copy the >> code (interfaces etc) from the presentation due to copyright, although >> we can produce functionally equivalent code. >> >> http://www.jini.org/files/meetings/eighth/presentations/Warres/Warres.pdf >> >> > > We have implemented a similar solution in XPro. > The main difference is that in our implementation there is no "put" operation > in a ContentAddressedStore interface. In other words: > 1. Each service publishes a separate ContentAddressStore and becomes its own > codebase server. > 2. You can run specialized services that cache resources from other > ContentAddressStores to achieve HA > 3. Optionally you can configure the services to act in a P2P fashion - the > resources downloaded by a service are also published. > > The main motivation behind this was to be able to run services with minimal > dependencies on other services being available on the network. > > After resolving some licencing problems (which should not be very complicated > I think) we could contribute this code to River. > > Thanks, > Michal > >