Loading standard web application
Posted by James Yong-2 on
URL: http://ofbiz.116.s1.nabble.com/Loading-standard-web-application-tp4705628.html
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