Download PDF Home History |  | API Search Feedback FAQ

> ## Running the Clients

> ### Running the Application Client

> To run the application client, follow these steps:

> 1. In a terminal window, go to `<``INSTALL``>/j2eetutorial14/examples/bank/`.
> 2. To run the English version of the client, execute the following command:

> `appclient -client DukesBankAppClient.jar`

> The `DukesBankAppClient.jar` parameter is the name of the application client JAR file returned when you deployed `DukesBankApp`.

> 3. To run the Spanish version, include the `es` language code:

> `appclient -client DukesBankAppClient.jar es`

> 4. At the login prompts, type `bankadmin` for the user name and `j2ee` for the password. The next thing you should see is the application shown in Figure 36-10.

> Figure 36-10 `BankAdmin` Application Client

> ### Running the Web Client

> To run the Web client, follow these steps:

> 1. Open the bank URL, `http://localhost:8080/bank/main`, in a Web browser. To see the Spanish version of the application, set your browser language preference to any Spanish dialect.
> 2. The application will display the login page. Enter `200` for the customer ID and `j2ee` for the password. Click Submit.
> 3. Select an application function: Account List, Transfer Funds, ATM, or Logoff. When you have a list of accounts, you can get an account history by selecting an account link.

> Note: The first time you select a new page, particularly a complicated page such as an account history, it takes some time to display because the Application Server must translate the page into a servlet class and compile and load the class.

> If you select Account List, you will see the screen shown in Figure 36-11.

> Figure 36-11 Account List

Download PDF Home History |  | API Search Feedback FAQ

All of the material in The J2EE(TM) 1.4 Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.