Web / Apache OFBiz Interview questions
Why doesn't OFBiz ship with a traditional MVC framework like Spring MVC?
OFBiz predates the popularity of Spring MVC and built its own request/response and templating layer - Control Servlet, controller.xml, and Screen/Form Widgets - specifically to be driven by the same declarative model as its Entity and Service Engines, so a screen's data-gathering step is naturally a service call, and a form's fields can be auto-derived straight from an entity or service definition.
Adopting a generic MVC framework would still leave the problem OFBiz's widget system actually solves: rendering the same underlying page definition through multiple output formats (HTML, PDF, XML export) and multiple themes, driven from one XML source, without per-format or per-theme Java controller code.
The trade-off is that OFBiz's request/view layer is proprietary, so developers coming from Spring or another mainstream framework face a learning curve, and the ecosystem of tooling and third-party libraries built for those frameworks doesn't transfer directly.
More Related questions...