To complete Scott's explanation, if needed
http://cwiki.apache.org/confluence/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers
Jacques
From: "Scott Gray" <[email protected]>
Hi Ylan
OFBiz is deployable as an EAR and the various app server deployment templates
in the framework/appserver/ directory facilitate this.
The main reasons as far as I am aware for using embedded tomcat is as follows:
- Simple setup and deployment
- Ability to change files on the fly without redeploying
- I'm not sure if it is still the case, but there have been issues in the past where the EAR standard doesn't allow for the use of
a shared classpath between the OFBiz applications and often requires the use of app server specific EAR extensions
- Meets the vast majority of users' needs as is
At the end of the day it is a fairly simple thing to upgrade tomcat (especially minor versions) when needed and our current
deployment model is much easier to use and maintain. But as I mentioned above, if someone really wanted to go that route it is
possible and there are some tools in OFBiz to assist with it.
Regards
Scott
HotWax Media
http://www.hotwaxmedia.com
On 10/02/2010, at 3:42 PM, Ylan Segal wrote:
Hi everyone,
I am new to ofbiz and wondering: Why is ofbiz integrated to tomcat? Is there a reason that ofbiz isn't just a web app that can be
deployed in a standard war?
For demonstration purposes, it works really well, since there is no need for the person downloading to have anything but java
installed, but I am thinking later this makes it less flexible, as any tomcat fix at some point needs to be incorporated back into
ofbiz.
Thanks,
--
Ylan Segal