Deploying JAR files to a database from a data development project

Use the Deploy JAR Files wizard to deploy a JAR file to a database server using the information that is stored in a data development project. You can deploy JAR files to the same database server that is associated with the project, or you can deploy JAR files to a database server that is the same type and version as the database server that is associated with the project.
Prerequisite: Before you deploy a JAR file from a data development project, you must import JAR file information to a data development project that is associated with a DB2 for z/OS Version 9 server.

Before you deploy a JAR file, you should stop any routines that depend on the JAR file. You can use the db2 stop procedure command to stop the routines.

To deploy JAR files to a database from a data development project:

  1. Switch to the Data perspective.
  2. Open a data development project in the Data Project Explorer.
  3. Right-click the JAR folder or a single JAR file in the JAR folder and select Deploy. A wizard opens.
  4. Complete the steps of the wizard. You can specify options for error or duplicate handling and you can customize the Java path if the target server supports Java path settings.
  5. Click Finish.
The deploy process begins, and you can view the progress and messages in the Data Output view. After the JAR file is deployed, you can refresh the JAR folder under the appropriate database connection in the Database Explorer view to verify that the JAR file was successfully added to the server.
Related tasks
Deploying routines to a database

Feedback