Hi Mat,
war support is on the way :)

I have not yet sorted all the ideas I have about in my mind but I'm pretty
close.
In short I want to support something like:
1. Just install an war if it has required metadata that an osgi framework
will accept it (basically it should contain the minimum osgi mandatory
headers and maybe correct classpath if it contains lib folder - this I have
to sort it out)
2. If is a "normal" jar,  install it using a custom url, something like
war:<url to file that contains the additional metadata> so you can still
keep the war in it's original form but still install it in a easy way.
3. install a bundle that can "scan" a specified system folder and as soon as
there is a new/updated war install(re-install) the war. Then if the bundle
is in case 1) then just install and if is a "normal" war look also for the
kind of file you can specify with 2) that should be named the same as the
war but with a different extension.

I will look also into the *.do mapping.

Alin

On Dec 20, 2007 9:57 PM, Matt Brozowski <[EMAIL PROTECTED]> wrote:

> After the current set of changes to Pax-Web to support listeners and
> filters there really isn't much left that prevents being able to add a
> web.xml parse to the extender that would allow loading of a generic
> war file into Pax-Web.  The only thing that I can see lacking is that
> there doesn't seem to be an easy way to associate a servlet with a
> wild card like *.do
>
> If that support was added it would be relatively simple to convert an
> existing j2ee webapp into a osgi based web application.
>
> Is there any simple way to add support like that?  Is it there and I'm
> just missing it?
>
> Matt
>
> ___________________________________________________________________________
> Matt Brozowski, OpenNMS Maintainer Main: +1 919 812 4984
> The OpenNMS Group, Inc. Fax: +1 503 961 7746
> Email: [EMAIL PROTECTED] URL: http://www.opennms.com
>
>
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to