To Execute this Example

LANSA

To Execute this Example
Data Tier AwarenessThe Things that Make Up this Example

Local Execution (No Remote Tiers)

To use this example with no remote tiers (ie: as a standalone application):
  • Execute the Tier Configurator VL_SAM134 and make sure that you have this tier configuration:
SystemValid Connection Details Are Required APPL Tier DATA TierPRINT TierBATCH Tier
Default ClientNoSystem ItselfSystem ItselfSystem ItselfSystem Itself
Default iSeriesNo System ItselfSystem ItselfSystem ItselfSystem Itself

  • Close the Tier Configurator VL_SAM134.
  • Now execute form VL_SAM135 and test fetching the details of a few employees.
  • In this mode VL_SAM135 is running on your PC and accessing a DBMS that is locally accessible to your PC.
Thin Client Execution (Remote DATA Tier)

To use this example with a remote DATA tier (ie: as a classical Client/Server application)
  • Execute the Tier Configurator VL_SAM134 and make sure that you have this tier configuration:
SystemValid Connection Details Are Required APPL Tier DATA TierPRINT TierBATCH Tier
Default ClientNoSystem ItselfDefault iSeriesSystem ItselfSystem Itself
Default iSeriesYes System ItselfSystem ItselfSystem ItselfSystem Itself

  • Close the Tier Configurator VL_SAM134.
  • Now execute form VL_SAM135 and test fetching the details of a few employees.
  • In this mode VL_SAM135 is running on your PC but accessing a DBMS that is defined on your iSeries server.
What does this example demonstrate ?

Some of the features that this form demonstrates are:
  • Some fundamental tier awareness techniques.
  • The isolation and abstraction of the physical system details away from this form.
  • A simple technique for switching this form between different modes of execution via external configuration.