Testing with an Enterprise Bean

After you install WebSphere Application Server, you can test an enterprise bean by using the Inc sample:

  1. Go to the administrative console.
  2. Ensure that default server and the Inc bean are already started.
  3. Start your Web browser and specify for the URL address: http://<your_host>/webapp/examples/HitCount. You should see a Web page with selection options.
  4. From the list Generate hit count using, select Enterprise JavaBean. From the list Transaction Type, select None.
  5. Click on Increment.

The number of hits is displayed.