Le 2 avril 2012 14:13, seralf <[email protected]> a écrit : > what about creating a sort of reusable simple "wrapper", in order to have > the possibility of use the components as a library inside other apps? > (without the need of starting the webapp). (just an idea)
Some jars of stanbol can be used as regular java library, though most components need configuration that comes from the OSGi runtime. You can use felix to create such a runtime: https://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html > Or is this yet possible creating such a custom launcher? Yes offcourse: the launchers are already quite modular, juste take a look at the "stable" and "full" launchers for instance: https://svn.apache.org/repos/asf/incubator/stanbol/trunk/launchers/stable/ https://svn.apache.org/repos/asf/incubator/stanbol/trunk/launchers/full/ You can copy the stable launcher as a start, and if you need additional components look at how they are configured in the full launcher to add them to your custom launcher. -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel
