Return-Path: Delivered-To: apmail-incubator-felix-dev-archive@www.apache.org Received: (qmail 84768 invoked from network); 5 Jan 2006 13:36:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jan 2006 13:36:26 -0000 Received: (qmail 39825 invoked by uid 500); 5 Jan 2006 13:36:25 -0000 Delivered-To: apmail-incubator-felix-dev-archive@incubator.apache.org Received: (qmail 39706 invoked by uid 500); 5 Jan 2006 13:36:24 -0000 Mailing-List: contact felix-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: felix-dev@incubator.apache.org Delivered-To: mailing list felix-dev@incubator.apache.org Received: (qmail 39616 invoked by uid 99); 5 Jan 2006 13:36:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2006 05:36:24 -0800 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of hargrave@us.ibm.com designates 32.97.110.150 as permitted sender) Received: from [32.97.110.150] (HELO e32.co.us.ibm.com) (32.97.110.150) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2006 05:36:23 -0800 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e32.co.us.ibm.com (8.12.11/8.12.11) with ESMTP id k05Da03d005674 for ; Thu, 5 Jan 2006 08:36:00 -0500 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id k05Dbx0N174700 for ; Thu, 5 Jan 2006 06:37:59 -0700 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id k05Da03b022436 for ; Thu, 5 Jan 2006 06:36:00 -0700 Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com [9.17.195.145]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id k05DZx4H022216 for ; Thu, 5 Jan 2006 06:36:00 -0700 In-Reply-To: <43BCF77D.5040904@gmail.com> To: felix-dev@incubator.apache.org Subject: Re: OSGi, versioning and native code MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0 August 18, 2005 From: BJ Hargrave Message-ID: Date: Thu, 5 Jan 2006 08:38:21 -0500 X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July 22, 2005) at 01/05/2006 06:38:28, Serialize complete at 01/05/2006 06:38:28 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Tim Ellison wrote on 2006-01-05 05:39:57 AM: > But in this example the "db2e" is not under version control, so multiple > concurrently active versions of the "db2ejdbc" bundle are required to > agree on a common db2e library. > > Even if you put the db2e code into it's own bundle, you couldn't > differentiate between the two versions when making a C call from db2jdbc > to db2e (because you can't get a handle to the library version you want) > unless you rely upon the loadLibrary() call to open the library for you. > > I think the moral to this story is that the bundle versioning bottoms > out at the loadLibrary() call, beyond that you should probably revert to > deploying the platform libraries outside the framework, and using the > platform's version control where it exists. Probably wise. :-) > > Regards, > Tim > > > -- > > Tim Ellison (t.p.ellison@gmail.com) > IBM Java technology centre, UK.