Chapter 1 Understanding AI for Stored Procedures


Jaguar and AI for Stored Procedures Functionality

The following sections are intended to familiarize you with how Jaguar functions and how it relates to AI for Stored Procedures:

How Jaguar Works

Jaguar implements a "multi-tier" distributed computing architecture. Figure 1-3 shows the typical Jaguar environment, in which three distinct elements, or tiers, work together to give users access to data:

Figure 1-3: Typical Jaguar environment

In most cases, interaction between the client application and Jaguar occurs as follows:

  1. When a client application needs to use a component, it issues a request to the Jaguar server.
  2. The request from the client prompts Jaguar to instantiate the component.
  3. The client invokes a method on a component.
  4. The method invokes the target stored procedure and returns any results to the client.

Note   For detailed information about how Jaguar works, see the Jaguar documentation.

When Jaguar Uses AI for Stored Procedures Components

In AI for Stored Procedures, the components in the middle-tier contain methods that represent target stored procedures. Figure 1-4 shows the following elements, or tiers, of the AI for Stored Procedures environment:

Figure 1-4 shows the Jaguar client accessing a stored procedure through the AI for Stored Procedures component in the middle tier.

Figure 1-4: AI for Stored Procedures environment

 


Copyright © 1999 Sybase, Inc. All rights reserved.