TutorialsApp Sample

The TutorialsApp Sample demonstrates a complete WebLogic Workshop application that integrates custom Java controls, web services and page flows.

The TutorialsApp application assembles credit-worthiness reports on individual loan applicants. The application consists of three tiers: (1) the application core, a custom Java control, assembles the report from a variety of resources, (2) the web services tier provides web access to the core functionality of the Java control, (3) and a page flow provides a user interface for the application.

The tutorials series Tutorial: Java Control, Tutorial: Web Service, and Tutorial: Page Flow gives step by step instructions for building the TutorialsApp from scratch.

Concepts Demonstrated by this Sample

Location of Sample Files

This sample is located at:

BEA_HOME\weblogic81\samples\platform\TutorialsApp\TutorialsApp.work

To Run the Sample

  1. Start WebLogic Server in the workshop domain.
  2. You can run either the web service tier or the page flow tier of the application.

    • To run the web service tier, either open TutorialsApp/FirstWebService/investigateJWS/Investigate.jws in WebLogic Workshop and click the Start button or enter http://localhost:7001/FirstWebService/investigateJWS/Investigate.jws in the address bar of a web browser. If WebLogic Server is running in the workshop domain on this machine, you may click here to run the sample.

    Navigate to the Test Form tab, if necessary.

    Enter a value into the taxID field and click the requestCreditReport button.

    Click Refresh until the method onCreditReportDone appear in the Message Log.

    Click onCreditReportDone and view the credit-worthiness report.

    • To run the page flow tier, either open TutorialsApp/FirstPageFlow/investigateJPF/InvestigateJPFController.jpf in WebLogic Workshop and click the Start button or enter http://localhost:7001/FirstPageFlow/investigateJPF/InvestigateJPFController.jpf into a web browser. If WebLogic Server is running in the workshop domain on this machine, you may click here to run the sample.

    Login as "Investigator" / "password".

    Enter one of the following 9-digit taxID values "111111111", "222222222", "333333333", "444444444", "555555555", "123456789" and click Submit.

    The credit-worthiness report will be displayed.

Related Topics

Tutorial: Java Control

Tutorial: Web Service

Tutorial: Page Flow