Web / Apache OFBiz Interview questions
What is the Service Engine in OFBiz?
The Service Engine is OFBiz's layer for defining and invoking business logic as discrete, reusable units called services. A service has a name, a defined set of input/output parameters, and an implementation written in Java, Mini-language (simple-method), or Groovy.
Instead of calling a Java method directly, application code asks a dispatcher to run a service by name. This indirection lets the engine apply cross-cutting behavior uniformly: permission checks, input validation against the service definition, transaction boundaries, synchronous or asynchronous execution, and triggering of SECA rules before or after the service runs.
Because services are invoked by name and parameter map, they can be called the same way from Java, from the UI, from a scheduled job, or remotely over SOAP/REST.
More Related questions...