Hi Dileepa, If the existing java application does use OSGI it is going to be easy - just add the bundles required by Stanbol. If not you need to use an embedded OSGI environment [1]. If your application does not use OSGI it very complex and might not work at all.
Some time we tried to embed Apache Stanbol within the LMF (Linked Media Framework). The code for this integration is still available at [2]. So if you want give it a try this might help you. But I highly recommend to not investing a lot of time into at, that our experiences where not so great. Instead I would suggest to extend Stanbol with the specific services you need and than calling those services. best Rupert [1] http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html#ApacheFelixFrameworkLaunchingandEmbedding-embedding [2] https://bitbucket.org/srfgkmt/stanbol-lmf On Wed, Nov 5, 2014 at 9:04 AM, Dileepa Jayakody <[email protected]> wrote: > Hi All, > > I have a requirement to embed Stanbol enhancer and entityhub in a Java > application and call an enhancement chain via a Java API without doing > remote calls. Any inputs on how to achieve this? > > > Thanks, > Dileepa -- | Rupert Westenthaler [email protected] | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen | REDLINK.CO .......................................................................... | http://redlink.co/
