Running the Web application locally

Running the Web application locally uses the WebSphere test environment. To use the WebSphere test environment, do the following:
  1. Right-click the file you want to run and select Run > Run on server.
  2. If this is the first time you are doing this, select the Manually define a server radio button.
  3. If you want this server to be the default, select the Set server as project default check box.
  4. Select the server you want to use or define.
  5. Click Finish to configure the test environment and launch the server.

For files that communicate with a program on an iSeries host, you need to define the communication values through the Configuring your iSeries run time before you run the application locally.

To illustrate the test environment, follow the steps described in Tutorial: Creating an iSeries Web interaction, and then complete the steps in the section Run the project.

The Server Tools feature that you use to configure and launch the server to run the project also automatically performs the following tasks:

If you encounter a problem when you test run your Web application, try using Internet Explorer as your browser, instead of the internal browser in the IDE. You can change the Web browser preference by selecting Windows > Preferences > Internet > Web Browser.

This is a simple illustration of running a Web application locally. For more information about this topic and about testing in general, see Testing > Testing and publishing Web and J2EE applications > Application testing and publishing in the online information.