6

I am a newbie to OSGi, started using felix. I am at present well versed with the concept of bundles, service etc. I have a requirement where I can embed Felix into Tomcat, I tried googling the same but was unable to find a relevant solution for my purpose.

What I exactly need is.. Till now I used to deploy my web app bundles into embedded http jetty service/PAX web.. installed inside Felix, but now I want to put Felix into Apache Tomcat/any other application server, so that whenever my tomcat starts up I need my felix instance up and running, and at the same time should be able to deploy/install/start my bundles through felix.

Any kind of help would be greatly appreciated.

Rais Alam
  • 6,970
  • 12
  • 53
  • 84
user838937
  • 61
  • 1
  • 3
  • First off, Use of "ASAP" is bad form. Secondly, what have you tried? Have you tried googling "felix war file" or "osgi war file" or something like that? There are a bunch of results there. – James Kingsbery Jul 11 '11 at 13:21
  • Hi James, I tried searching with "Embedding Felix in Tomcat", "Felix inside tomcat", but the results were helpless.. – user838937 Jul 11 '11 at 13:26

1 Answers1

8

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

See also the Sling Launchpad and Embedding Sling for more information.

fmeschbe
  • 331
  • 3
  • 5