You can use this procedure to add an Application Client Archive to an application. In this way, you can edit its deployment descriptors.
1. In your DLP project, choose the J2EE Components tab.
2. Choose J2EE Components → Add Client. The Load Java Client dialog box appears.
3. Type a name for the archive in the Archive Name field.
Use unique JAR names in a project.
4.
If You Want To |
Then |
Create a new application client |
Select the Create New radio button. |
Load an existing application client |
Select the Load Existing radio button. You will also have to select from the file system the deployment descriptor of the application client archive. |
5. From the file system, select the directory of the class files to be included in the archive and set it in the Files Directory field. This directory is added as an additional directory of the archive. You can also set this directory after you create the application client. For more information, see Managing Files and Directories.
6. To close the Load Java Client dialog box, choose OK.
The Client Archive appears as a node in the J2EE Components tab. To load an Application Client Archive correctly, you must specify the classpath to the package of Java class files included in the archive. For more information, see Setting a Project Classpath.
See also:
Application Client Properties Management.