Running the Web application locally uses the WebSphere test environment.
To use the WebSphere test environment, do the following:
- Right-click the file you want to run and select .
- If this is the first time you are doing this, select the Manually
define a server radio button.
- If you want this server to be the default, select the Set server as
project default check box.
- Select the server you want to use or define.
- 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:
- Creates the server instance with WebSphere v5.1 Test Environment or WebSphere
v6.0 Server as the default name.
- Sets the server instance to use the server configuration.
- Adds the Enterprise application project associated with the Web project
to the server configuration.
- Starts the server instance. (This may take time to start depending on
the server configuration settings.)
- Displays the file in the Web browser.
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 .
This is a simple illustration of running a Web application locally.
For more information about this topic and about testing in general, see in the online information.