openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] [Commented] (OPENJPA-2465) Create karaf feature for openjpa
Date Wed, 11 Dec 2013 16:57:08 GMT


Christian Schneider commented on OPENJPA-2465:

Karaf is not really different from other OSGi servers. The main difference is that there are
a lot of pre configured feature files for karaf. For example you can already install cxf,
camel, activemq and many other projects with just two commands on the karaf shell.

A feature file is simply and xml file that defines one or more features. A feature lists a
number of bundles and optionally config using their maven coordinates. So the user does not
have to manually download the bundles and provision them instead he just installs the feature
file and then the features needed.

Users can also define features for their own application that can refer to other feature files
and features. So whole applications can be installed this way. This makes using OSGi a lot
easier than with plain equinox or felix.

You can find some exmples for this on my website:

I am currently preparing a new tutorial with pax cdi and deltaspike jpa. To make things easier
for users I added the feature files.
My old readme for the jpa example contained the references to the single bundles: (See

With the new feature and a shortcut to the feature file openjpa can then be installed in karaf
features:chooseurl openjpa 2.2.3
features:install openjpa

> Create karaf feature for openjpa
> --------------------------------
>                 Key: OPENJPA-2465
>                 URL:
>             Project: OpenJPA
>          Issue Type: New Feature
>          Components: osgi
>    Affects Versions: 2.2.2
>            Reporter: Christian Schneider
>             Fix For: 2.2.3, 2.4.0
>         Attachments: OPENJPA-2465.patch
> Installing openjpa in karaf would be a lot easier if we provided an openjpa feature.
I already created such a feature in pax cdi as it was necessary to test deltaspike jpa. As
pax cdi is not a good place for the openjpa feature I would like to move this to openjpa.
> I can provide a patch for trunk.

This message was sent by Atlassian JIRA

View raw message