OFBiz "Services" are reusable code snippets implemented as Java methods. What makes using OFBiz Services so compelling? Unlike OFBiz Events or servlets, the Service context is controlled by OFBiz, thus relieving the programmer from having to do such mundane tasks as managing transactions, handling retries, and validating input and output values. Once written, a Service may be invoked as many times and by as many Service consumers as required.
To start writing Services, we must first perform the following: