Felix embedding in Tomcat

I am new to OSGi, started using felix. I am currently well versed in the concept of packages, services, etc. I have a requirement that I can integrate Felix into Tomcat, I tried to do the same, but could not find a suitable solution for my purpose.

What I need ... So far, I have used to deploy my web application packages to the embedded http jetty / PAX web .. website installed inside Felix, but now I want to put Felix on Apache Tomcat / on any other application server , so whenever my tomcat starts, I need my felix, and at the same time should be able to deploy / install / run my packages through felix.

Any help is appreciated.

+6
source share
1 answer

You might want to consider the Apache Sling Launchpad subproject. This creates a WAR file that can be deployed to any servlet container and launches the Apache Felix framework as an OSGi framework.

See also Sling Launchpad and Sling Embedding for more information.

+8
source

Source: https://habr.com/ru/post/892490/


All Articles