felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alin Dreghiciu" <adreghi...@gmail.com>
Subject Re: SpringSource Bundle Repository
Date Fri, 02 May 2008 18:22:42 GMT
>From Rob's blog: "The Platform introduces two new mechanisms for
referring to third-party dependencies: Import-Bundle and
Import-Libary. Import-Bundle is analogous to Require-Bundle except it
prevents split packages and the other problems with Require-Bundle.
Import-Library provides a mechanism to refer to all the packages
exported by a group of bundles"

What's also new is:
"The PAR format is the recommended approach for packaging and
deploying applications for the Platform. A PAR is simply a collection
of OSGi bundles (modules) grouped together in a standard JAR file,
along with a name and a version that uniquely identify the
application. The PAR file is deployed as a single unit into the
Platform. The Platform will extract all the modules from the PAR and
install them. Third-party dependencies will be installed on-the-fly as

The PAR format has three main benefits over deploying the bundles
directly into the Platform. Firstly, it's just easier. An
average-sized enterprise application might contain 12+ bundles -
deploying these by hand will be far too cumbersome. Secondly, the PAR
file forms an explicit scope around all the bundles in the application
which prevents applications that use overlapping types or services
from clashing with each other. This scope is also used by some
advanced features such as load-time weaving to ensure that weaving of
one application doesn't interfere with weaving of another. Lastly, the
PAR forms a logical grouping to define what modules are part of an
application and what third-party dependencies the application has.
This grouping is used by the management tools to provide a detailed
view of the application."


On Fri, May 2, 2008 at 8:01 PM, Richard S. Hall <heavy@ungoverned.org> wrote:
> I think there could be another issue, which I wasn't aware of initially, in
> that they introduce some new manifest headers for specifying dependencies.
> If they do this for their repository bundles, then it might not be so useful
> for us...I am not sure what it means for us, so it will have to be
> investigated too.
>  -> richard
>  Alin Dreghiciu wrote:
> > As I saw, but I did not go to much n detail, the Spring Bundle
> > Repository is their own bundle repository, meaning that they have a
> > directory where they and the user can store bundles depending on their
> > type (normal bundles and PARs). I assume that they parse the metadata
> > and use it to resolve the needed bundles.
> > At first I was happy that they are going to use OBR, fact that will
> > gong to give a boost to OBR but unfortunately they are not. But maybe
> > yo can convince them to have a plug-able design and be able to switch
> > or combine with the simple mode they have. My guess that they go for
> > this approach as is quite simple for the end user to just put a bundle
> > in a directory and do not edit any xml/metadata.
> >
> > Alin
> >
> > On Thu, May 1, 2008 at 7:31 PM, Richard S. Hall <heavy@ungoverned.org>
> wrote:
> >
> >
> > > For those who haven't seen this related announcement to the Spring
> > > Application Platform, they also announced a bundle repository:
> > >
> > >   http://www.springsource.com/repository/app/faq
> > >
> > >  Not sure what this means for us with respect to Felix Commons, but it
> is
> > > something that we should probably investigate in some way.
> > >
> > >  -> richard
> > >
> > >
> > >
> >

View raw message