Testing with an enterprise bean
This article describes how to test your WebSphere configuration by using an enterprise bean and
the Increment sample. These instructions assume that you have installed your WebSphere
Application Server system and have tested the installation by using the instructions in the
article Testing the installation.
Perform the following steps to test your WebSphere configuration using an enterprise bean:
- Ensure that you are logged into the machine with superuser (root) privileges.
- Ensure that the administrative console is running.
- Ensure that the default server (located under WebSphere Administrative Domain > Nodes > node_name > Application Servers) is running.
- Start a Web browser and specify the following URL:
http://machine_name/webapp/examples/HitCount
In this command, machine_name represents the name of the machine on which WebSphere is running.
When the Web page opens, several selection options are displayed.
- Under the heading Generate hit count using, click the radio button for the Enterprise Java Bean option.
- Under the heading Transaction Type, click the radio button for the None option.
- Click Increment.
If the number of hits is displayed, WebSphere is functioning properly.
|
|