< Previous | Next >

Implementing the CreditCheck Java™ Component

The CreditCheck component will have a Java implementation that generates a credit score using the taxPayerId of an applicant. Instead of editing the Java that is being generated and creating the implementation yourself, you will take a shortcut by importing the Java implementation.

To implement the CreditCheck Java™ component, follow these steps:
  1. Switch to the assembly editor.
  2. Right-click the CreditCheck component.
  3. From the pop-up menu, select Generate Implementation. The Generate Implementation window opens.
  4. Click OK. The Java editor opens.
  5. Close CreditCheckImpl.java.
  6. Select File > Import. The Import window opens.
  7. Click File System.
  8. Click Next.
  9. In the From directory list, type <WSInstallDir>\wstools\eclipse\plugins\com.ibm.wbit.samples.content_6.0.2\scenarioparts\loanapplication.
  10. Expand the folder structure of loanapplication and deselect the web folder.
  11. Select the check box beside CreditCheckImpl.java.
  12. In the Into folder field, type LoanApplicationModule\sca\component\java\impl. The File system field is set to Import resources from the local file system..
  13. Select Create selected folders only.
  14. Click Finish. If you are prompted to overwrite the previous file, click OK to confirm that you want to do so.
  15. Click File > Save.
Now that the implementation for checking credit has been imported, you will implement the human tasks invoked at the end of the business process.

Feedback
(C) Copyright IBM Corporation 2005, 2007. All Rights Reserved.
< Previous | Next >