148 IBM Branch Transformation Toolkit 5.1 Migration and Usage Guidelines
Figure 6-27 DataSource details
9. In the J2C tab, click Add to insert an item in the J2C Resource Adapters.
Ensure that dummysnalu0Connector is displayed as the Resource Adapter
Name, and click OK. See Figure 6-28 on page 149.
Chapter 6. Post-migration activities 149
Figure 6-28 Create a resource adapter
10.In the J2C tab, select dummysnalu0Connector from the J2C Resource
Adapters, and click Add to create an item in the J2C Connection Factories. In
the pop-up window, type snalu0 as the name and the JNDI name, select
FailingConnectionOnly as the Purge Policy, and from the drop-down list,
select sna as container-managed and component-managed authentication
aliases. Leave the remaining values as default. Click OK. See Figure 6-29 on
page 150.
150 IBM Branch Transformation Toolkit 5.1 Migration and Usage Guidelines
Figure 6-29 Create a connection factory
11.In the same tab, change the content of Resource Properties to
dummysnalu0Connector. Change the value of both userName and
userPassword to sna, and change the value of TestFile to
http://127.0.0.1:9080/BaseSampleWeb/response.res.
See Figure 6-30.
Figure 6-30 Resource properties
12.Save the server configuration and close the Server Configuration Content
Editor.
Chapter 6. Post-migration activities 151
CHA deployment
To deploy the CHA, follow these steps:
1. Change the Project Navigator view to J2EE perspective. Right-click the
BTTCHAEJB project, and from the the pop-up menu, select Generate
EJB to RDB Mapping..., then click Next to create a new backend folder.
Select Top Down in the next window. Click Next. See Figure 6-31
Figure 6-31 Generate EJB to RDB mapping
In the next window, select the database type and input the schema you installed
on your server. Click Finish. See Figure 6-32 on page 152.
152 IBM Branch Transformation Toolkit 5.1 Migration and Usage Guidelines
Figure 6-32 Mapping details
2. Right-click the BTTCHAEJB project. From the pop-up menu select
Generate Deployment and RMIC Code.... Click Select All and Finish.
See Figure 6-33 on page 153

Get IBM Branch Transformation Toolkit 5.1 Migration and Usage Guidelines now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.