Hi

Basically tomee/openejb are jee anf not osgi but all osgi tweaks should go
in karafee.

Just to explain the idea it would be a pain if tomee starts to be
complicated/not straight fwd because if osgi.
Le 1 mars 2013 12:26, "Katya Todorova" <[email protected]> a
écrit :

> Hi guys,
>
> We can discuss here the challenges around web bundle deployment
> handled by openEJB (in particular openejb-core). Let me first share my
> idea of what's needed to get this working:
>
> Original code snippet:
> org.apache.openejb.config.DeploymentLoader#discoverModuleType
> ...
> if (webDescriptors.containsKey("web.xml") ||
> webDescriptors.containsKey("web-fragment.xml") // descriptor
>                                         || path.endsWith(".war") || new
> File(path, "WEB-INF").exists() )
> { // webapp specific files
> ....
>
> The module type discovery above could be enhanced with e.g. " ||
> isOSGiWebApp(path) "  where we could simply check whether a
> Web-ContextPath MANIFEST header is present in the deployment archive.
>
> It seems simple and straightforward to me but maybe I've overlooked
> something. Romain mentioned on the other thread that there's a lot to
> be done in order to deploy jar as war. Could you please share some
> more details on the challenges you see?
>
> Thank you,
> Katya
>

Reply via email to