Running H/F 1 387
6. The Graphical Editor and other supporting views appear as shown in
Figure 8-116.
Figure 8-116 The BankBasicOp.etee opened within the Graphical Editor
388 IBM Branch Transformation Toolkit 5.1 Migration and Usage Guidelines
7. Select the Presentation icon ( ) in the CompositionNode
drawer. Drop it in the Presentation Logic block, as shown in Figure 8-117.
Figure 8-117 Add a presentation component in the Graphical Editor
8. Right-click the Presentation icon, and select Open Properties Dialog from
the context menu. The Presentation Node Dialog appears, as shown in
Figure 8-118.
Figure 8-118 The presentation node dialog
9. Click Browse, select withdrawal.gph in BTTBankWeb project. Click OK, as
shown in Figure 8-119 on page 389. You will see that the Struts GPH File and
Running H/F 1 389
the Context Name field are populated with the correct values, as shown in
Figure 8-120. Click OK.
Figure 8-119 Select withdrawal.gph
Figure 8-120 The Presentation Node Dialog with correct values filled
390 IBM Branch Transformation Toolkit 5.1 Migration and Usage Guidelines
10.After the dialog box closes, you can see the presentation node renamed as
withdrawal, and the withdrawalServerCtx associated with it, as shown in
Figure 8-121.
Figure 8-121 The withdrawal presentation node and withdrawalServerCtx context appear
Note: If you look closely at the diagram, you will find that there is an
exclamation mark in the withdrawal node. You will see the warning
message “1: EJBAction ‘/withdraw’ needs to be implemented”, when you
move your mouse over the exclamation mark. This will be fixed
automatically, once the peer Business Logic component is set up.
Running H/F 1 391
11.Select the SingleActionEJB icon ( ) from the
CompositionNode drawer. Drop it in the Business Logic block, as shown in
Figure 8-122.
Figure 8-122 A new EJB node added into the Graphical Editor
12.Click the ejb1 node. In the Properties view, click Property Editor against the
filename field as shown in Figure 8-123.
Figure 8-123 Select ejb-jar.xml by clicking Property Editor

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.