Yes, OSGi manages module dependencies, so you can have an OSGi module that exports a Jini service or an OSGi module that discovers Jini services and makes them available to other local modules.
There are some catches of course, with regards to deserialisation of objects into OSGi modules and finding the correct ClassLoader. The next release of River should make that possible, but it will require some work from the downstream developer in determining a suitable codebase annotation for deserialization. Regards, Peter. >From >user-return-577-apmail-river-user-archive=river.apache....@river.apache.org >Sat Sep 27 07:12:42 2014 Return-Path: <user-return-577-apmail-river-user-archive=river.apache....@river.apache.org> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0404717672 for <[email protected]>; Sat, 27 Sep 2014 07:12:42 +0000 (UTC) Received: (qmail 47139 invoked by uid 500); 27 Sep 2014 07:12:41 -0000 Delivered-To: [email protected] Received: (qmail 47072 invoked by uid 500); 27 Sep 2014 07:12:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.river.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47060 invoked by uid 99); 27 Sep 2014 07:12:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Sep 2014 07:12:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 98.139.212.174 as permitted sender) Received: from [98.139.212.174] (HELO nm15.bullet.mail.bf1.yahoo.com) (98.139.212.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Sep 2014 07:12:12 +0000 Received: from [98.139.212.150] by nm15.bullet.mail.bf1.yahoo.com with NNFMP; 27 Sep 2014 07:12:11 -0000 Received: from [98.139.212.224] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 27 Sep 2014 07:12:11 -0000 Received: from [127.0.0.1] by omp1033.mail.bf1.yahoo.com with NNFMP; 27 Sep 2014 07:12:11 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: [email protected] Received: (qmail 95485 invoked by uid 60001); 27 Sep 2014 07:12:11 -0000 X-YMail-OSG: .QCE0NgVM1m0ZAn5BPETxjK.MUomeHDReLb3dVlDgO8coml KBQNsNzK_oZDI695w43A.oLdKHTqo1EbnZdEUEim_lo1Uet1x_TTVAGM70cn JmLkS2UKiJ4NLcfRxvElbcyK_6QVr.AKSY3t7F8GQP3jMqb37o.Srmaao6PW e9VJWjRTBdLR8DM1tQqIZiuhIfuDxK0BZnMO_M78t8Y.SfmPFJ9EfVSuJ0Uu MfcHKiPFnX8_muTQSRlVKoXSzqqtNNI68r4mHDSsLF_UMYanKM5AynEVSLqm JO5WaUKUli0OPbgkcHp.kYoQ.8tJxkqYtxVv.BuUNNR8ZQ_3XrLmTafRzrR3 g_Lu5OEBQe7.fjN5tXVx3OSs7PW9SlcppmQe.cN5xB.SsA.MQzS1mb3ghHA1 DLwkSohzSM0iGwpmFXwzESW.Qn.p6_iyZLw0xTZLdNGUmtAbmh9dvXzen.Zf lIlSX8LzA1EkE4chxc.OGuB7Xh9E8vOGVNVGzEZUVwoLLz98OnaAUjKjVeyL rOEy9y7aJqGK.Mhw1cIlx7KvYQdWGXSvi5VE4yF2WPZaQq3WXeN5frKM- Received: from [94.196.192.84] by web162505.mail.bf1.yahoo.com via HTTP; Sat, 27 Sep 2014 00:12:11 PDT X-Rocket-MIMEInfo: 002.001,IApHcmVldGluZ3MuCgpPU0dpLApiZWluZyBzZXJ2aWNlIGRyaXZlbiwgYW5kIHRodXMgYSBub250b28tZGlzdGFudCBjb3VzaW4gdG8KSmluaS9SaXZlciwgbmVlZHMgYW4gZXh0ZW5kZXIgdG8gdGFsayB0byBzYW1lLCBtZXRoaW5rcy4gSGFzIGFueW9uZQppbiB0aGUgY29tbXVuaXR5IGhhZCBmdW4gaW4gdGhpcyBkZXBhcnRtZW50PwoKQmlsbAoBMAEBAQE- X-Mailer: YahooMailWebService/0.8.203.696 Message-ID: <[email protected]> Date: Sat, 27 Sep 2014 00:12:11 -0700 From: bill pickup <[email protected]> Reply-To: bill pickup <[email protected]> Subject: OSGi, of that ilk... To: "[email protected]" <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1024699347-2025020616-1411801931=:55741" X-Virus-Checked: Checked by ClamAV on apache.org --1024699347-2025020616-1411801931=:55741 Content-Type: text/plain; charset=us-ascii Greetings. OSGi, being service driven, and thus a nontoo-distant cousin to Jini/River, needs an extender to talk to same, methinks. Has anyone in the community had fun in this department? Bill --1024699347-2025020616-1411801931=:55741--
