Bankapp Pageflow

This sample application uses the Tuxedo bankapp services DEPOSIT, WITHDRAWAL, OPEN_ACCOUNT, CLOSE_ACCOUNT, INQUIRY, and TRANSFER in a WebLogic Workshop pageflow. The bankPageFlow sample is delivered as a Web Project within the TuxSampleApp application.

Concepts Demonstrated By This Sample

Calling a Tuxedo application, bankapp, and using bankapp services from within a pageflow.

Sample Code

  1. Start the Tuxedo server that advertises the bankapp service.
  2. Start WebLogic Workshop.
  3. From the File menu, select Open->Application. Click Browse and select <BEA_HOME>/weblogic81/samples/partners/Tuxedo/TuxSampleApp/TuxSampleApp.work.
  4. Install WebLogic Workshop's page flow libraries and resources into the sample application. Select the bankPageFlow node in the Application Pane, then right-click and select Install->Web Project Libraries. A pop-up dialog displays. Be sure that the check boxes to the Libraries and Resources are both selected and click Install.
  5. Build the project. To do this right-click the bankPageFlow node in the Application Pane and select Build bankPageFlow.
  6. Open the file bankPageFlow/bankPageFlow/bankPageFlowController.jpf and start the WebLogic Workshop test browser.
  7. You should see a web page with links to each of the six bankapp FML services. Each page lets you enter some information and invoke a Tuxedo service. Each page also has a Home link that takes you back to the original page.

Related Topics