The following process describes how operations work:
- A requester requests to start an operation. The requester is a Java(TM) client.
- 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.
- The requester invokes the execute method of the operation.
- The operation formats the request data and passes it to the request handler.
See C/S Messaging APIs for information.
- 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.
- The invoker launches the business process in the application logic layer.
- The business process returns the response to the requester through the
presentation handler.
- The requester invokes the close method of the operation to free the operation
resources.