Re: Loading standard web application

Posted by Jacques Le Roux on
URL: http://ofbiz.116.s1.nabble.com/Loading-standard-web-application-tp4705628p4705631.html

Hi James,

Here again a POC is welcome.

Jacques


Le 05/05/2017 à 10:35, James Yong a écrit :

> Hi all,
>
> I am looking into allowing OFBiz to load standard web application where there is no controller.xml and the jar files residing in web-inf/lib folder.
>
> Proposing to add an attribute named 'type' to the 'webapp' tag at ofbiz-component.xml, i.e.
>
> <webapp name="myapp"
>          type="standard"  <--------------- new proposed attribute
>          title="Myapp"
>          server="myapp-server"
>          location="webapp/myapp"
>          mount-point="/myapp"/>
>
> This new attribute will help to differentiate standard web applications from those in OFBiz, and allows Catalina Container to load them accordingly.
> When type="standard", will load as standard web application.
> When type is empty, load according to OFBiz way.
>
> Any feedback is welcome.
>
> Regards,
> James Yong
>
>