Chapter 2 Working with the Component Builder
Once you have defined a component with one or more methods, you can deploy it to EAServer, where it can then be used in EAServer client applications.
The Component Builder includes a wizard that makes it easy to deploy components. The wizard:
When you deploy a component to EAServer, you must provide the information described in Table 2-7:
Wizard dialog box | Field | Description |
---|---|---|
Jaguar connection information | User Name | Valid EAServer user ID. |
Password | Valid password for EAServer user ID. | |
Host Name | Name of the machine on which EAServer is running. EAServer must be running. | |
Port Number | Number of the IIOP port on which EAServer is listening. | |
Jaguar package information | Package Name | The package name currently selected for this component. Enter a new name, accept the selected name, or select a different name from the Existing Packages field. |
Existing Packages | The list of package names
currently available. Click a package name to select the package.
![]() |
After you provide the information needed by the wizard, the Deployment Progress window shows the status of component deployment. If deployment is not successful, use the messages that appear in the Deployment Progress window to troubleshoot errors.
For each EAServer you deploy components into, the first
time you deploy a component, a message indicates that the feature
for deploying components is not yet installed in EAServer. Click
OK to install this feature.
Each AI for Stored Procedures component built and deployed to EAServer consists of a set of Java classes that work with the AI for Stored Procedures Adapter.
The Adapter is a library of classes that provides access to server stored procedures and statements using JDBC drivers. The Adapter also provides security, transaction control, datatype conversion, and error-handling integration.
For each component that is deployed, AI for Stored Procedures creates (or modifies, if one already exists) the following items on EAServer:
When components are deployed into EAServer:
When you deploy a component into EAServer, the Component Builder also deploys the connection that is associated with the component.
When a component is deployed into EAServer, the information
for the component's connection is sent to EAServer in the
form of a serialized file, which is located in the EAServer
installation directory structure (in the <EAServer_install_dir>\ java\classes\SybAIConnections directory).
If
you need to change
connection information for a component, you must edit the connection
in the Component Builder, and then redeploy the component and connection.
Copyright © 2001 Sybase, Inc. All rights reserved. |
![]() |