Chapter 11 Creating Application Clients


Importing and exporting application clients

You import application clients into Jaguar as part of a J2EE EAR file or a Jaguar JAR file. You can export application clients from Jaguar Manager to a JAR file and deploy them on a client machine. Typically, you may want to import the EAR file, edit the application client properties, export the JAR file, and run the application on a client machine.

Steps To import an application client:

  1. Highlight the top-level Applications folder.

  2. To import a J2EE EAR file, choose File | Deploy | J2EE EAR. To import a Jaguar JAR file, choose File | Deploy | Jaguar JAR. This starts the Deploy wizard.

  3. In the Deploy wizard, provide the following information:



  4. Click Next to continue. The Deploy wizard reads the file and creates the application client. Any errors are displayed in the status window. Review the status information, then click Close.


Steps To export an application client:

  1. Expand the icon that represents your application, open the Clients folder, and highlight the icon that represents your application client.

  2. Choose File | Export Client JAR. This starts the Export wizard.

  3. In the Export wizard, enter a path for the JAR file to be created or click Browse and select the file path.

  4. Specify whether to automatically generate EJB stubs. To run the JAR file on a standalone client machine, generate the stubs. If you plan to deploy the JAR file in another application server, you do not need to generate the stubs.

  5. Click Next to continue. Jaguar exports the application client. Any errors are displayed in the status window. Review the status information, then click Close.

Note   If you make changes to EJB references, resource references, or environment properties after you export the application client, you must export the client again to update the JAR file.


 


Copyright © 2000 Sybase, Inc. All rights reserved.