DataXpress is a sample application that copies data between databases.
This page covers the following topics:
DataXpress is a sample utility that can be used to copy data between databases and is intended for use primarily in a development environment. It can be used, for example, to copy tables containing modified user data from a design database to a production database.
When copying data using the DataXPress Publish option, it is assumed that the source and target tables have identical schema, including the same number of columns and column names. If you do not already have an existing target table or just want to try the Publish option, use the SilverStream publishing tool to copy the table schema from the source to the target database. You may need to modify the code in DataXpress to develop a data publishing utility that is suitable for your environment. But keep in mind that DataXpress is a sample application and not an officially released feature of the SilverStream Application Server, and will not be supported as such.
DataXpress provides three operations. It can import a comma-delimited file to a database table, export a table to a variety of file formats, and publish data from one database to another.
Each operation is represented by a page that accesses the data source through a single updatable data source object. This data source object configures itself dynamically based on the database(s) and table(s) selected by the user. The page invokes a specific business object based on the selected operation. The business object contains a data cache object (agData) that is bound to the data source object. The business object uses the data source object to populate the agData with the rows to be copied from or to the data source, and then returns the appropriate results to the caller.
Before you begin The databases you use must be synchronized before you use this application.
After installing the DataXpress database, start the Main Designer.
Select the DataXpress database in the left pane of the Main Designer.
The home page is a servlet that is activated when you run the database. The application starts in your browser.
Select one of the three options in the left pane to display the appropriate page. Each page includes step-by-step instructions on how to use the selected operation. Here is a summary:
For information about using a dynamically configurable data source object in your applications, see the following techniques in Application Techniques:
For more information about the SilverStream server features used in the DataXpress application, see the following chapters in the Programmer's Guide:
Copyright © 2001, SilverStream Software, Inc. All rights reserved.