You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Luigi Selmi <lu...@gmail.com> on 2013/02/12 12:13:50 UTC

stanbol components

Hello all,

I am trying to figure out what the many bundles that come with Stanbol are
used for. I started to split the basic bundles that are common in many
Felix installations from those that make proper Stanbol's components like
entityhub, contenthub and enhancers. Looking at the deployed bundles in the
first category I saw components for the web container (Felix Http), Console
management, Restful web services (Jersey), Web framework (Apache Sling),
Content repository (Apache Jackrabbit). Looking at the code I can see that
Jersey is used to set up  the REST API used by different Stanbol components
but I didn't find any package in which Sling or Jackrabbit are used and
looking at their descriptions it seems that Sling can be used to create
Restful web services as Jersey. So my question is: how are Sling and
Jackrabbit used in Stanbol ? There is a plan to use Sling instead of Jersey
in the near future ? Thanks for any explanation.

Regards

Luigi

Re: stanbol components

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi Luigi

Apache Stanbol uses only OSGI related utilities from Apache Sling
(mainly the Sling Launchpad [1] and the Sling Installer [2]). We do
not use Jackrabbit nor the Sling RESTful services.

Sling can not be used to implement JAX-RS services. Sling provides a
RESTful wrapper over JCR (Java Content Repository) implementations
(such as Apache Jackrabbit). Apache Stanbol currently depends on
Jersey as JAX-RS framework as we use some Jersey specific extensions.
However the goal is to remove all dependencies to Jersey specific
extensions so that Stanbol can be used with any JAX-RS implementation.
The current plan is to switch to Apache Wink as default JAX-RS
implementation.

best
Rupert

[1] http://sling.apache.org/site/the-sling-launchpad.html
[2] http://sling.apache.org/site/osgi-installer.html

On Tue, Feb 12, 2013 at 12:13 PM, Luigi Selmi <lu...@gmail.com> wrote:
> Hello all,
>
> I am trying to figure out what the many bundles that come with Stanbol are
> used for. I started to split the basic bundles that are common in many
> Felix installations from those that make proper Stanbol's components like
> entityhub, contenthub and enhancers. Looking at the deployed bundles in the
> first category I saw components for the web container (Felix Http), Console
> management, Restful web services (Jersey), Web framework (Apache Sling),
> Content repository (Apache Jackrabbit). Looking at the code I can see that
> Jersey is used to set up  the REST API used by different Stanbol components
> but I didn't find any package in which Sling or Jackrabbit are used and
> looking at their descriptions it seems that Sling can be used to create
> Restful web services as Jersey. So my question is: how are Sling and
> Jackrabbit used in Stanbol ? There is a plan to use Sling instead of Jersey
> in the near future ? Thanks for any explanation.
>
> Regards
>
> Luigi



--
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen