ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taher Alkhateeb <slidingfilame...@gmail.com>
Subject Re: Loading standard web application
Date Fri, 05 May 2017 10:07:27 GMT
This topic is very much linked to the previous thread that you started
earleri "Tomcat SSO" so they might as well be one topic. I think I answered
most stuff in that thread.

However, I would add that in my opinion, maybe it would be simpler if we
avoid implementing it in this fashion (ofbiz webapp + standard webapp) but
instead treat all of OFBiz as a single webapp by refactoring the catalina
container. Having two ways of doing the same thing is perhaps an added
complexity and more cognitive load on people for no added value that I can
think of. Unifying, on the other hand, would be a huge added value IMO.

My 2 cents .. and thank you for bringing up this discussion

On Fri, May 5, 2017 at 11:35 AM, James Yong <jamesyong@apache.org> wrote:

> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message