Siebel

Everything you want to know about Siebel !!!

Strongly Typed Variable Declaration

Excerpt: Siebel 8.0 supports strongly typed variable declaration. This new feature is available in the new ST engine.

Advantages of this form of declaration are

  • Improved Performance (Effective utilization of memory)
  • Improved Scalability
  • Reduced Development time (The new ST engine is capable of pulling out data / object references from the metadata repository, thereby reducing the development time by reducing a developer’s time in lookup activities)

1. Example showing Strongly typed variable declaration:

 The following screenshot shows an example of strongly typed vs loosely typed variable declaration:

image001

Other supported Object types in eScript are:

Blob
BlobDescriptor
Buffer
BusComp
BusObject
CfgItem
Clib
CTIData
CTIService
Date
Exception
File
Math
PropertySet
RegExp
SELib
Service
WebApplet

 2. Reduced Development Time:

The following screenshot(s) show the metadata shown to the user during eScript development:

 

 

Gets Metadata from repository

Gets Metadata from repository

image003image004

3. Avoids Implicit Conversion:

The new script engine warns the user in the early part of development if there are implicit conversions defined. Please see the screenshot:

 Implicit Conversion Error

Implicit Conversion Error

  

 Issues if Strongly typed declaration methodology is not followed:

  • Late Binding: Variables are defined by the eScript Interpreter at run-time which implies errors would be caught at run-time only.
  • Implicit conversions might result in unwanted results.
  • Higher usage of memory by the Siebel script engine to process code.

January 1, 2009 - Posted by Narayan Patro | Scripting | | No Comments Yet

No comments yet.

Leave a comment