The server tools provide you with a Web-based Universal Test Client
where you can test your enterprise beans and Java™ classes.
Prerequisites
- Create an EJB project and add it to a new EAR project
- Create or import an enterprise bean into your EJB project.
- Deploy your enterprise bean. To do this right-click on the EJB project
and select Deploy.
To use the Universal Test Client:
- Create a WebSphere® server.
- Add
the EJB project to the server.
- To ensure that the server is enabled to use the Universal Test
Client:
- In the Servers view, double-click your server. The
server editor opens.
- For WebSphere Application Server v6.0: In the Servers
view, double-click the WebSphere Application Server v6.0. Select the Overview tab
and expand the Server section.
- For WebSphere Application Server v5.x: In the Servers
view, double-click the WebSphere v5.x server. Select the Configuration tab
and expand the Server Configuration section.
- Select the Enable universal test client check
box.
- Close the editor and save your changes.
- Start a server.
- To start the Universal Test Client:
- In the Navigator view, right-click on an enterprise bean resource
or an independent or stand-alone Java class.
- Select Run > Run on Server. The
Universal Test Client opens in the Web Browser.
- Use the Universal Test Client to perform one or more of the following
tasks:
- When you have finished using the Universal Test Client, close it.