Hansen Wang wrote:
I am looking for information regarding the inter-dependency among all ofbiz
components. I fount that the ofbiz-component.xsd define a depends-on element
but it never be used in any of the ofbiz-component.xml.
Is there any effective way to know this kind of information. So that I can
safely remove those components I do not want without affecting the
functionalities of the other compoents that I want to keep.
Hi Hansen,
I am new to Ofbiz, so take my advice with some caution, but my thoughts
would be as follows:
* study the entity reference (webtools->Entity Reference)
* look at the servicedefs, as many of the services call other services
* look at the service-eca entries, as these hook various points of
service invocation
* the best way to disable access to components you don't need/want would
be to disable any exported services that you won't be using (in the
servicedef set "export=false") and then customise the webapps/widgets to
remove functionality you don't want (edit controller.xml,
ofbiz-component.xml, .ftl files, widget xml files). Ideally you want to
keep your customisations in copies of the apps in the hot-deploy
directory, that way you can update the upstream code without overwriting
your changes.
Hopefully more experienced ofbiz users will correct anything I've got
wrong above.
-ryan