I’m an OSGi user, and have been using a custom-wrapped Jena OSGi bundle for 
more than a year. 

I’d be happy to try it out. How would I do so?

Mark



> On Oct 31, 2014, at 6:56 AM, Andy Seaborne <a...@apache.org> wrote:
> 
> On 28/10/14 16:50, stain wrote:
>> GitHub user stain opened a pull request:
>> 
>>     https://github.com/apache/jena/pull/10
>> 
>>     Jena OSGi bundle
>> 
>>     Embedding core Jena modules in a single OSGi bundle.
>> 
>>     This works around classloader issues such as Jena's use of 
>> `Class.forName()`, but does not yet support other OSGi bundles to easily 
>> plug in 3rd party Jena implementations of say readers and writers.
>> 
>>     Modules included:
>>     * jena-core
>>     * jena-arq
>>     * jena-tdb
>>     * jena-sdb
>>     * jena-iri
> 
> Having one bundle for Jena makes a lot of sense as we build and release whole 
> systems, so partial replacement of bits and pieces isn't supported/encouraged 
> anyway.  Releases may change cross module assumptions.  Personally, I'd drop 
> SDB from the included modules; it's being made a maven-only module next time, 
> and not in the distribution binaries.
> 
> What I'd really, really like is for this to be tested by other OSGi users.  
> As far as I know, none of the committers use OSGi day-to-day (we/Epimorphics 
> used to but when we looked at the costs/benefits we switch to a simpler, 
> service architecture style).
> 
> Stain - what would you say to advertising this on users@ (and dev@clerezza?) 
> and seeing if we can get some user testing and validation?
> 
>       Andy
> 
>> 
>>     This OSGi bundle includes a dependency on the `httpclient-osgi` and 
>> `httpcore-osgi` version. All other packages used are embeded within the OSGi 
>> bundle, making them appear on a single classloader in OSGi.
>> 
>> 
>> 
>> You can merge this pull request into a Git repository by running:
>> 
>>     $ git pull https://github.com/stain/jena jena-osgi-bundle
>> 
>> Alternatively you can review and apply these changes as the patch at:
>> 
>>     https://github.com/apache/jena/pull/10.patch
>> 
>> To close this pull request, make a commit to your master/trunk branch
>> with (at least) the following in the commit message:
>> 
>>     This closes #10
>> 
>> ----
>> commit 1957808b34a408bf0278cfb4017d6e7040eebabb
>> Author: Stian Soiland-Reyes <soiland-re...@cs.manchester.ac.uk>
>> Date:   2014-10-28T16:03:15Z
>> 
>>     pom tweaks so it builds
>> 
>>     .. also a spelling mistake tixed
>> 
>> commit 5724c31d542d7c8ddf89c4333fbe4809d7783f49
>> Author: Stian Soiland-Reyes <soiland-re...@cs.manchester.ac.uk>
>> Date:   2014-10-28T16:34:59Z
>> 
>>     Embedding all Jena modules in a single OSGi bundle.
>> 
>> commit 3bb12d0a1472977cfcd51abf392683659bac1e4d
>> Author: Stian Soiland-Reyes <soiland-re...@cs.manchester.ac.uk>
>> Date:   2014-10-28T16:38:00Z
>> 
>>     httpcore-osgi 4.2.5
>> 
>> commit aa705c9e3e4f3b4c58924e95aa223213358b08e3
>> Author: Stian Soiland-Reyes <soiland-re...@cs.manchester.ac.uk>
>> Date:   2014-10-28T16:42:48Z
>> 
>>     ver.* properties as in jena-parent
>> 
>>     TODO: Move these properties to jena-parent?
>> 
>> ----
>> 
>> 
>> ---
>> If your project is set up for it, you can reply to this email and have your
>> reply appear on GitHub as well. If your project does not have this feature
>> enabled and wishes so, or if the feature is enabled but not working, please
>> contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
>> with INFRA.
>> ---
>> 
> 

Reply via email to