Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Component and Component Set Dependencies

Component Sets

There are a small number of component sets current in OFBiz (from lowest-level to highest-level):

1. framework
2. applications
3. specialpurpose
4. hot-deploy

Dependencies between components in these sets must ONLY go up the list. For example components in specialpurpose can depend on components in applications, but components in applications can not depend on components in specialpurpose.

Components Within Sets

framework

base applications

The base applications components can, and should, depend on eachother. The reason these dependencies are needed is because the components are organized according to high level business concepts and in the real world business processes tend to jump between many of them. In technical terms this results in foreign keys from an entity in one component to an entity in another, and to service calls from services in one component to services in another, and other similar effects.

While components can depend on one another in the base applications set they should follow the established priority of dependencies. In the diagram below you see existing dependencies and the component dependency priority going from the top of the page down (in other words components higher on the page depend on components lower on the page). Whenever something could go in two or more components, or depends on things in two or more components, it should go in the highest level component so that the lower level components don't depend on something in the higher level ones.

!OFBizComponentDependencies.jpg:width=700px!

specialpurpose

Components within the specialpurpose set should not depend on eachother. If there is a need for components in this set to depend on something in another set, that something should be put into the most appropriate component in the applications set and both specialpurpose components can depend on the applications component.

hot-deploy

Components in this set are created as add-ons to OFBiz, so it is up to you how to manage it. The guidelines for the specialpurpose component set are recommended.

  • No labels