Deploying the EAR file

Enterprise beans have to be deployed before they can be installed into WebSphere Application Server.

Follow these tasks to deploy the EAR file:

  1. Run the ejbdeploy command

  2. Run the Ant script

The updated EAR file can now be installed into WebSphere Application Server. In WebSphere Application Server, add the SQLJ run-time JAR file to the class path of the DB2 JDBC Provider which is associated with the data sources used by the SQLJ enterprise beans. In the administrative console, add ${DB2_JDBC_DRIVER_PATH}/db2jcc.jar to the DB2 JDBC Provider's class path, on the DB2 JDBC Provider page. For more information about using WebSphere Application Server, consult the WebSphere Application Server documentation.