The implementation of this method will largely depend upon the requirements to be met. However, a few basic guidelines are as follows.
-
If a transaction is required, it should be implemented within the Server API.
-
Most of the work should be implemented within the MethodDef that is attached to the InterfaceDef.
Following these two guidelines will help ensure that the MethodDefs can be reused when needed.