Skip Headers

# Using the Deploy Tool With WebSphere Studio Application Developer

Previous

Next

The Deploy tool is compatible with the WSAD.

To deploy from the Deploy Tool to WSAD, do the following:

1. Select the EJB Project in WSAD and choose to generate Deploy and RMIC Code.

2. Export the EJB Project to an EJB JAR file, making sure that the TopLink project and `toplink-ejb-jar.xml` files are included in the EJB JAR file.

3. Start the WebSphere Deploy Tool by executing the appropriate `<``TOPLINK_HOME``>/bin/wasDeployTool` script: on Windows, execute `wasDeployTool.cmd`; on UNIX, execute `wasDeployTool.sh`.

   The WebSphere Deploy Tool dialog appears (see Figure: The Deploy Tool Set Up for Use with WSAD).

4. Choose the EJB Project working directory so that TopLink overrides the WSAD deploy code with the TopLink deploy code.

5. If the source is copied to a directory other than the WSAD EJB Project directory, manually copy the source files to the WSAD EJB Project under the ejbModule directory of the project.

6. Enter appropriate directories in the fields of the Deploy Tool.

7. Choose Deploy EJB JAR to create the deployed EJB JAR file.

8. Choose Rebuild all from the Project menu to compile the deploy code to incorporate CMP.