Web / Apache OFBiz Interview questions
How can you extend an existing core entity without modifying core framework files?
OFBiz's entity model is additive by design: a plugin component can declare its own entitymodel.xml that adds new fields or relations onto an existing entity name, and the framework merges every component's contributions into one logical model at startup rather than requiring a single file to own the whole definition.
The same pattern extends to services and screens: a plugin can add its own SECA rule reacting to a core service, or override a screen or form definition entirely by pointing the controller at a replacement location, all without editing a single file inside the framework or applications directories.
This "extend, don't modify" approach is what keeps upgrades manageable - core updates can be applied cleanly because customizations live entirely in separate plugin components, not as hand-edited diffs against core files.
More Related questions...