210 IBM Branch Transformation Toolkit 5.1 Migration and Usage Guidelines
7.1 Configuring the test environment
Although the migration work is nearly compete, before using the migrated
project, the application should be tested, deployed, and run. In this phase, the
server is created and some configuration carried out.
CHA provides context functionality in a distributed server environment. To fulfil
the functionality of the CHA in Branch Transformation Toolkit 5.1 applications, a
database server is also required. Although most kinds of database systems are
supported as described in Chapter 5, “Migrating an application”, IBM DB2
Universal Database 8.2 is used as the default in this book.
In our sample, the WebSphere Studio Application Developer Integration Edition
v5.1.1 test environment was used as the runtime platform and DB2 Universal 8.2
was used as the database server.
7.1.1 Preparing the CHA database
During the migration process, you created a database named SAMPLE. Check
the database status before proceeding. If you created the database correctly,
skip this phase. Otherwise, you have to create it again or fix it. For detailed
information, refer to 5.3.2, “Creating a CHA database” on page 116.
7.1.2 Creating a server
In 6.3, “Preparing the client and the server” on page 132, you created the server
named BaseSample. Check the server status before proceeding. For this
configuration, the security and database information is required. If you have done
this correctly, skip this step. Otherwise, reorganize the server again. For
information about the detailed method to do this, refer to 6.3.3, “Creating a
server” on page 143.
Once you finish this, deploy CHA to fulfil the EJB to RDB Mapping functionality. If
you have already done this correctly following the instruction given in “CHA
deployment” on page 151, you can skip this step. Otherwise, you have do it again
to fix any errors.
7.1.3 Adding application to the test environment
Because you will be publishing the BaseSample application by deploying the
BaseSample server, add the application to the server, by performing the
following steps:
1. Change to Server perspective.