PiggyBank complete implementation setup instructions |
This sample contains the PiggyBank design model and the complete source code for the PiggyBank online banking application. To run the PiggyBank online banking application sample, import the PiggyBank complete implementation sample and follow these steps. System prerequisitesTo run the sample, you must perform the following tasks:
The PiggyBank online banking application uses the Cloudscape database, which is included with IBM Software Development Platform. Cloudscape is an embedded Java™ database and no special installation is required. Starting the applicationThe PiggyBank sample must be built before it can be deployed to a server. By default, the workbench is set to automatically build projects. If this option is disabled, click Project > Build all to build all of the projects in the workspace. This may take a few moments for the code to compile. Once the code is built, you can follow these steps to configure and start the PiggyBank online banking application:
Starting the serverTo start the server: The server status changes to Started in the Servers view. Deploying the applicationTo deploy the application: Exploring the applicationTo run the creating customers and accounts UI: In the PiggyBank application, enter a Customer ID, Customer name, and Account number and click Apply to create a customer and account.
To run the teller UI for depositing cash: In the PiggyBank application, enter the Credit Account Number, Check reference (can be any value - is not currently validated), and Amount (should be less than $100) and click Cash check to deposit a check.
To run the customer UI for transferring cash: The PiggyBank web UI opens automatically. Click PiggyBank Home Banking system and enter the customer ID that you created in the previous step to use the online banking system.
|