Implementing the CreditCheck Java component

In this task, instead of editing the Java that we are generating, we are taking a shortcut by importing the Java implementation. Follow these steps to implement the CreditCheck Java™ component:
  1. Switch to the Assembly Diagram: LoanApplicationModule editor.
  2. Click the Selection Tool icon on the palette.
  3. Right-click the CreditCheck node CreditCheck.
  4. From the pop-up menu, select Generate Implementation.The Generate Implementation window opens.
  5. Click OK.The editor opens for CreditCheckImpl.java.
  6. Switch to the CreditCheckImpl.java editor.
  7. From the menu, select File > Close (or press Ctrl+F4).The editor closes for CreditCheckImpl.java.
  8. Switch to the Assembly Diagram: LoanApplicationModule editor.
  9. From the menu, select File > Import.The Import window opens.
  10. Click File system.The Select field is set to Import resources from the local file system .
  11. Click Next.
  12. In the From directory list, type WSInstallDir\eclipse\plugins\com.ibm.wbit.samples.content\scenarioparts\loanapplication.
  13. In the navigation tree, click loanapplication.
  14. Select the check box next to CreditCheckImpl.java.
  15. In the Into folder field, type LoanApplicationModule\sca\component\java\impl.The Select field is set to Import resources from the local file system. .
  16. Click Create selected folders only.
  17. Click Finish.

Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.