Chapter 1 Understanding AI for Stored Procedures
AI for stored procedures is an EAServer component development and deployment tool that allows application developers to quickly integrate database stored procedures with EAServer.
AI for stored procedures is included in Sybase® EAServer. EAServer is an integrated set of application servers that you use to deploy Web applications that support high-volume traffic, dynamic content, and intensive online transaction processing. EAServer consists of PowerDynamo, a transaction server, AI for CICS, AI for stored procedures, and Adaptive Server® Anywhere (ASA).
AI for Stored Procedures allows you to create EAServer components that provide access to existing stored procedures, making the stored procedures accessible to Web-based client applications.
The AI for Stored Procedures Component Builder is a design tool that you use to create these components. The Component Builder makes it easy to create components by simply browsing a database and selecting a collection of stored procedures. No manual coding is required.
After you create the components, you can use the Component Builder to deploy them to EAServer, where they can be used by EAServer client applications or by other EAServer components.
AI for Stored Procedures components use Java Database Connectivity (JDBC) to access stored procedures. Using the Component Builder, you can create components that invoke stored procedures in any database that is accessible through a JDBC driver. AI for Stored Procedures includes the Sybase jConnect for JDBC driver for access to Sybase databases such as Adaptive Server Anywhere (ASA) and Adaptive Server Enterprise (ASE). For non-Sybase databases, such as Oracle, you must provide additional JDBC drivers.
AI for stored procedures consists of the following:
Figure 1-1 shows the design architecture of AI for stored procedures.
During design, the Component Builder imports the stored procedure metadata, then creates and deploys the component into EAServer.
Figure 1-2 shows the runtime architecture of AI for stored procedures.
During runtime, a client application attempts to invoke a component in EAServer, which in turn accesses the target stored procedure.
AI for stored procedures supports the following stored procedures and queries:
This documentation refers to all supported procedures
as "target
stored procedures."
Copyright © 2001 Sybase, Inc. All rights reserved. |
![]() |