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.
To import an application
client:
-
Highlight the top-level Applications folder.
-
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.
-
In the Deploy wizard, provide the following information:
- Enter the path and file name of the
EAR or JAR file or click Browse and select the file from the system.
- Deployment Options - check to enable; by
default both options are checked:
- Prompt before
overwriting existing objects
- Automatically generate EJB stubs and skeletons
-
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.
To export an application client:
-
Expand the icon that represents your application,
open the Clients folder, and highlight the icon that represents
your application client.
-
Choose File | Export Client JAR. This starts
the Export wizard.
-
In the Export wizard, enter a path for the JAR file
to be created or click Browse and select the file path.
-
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.
-
Click Next to continue. Jaguar exports the application
client. Any errors are displayed in the status window. Review the
status information, then click Close.
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.
|
|