Chapter 4 Using PowerDynamo with Jaguar
Setting up PowerDynamo as a client
Dynamo
is a client when used in conjunction with Jaguar. For Dynamo to access
Jaguar as a client, the machine on which Dynamo is installed must
be set up properly. This setup depends on whether you are using
ActiveX, Java, or MASP calls from the Dynamo client to the Jaguar
server components.
Setting up PowerDynamo to use ActiveX
In
general, to create ActiveX objects to access a Jaguar component:
- Ensure that Jaguar Manager is installed on the Dynamo
machine. You can install Jaguar Manager from the Jaguar client installation
executable zip file, JagClient.exe. If you
do not install the Jaguar Manager on the Dynamo machine, you must
copy and register the TLB/REG files for the package onto
the Dynamo machine.
- Install the ActiveX Proxy Automation Server (from
the Jaguar client installation executable zip file, JagClient.exe)
on the Dynamo machine.
- From Jaguar Manager, connect to the Jaguar server
that contains the required components.
- Generate TLB/REG files for the package,
which generates ActiveX proxy objects that are used to create instances
on the client and invoke methods on remote Jaguar components.
- Verify that the package has been registered.
For detailed information on setting up an ActiveX client,
see the Jaguar Programmer's Guide.
Setting up PowerDynamo to use Java
In
general, to create Java objects to access a Jaguar component:
- Ensure that the Jaguar Manager is installed
on the Dynamo machine.
- From Jaguar Manager, generate stubs for the desired
package. The following should be selected:
- Generate stubs
- Java stubs
- JDK 1.1
- Ensure that the Java Code Base path is in your class
path.
- Compile the generated Java files as instructed in
the Jaguar Programmer's Guide.
- From Sybase Central, ensure that the SUN Java VM
(which is included in the Jaguar client installation executable
zip file, JagClient.exe) has been set. This
is the only VM that Jaguar will work with. You specify the SUN Java
VM in the Sybase Central configuration (Default General Settings) folder.
- Ensure that Dynamo is configured for Java support.
- Set your default Jaguar settings. These may be set
for a specific manager or the manager may use the default Jaguar
settings which are set in the Default Jaguar Settings folder of
Sybase Central.
Setting up PowerDynamo to use MASP
Setting
up Dynamo as a client machine to use MASP method calls is fairly simple.
The only requirement is that a connection to the Jaguar server exists. There
are two types of connections that you can create:
- System 11 ODBC data
source connection
- Open Client connection
For detailed information on Jaguar MASP methods and accessing
them from a client, see the Jaguar CTS Programmer's
Guide.
Copyright © 2000 Sybase, Inc. All rights reserved.
|
|