Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In rev. 1298461 and 1298908 a series of enhancements to the Groovy service engine and event handling has been introduced to let the system inject a base class for all the Groovy scripts. The classname is configurable in the service engineserviceengine.xml file: the base class currently available provides an implementation of an OFBiz DSL (Domain Specific Language) based on Groovy specialized in the implementation of business logic (services, events and data preparation scripts).

Main goal: make available to all Groovy services and events a DSL specific for OFBiz and focused on simplifying common tasks like calling other services, performing entity operations, logging and returning messages, error handling. The end result is that Groovy servicesand services and events can be implemented following a programming style very similar to the one provided by Minilang but leveraging all the features of a complete programming language.

...