Hi,

if you want to convert it into a OSGi compliant WAB (Web-Application-Bundle)
you need to add a Web-ContextPath to the Manifest.
But you might drop it into the deploy folder as a standard war. Pax Web does take
care of it then.
You shouldn't need a specialized Activator.

regards, Achim

Am 02.06.2011 21:16, schrieb Scott Parkerson:
I guess this is as much as a Karaf question as it is a Servicemix
question, but...

What is considered the best practice for deploying a web application
inside of Servicemix 4 (Karaf)? I already have a bundle that's doing
various other things, and I'd like to hook it up to the Jetty instance
that's running inside of Servicemix 4.

Specifically:

1. What magic do I need to put in my bundle MANIFEST (if any)?
2. I'm assuming that WEB-INF/web.xml is needed (or is it, especially
if I'm using Spring MVC's annotation support)?
3. Anything else? Should I create a BundleActivator to get this whole
thing rolling?

Thanks!
--sgp

Reply via email to