Implementing operation

To implement operation, do the following:
  1. Copy the WithdrawClientOperation.java from <toolkit_root>\samples\BTTJumpStartSampleRCPClient.zip\ BTTJumpStartSampleRCPClient/src/com/ibm/btt/jumpstart/sample/operation to the com.ibm.btt.jumpstart.sample.operation package of BTTJumpStartSampleRCPClient Project.
    This WithdrawClientOperation is called in com.ibm.btt.jumpstart.sample.action.QueryAccountInfoAction. It launches the server side operation withdrawOp to do withdrawal action, and fires the different events to processor based on server’s reply. The processor will do transactions based on the events:
    • If Event is Ok, processor will jump to withdrawResultSummary state.
    • If Event is error, the processor will jump to finalNotOk state.
  2. Copy the WithdrawQueryAcctClientOperation.java from <toolkit_root>\samples\BTTJumpStartSampleRCPClient.zip\ BTTJumpStartSampleRCPClient/src/com/ibm/btt/jumpstart/sample/operation to the com.ibm.btt.jumpstart.sample.operation package of BTTJumpStartSampleRCPClient Project.

    This WithdrawQueryAcctClientOperation is called in com.ibm.btt.jumpstart.sample.action.QueryAccountInfoAction. It launches the server side operation withdrawQueryAcctOp to query customer information based on its account number.

  3. Copy the InitialStep.java from <toolkit_root>\samples\BTTJumpStartSampleRCPClient.zip\ BTTJumpStartSampleRCPClient/src/com/ibm/btt/jumpstart/sample/operation to com.ibm.btt.jumpstart.sample.operation package of BTTJumpStartSampleRCPClient Project.

    The operation fires OK event in the transaction, and it transforms the XUI processor to withdrawWellcome state.