Running H/F 1 303
Generating Deployment and RMIC Code
To generate the deplyment and RMIC code, follow these steps:
1. Right-click BTTCHAEJB project, and select Generate Deployment and
RMIC Code from the context menu, as shown in Figure 8-52.
Figure 8-52 Select Generate Deployment and RMIC Code
2. Click Select all in the pop-up window, and click Finish, as shown in
Figure 8-53.
Figure 8-53 Generate Deployment and RMIC Code for all enterprise beans
Adding the CHA Formatter service
The Branch Transformation Toolkit v5.1 also provides the BTTFormatterEJB
EJB module, which converts the defined formats into live objects in the runtime.
304 IBM Branch Transformation Toolkit 5.1 Migration and Usage Guidelines
Before deploying CHA Formatter Service, ensure that the CHA environment is
ready in the workspace.
Importing BTTFormatterEJB.jar
To import the BTTFormatterEJB.jar, follow these steps:
1. Open the J2EE perspective and get into the J2EE Hierarchy view.
2. Right-click BTTBank in the Enterprise Applications folder. Select Import
Import EJB Jar.
3. Enter the following values for the EJB import:
EJB JAR File: <BTT_install_dir>\jars\BTTFormatterEJB.jar
EJB project: BTTFormatterEJB
EAR project: BTTBank
4. Click Finish.
Setting up project properties
To set up the project properties, follow these steps:
1. Switch to the Project Navigator view. The BTTFormatterEJB EJB Project
appears.
2. Right-click the BTTFormatterEJB project, and select Properties from the
context menu.
Running H/F 1 305
3. In the pop-up window, select Java JAR Dependencies. Select the Use EJB
JARs option, and then check bttbase.jar and bttfmt.jar in the JAR/Module
list. Click OK, as shown in Figure 8-54.
Figure 8-54 Set up Java JAR dependencies for BTTFormatterEJB
Generating Deployment and RMIC code
To generate the deployment and RMIC code, follow these steps:
1. Right-click the BTTFormatterEJB project and select Generate
Deployment and RMIC Code.
306 IBM Branch Transformation Toolkit 5.1 Migration and Usage Guidelines
2. In the pop-up dialog box, click Select all and Finish, as shown in Figure 8-55.
Figure 8-55 Generate Deployment and RMIC Code for BTTFormatterEJB
Defining proxy in client side dse.ini
This section describes how to define CHA formatter service proxy in client side
dse.ini. The CHA formatter service has four proxies. In our sample, we used
PureEJBProxy. To define CHA formatter service proxy in client side dse.ini,
perform the following steps:
1. Open BTTBankBusiness.chae by double-clicking the file in BTTBankBTT
project.
2. Click the dse.ini tab, locate the keyed collection definition with the ID
cha-server. Add the following keyed collection definition shown in
Example 8-5 after it.
Example 8-5 Configuring PureEJBProxy for CHA formatter service
<kColl id="CHAFormatterServiceClient">
<field id="CHAFormatterServiceProxyClass"
value="com.ibm.btt.formatter.client.CHAFormatterServicePureEJBProxy"/>
<field id="PureEJBProxy_initialContextFactory"

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.