Chapter 1 Understanding AI for Stored Procedures


EAServer and AI for stored procedures functionality

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

Figure 1-3: Typical EAServer environment

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

  1. When a client application needs to use a component, it issues a request to the EAServer.
  2. The request from the client prompts EAServer 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 EAServer works, see the EAServer documentation.

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 EAServer 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 © 2001 Sybase, Inc. All rights reserved.