Navigation flows

The Account Transfer process (wsTransferAccessProc) is the only business operation in the sample application that requires a navigation flow. The flow is implemented by the HTML flow processor. The processor navigates through JavaServer Pages (JSPs) to get the user input for the Account Transfer operation. When the input is ready, the HTML flow processor navigates to the TransferOperationState where the remote Web Service operation is invoked. If no error occurs and a response is received, the HTML flow processor navigates to the JSP page that displays the response to the user.

The following figure illustrates the flow processor, which has eight states, including the initial and final ones: