380 IBM Branch Transformation Toolkit 5.1 Migration and Usage Guidelines
b. Locate the services keyed collection in the tags keyed collection, add the
Dummy Journal service as shown in bold in Figure 8-31.
Example 8-31 Dummy Jounal service
<dse.ini>
<kColl id="settings" dynamic="false" >
...
<kColl id="tags" dynamic="false" >
...
<kColl id="services" dynamic="false" >
...
<field id="DummyDB2Journal"
value="btt.bank.services.DummyJournalImpl"
description="compound" />
...
</kColl>
...
</kColl>
...
</kColl>
</dse.ini>
c. Add dsesrvce.xml into the files keyed collection as shown in
Example 8-32:
Example 8-32 Adding dsesrvce.xml
<dse.ini>
<kColl id="settings" dynamic="false" >
...
<!-- ======================================= -->
<!-- Name of the generic definition files -->
<!-- ======================================= -->
<kColl id="files">
<field id="data" value="dsedata.xml"/>
<field id="context" value="dsectxt.xml"/>
<field id="type" value="dsetype.xml"/>
<field id="format" value="dsefmts.xml"/>
<field id="service" value="dsesrvce.xml"/>
</kColl>
...
</kColl>
</dse.ini>
d. Press Ctrl+S to save the change.
e. Copy dse.ini to c:\dse directory.
Running H/F 1 381
Verifying the working of Dummy Journal
To ensure that the server is ready and running, do the following:
1. In Server perspective, right-click WBI SF either from Server Configuration
view or Servers view.
2. Select Start from the context menu.
In the console view, you will see a lot of messages popping up. This means
that the server is running. When you see the message “Server server1 open
for e-business”, it means the server is started.
You can test the application using your Web browser:
1. Navigate to the sign-in page using the following URL:
http://localhost:9080/BTTBankWeb/btt/bank/ui/struts/signin/prepareSignIn.do
2. Sign in with the following values, and click Submit. The withdrawal page
appears:
Use ID: user01
Password: user01
3. Input arbitrary Account Number and Amount, and then click Withdrawal.
4. After the submission, the browser will appear to be hanging. This is because
your input is required at the server side. Switch to the Java console called
Dummy journal service by pressing Alt+tab. A dialog box opens as shown in
Figure 8-111.
Figure 8-111 Dummy Journal Service addRecord method show result

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.