2 3 3 Using Existing Applications

Visual LANSA

2.3.3 Using Existing Applications

The LANSA Repository  is not just for new application development. LANSA easily integrates with your existing applications. The LANSA Repository can be populated with existing application database files by utilizing a file load utility in the LANSA development environment.

LANSA has the ability to load existing IBM i or Windows file definitions into the repository. LANSA reads the physical file or table definition information to create the necessary field, file, and even logical file definitions in the repository.  When an existing file is loaded, it is described as an "OTHER" file as opposed to a LANSA defined file.

LANSA does not recreate the physical or logical files. It simply defines their structure within the repository so LANSA will be able to access the same file used by your existing application. However, once defined in the repository, LANSA can now add all the benefits of the repository architecture to this older database.

For example, a Customer Master file from an Order Entry application can be loaded into the repository. New repository fields for the Customer ID Number, Customer Name, and other fields are created. The file's structure and logical files are identified. Once in the repository, the field definition information can be extended so that help text, prompts, consistent labels and descriptions are defined. Default values and display attributes can be specified. Business validation rules which were often stored in many different programs can now be entered and maintained in one central location. Relationships to other files can be defined so that the database schema is known to the development environment and end user tools. There is no change to the existing Customer Master file. The file is still actively being used as part of the Order Entry application, but it now has an extended definition in LANSA which is much more powerful.

The ability to use the LANSA Repository with existing databases allows you to extend your existing investment while building a more robust application for the future.

Ý 2.3 Application Development