Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 66417 invoked from network); 2 May 2010 05:49:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 May 2010 05:49:34 -0000 Received: (qmail 8912 invoked by uid 500); 2 May 2010 05:49:34 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 8762 invoked by uid 500); 2 May 2010 05:49:32 -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 8754 invoked by uid 99); 2 May 2010 05:49:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 May 2010 05:49:31 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=AWL,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [61.9.189.140] (HELO nschwmtas02p.mx.bigpond.com) (61.9.189.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 May 2010 05:49:24 +0000 Received: from nschwotgx02p.mx.bigpond.com ([61.9.223.241]) by nschwmtas02p.mx.bigpond.com with ESMTP id <20100502054902.ROQK28300.nschwmtas02p.mx.bigpond.com@nschwotgx02p.mx.bigpond.com> for ; Sun, 2 May 2010 05:49:02 +0000 Received: from [10.1.1.2] (really [61.9.223.241]) by nschwotgx02p.mx.bigpond.com with ESMTP id <20100502054901.YATS2131.nschwotgx02p.mx.bigpond.com@[10.1.1.2]> for ; Sun, 2 May 2010 05:49:01 +0000 Message-ID: <4BDD11EC.60507@zeus.net.au> Date: Sun, 02 May 2010 15:47:24 +1000 From: Peter Firmstone User-Agent: Thunderbird 2.0.0.14 (X11/20080531) MIME-Version: 1.0 To: river-dev@incubator.apache.org Subject: Re: Jini Spec API changes - Advise needed References: <4BD0DC2A.6030908@zeus.net.au> <4BD261AD.3040602@zeus.net.au> <4BDB528F.9090004@zeus.net.au> In-Reply-To: <4BDB528F.9090004@zeus.net.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150205.4BDD124E.0061,ss=1,fgs=0 Just a small clarification: In the presence of Jini 2.1 nodes (includes River 2.1.2) a River 2.2.0 Reggie cannot be the default group, that must be performed by a Reggie prior to v2.2.0. Otherwise ClassNotFoundException and the like will be thrown by the earlier nodes. The River 2.2.0 nodes don't need to utilise the existing ServiceRegistrar interface at all, any earlier Reggie proxy's will be wrapped by a Facade automatically by River, mapping the methods of StreamServiceRegistrar to ServiceRegistrar, this excludes Java CDC which won't be able to talk to earlier versions of Reggie at all, simply solved by having a second Reggie of v2.2.0 or later, with a cdc group or something similar. Cheers, Peter. Peter Firmstone wrote: > Christopher Dolan wrote >> The most important thing to me is that I any River 2.2.x code I write >> will be able talk to >> my Jini 2.1 code. >> >> >> > I've been thinking about the impact of recent changes surrounding > ServiceRegistrar and DiscoveryManager, it will be possible to have a > binary compatible migration / upgrade path from 2.1 to 2.2. > > Reggie's implementation for 2.2.x (currently experimental and subject > to change) will be different from earlier versions, existing Jini > application code will use the new implementation via a facade if > running directly on the Apache River 2.2.x platform. > > The impact; while Jini 2.1 nodes exist in a djinn, you will have to > use at least one Reggie implementation prior to Apache River 2.2.0, > the new nodes can utilise earlier versions of Reggie. Application > code (Services and clients) Running on 2.2.x, can use new > StreamServiceRegistrar methods, and Apache River 2.2.x will wrap a > facade around any existing Jini 2.1 Reggie's, although results will > not be available in marshalled form, so there won't be a performance > advantage unless you utilise the new Apache River 2.2.x Reggie. The > good news is that you can write new application code for the later > Reggie version, while using the former (from a 2.2.x node) and then > get the performance benefits when you upgrade. > > Jini 2.1 nodes won't be able to join any groups that utilise a 2.2.x > Reggie. > > Existing application code, migrated from Jini 2.1 will work on Apache > River 2.2.x and doesn't need an earlier Reggie version, as the > platform will provide a facade to access the new Reggie via the old > interface. > > Best bet; have a look at what I've done so far & raise any concerns, > or suggest improvements. > > I'll post a javadoc diff in my personal apache web area, time permitting. > > Cheers, > > Peter. > >