Daniel Fagerstrom (JIRA) wrote:
[ http://issues.apache.org/jira/browse/FELIX-58?page=comments#action_12375305 ]
Daniel Fagerstrom commented on FELIX-58:
----------------------------------------

Ok, then bundle based webapps could become a separate issue.

Definitely. And a welcome one. Do you think this should be an issue under the HTTP Service specifically or somehow separated? We can create a separate issue for it if you want. Just let me know what you want it to say.

Concerning WAR support, I assume the main possiblities would be:

* The WAR bundle is completely passive and there is another "servlet container 
bundle" that looks for bundles containing /WEB-INF/web.xml and embed the webapp in a 
webapp container and register the webapp container in the Http serrvice.

* The WAR bundle contains a generic webapp activator that create an embeding 
webapp container and makes it available as servlet (service). This webapp 
container servlet can then either be registred directly in the Http service by 
the activator or one can use the whiteboard pattern and register the webapp 
container servlet as a service and let a separate bundle take care about 
registring servlet services in the Http service.

There might of course be other approaches, but independent of approach a webapp 
container is needed, so the main question is if Jetty (or some other 
container), has flexible enough APIs to be reusable in this area. If they have, 
the task should be reasonable simple, if not a webapp container needs to be 
implemented which would be a lot of work.

What you say sounds reasonable to me, but Marcel will have to comment on this in more detail, since he is the expert.

-> richard

Reply via email to