Testing with an Enterprise Bean
After you install WebSphere Application Server, you can test an enterprise bean using
the Inc sample:
- Start the application server. (At a command line, enter
startServer .)
- Start your Web browser and specify for the URL address:
http://your_server_name/webapp/examples/HitCount
where your_server_name is localhost if the Application
Server is on the local machine. If the server is on a remote machine, enter the short or fully qualified
host name for the machine containing the administrative server.
You should see a Web page with selection options.
- From the list Generate hit count using, select Enterprise JavaBean.
From the list Transaction Type, select None.
- Click on Increment.
The number of hits should display.
|
|