How operations work

The following process describes how operations work:

  1. A requester requests to start an operation. The requester is a Java(TM) client.
  2. The client instantiates the operation, initializes the operation's context, and, if specified to do so in the operation definition, chains the operation context to its parent in the context hierarchy.
  3. The requester invokes the execute method of the operation.
  4. The operation formats the request data and passes it to the request handler. See C/S Messaging APIs for information.
  5. The request handler calls the appropriate invoker for the business process request. The definition for the operation in the client identifies the invoker request using the serverOperation attribute.
  6. The invoker launches the business process in the application logic layer.
  7. The business process returns the response to the requester through the presentation handler.
  8. The requester invokes the close method of the operation to free the operation resources.