Using Bean Tools with VisualAgeTM for Java

You can install and use WebRunner Bean Tools from within VisualAge for Java. You can import the Bean Works framework classes and sample applications and use them to help build VisualAge components, and use the WebRunner Bean Wizard to generate code for your components. Bean Tools also include a set of sample beans you can import into VisualAge.

Note: You can still use the WebRunner Bean Tester, but must run it independently from VisualAge by launching it from the WebRunner Bean Tools program group or by running the bat file webrunner\BeanTools\bin\beantester.bat.

Installing Bean Tools to run with VisualAge
Running the WebRunner Bean Wizard from within VisualAge
Running WebRunner Samples from within VisualAge


Installation of Bean Tools for use with VisualAge for Java (VAJ) Version 1.0 

  1. Download the btl120.zip (or btl120e.zip for the Evaluation version of the product) file.
  2. Unzip and extract all the files in  btl120(e).zip  to a directory of your choice on your local drive.
  3. Importing the extracted files into VisualAge for Java:
    1. Launch your 's VisualAge for Java's   Integrated Development Environment (IDE).
    2. From the File menu, choose the Import menu item.

    3. A SmartGuide  Import dialog box appears. 
    4. Click on the Interchange file option then click on the Next button
    5. Browse to the directory where you extracted the files from the btl120(e).zip file and choose the beantool.dat file.
    6. Click on the Update button. 
    7. A list of the following four projects will show up in the list : 
      1. Taligent WebRunner Bean Wizard
      2. Taligent WebRunner Bean Works
      3. Taligent WebRunner Bean Works Samples
      4. Taligent WebRunner Beans
    8. Select all the projects , and click on the Finish button to import them into VisualAge for Java..
    9. From the Selected menu, choose Add Project menu item to bring the project in the workspace. A SmartGuide dialog will appear. 
    10. Choose Add project(s) from the repository.
    11. Click on the Browse button.
    12. Select each of the Taligent projects one at time, select the edition that shows up in the Editions list, and add it in the Editions to add column by clicking on the '>>' button. Click on the OK button.
    13. Back in the SmartGuide dialog, click on the Finish button and wait for all the projects to appear in the workspace.
    14. In order to import all the resources for the Taligent projects, you will need to unzip the resource.zip  file that was extracted from the btl120(e).zip file.
    15. Double click on the resource.zip file that should be in the directory where you had unzipped btl120(e).zip.
    16. Extract all the files from resource.zip to 
      1. <VisualAge for Java Install directory>/ide/project_resources
 

Running the WebRunner Bean Wizard from within VisualAge

To run the Bean Wizard:
  1. In the VisualAge WorkBench Projects panel, expand the Taligent WebRunner Bean Wizard folder.
  2. Select the class COM.ibm.tools.wizard.control.JavaWiz from the Taligent WebRunner Bean Wizard  project that is created as a result of the import process when installing WebRunner for VisualAge for Java.
  3. Press the Run button on the Workbench toolbar, or choose the Selected-->Run-->Run main... menu item.
  4. Press the Run button on the Command Line Argument dialog.
After generating code with the Wizard, import the project into VisualAge to edit and build it. Once you have imported a project into VisualAge, you cannot reopen it and modify it with the Wizard. You must make all future modifications using VisualAge.

Running WebRunner samples from within VisualAge

To run any of the WebRunner samples:
  1. In the VisualAge WorkBench Projects panel, expand the Taligent WebRunner Bean Works Samples folder.
  2. Select the folder containing the sample you want to run.
  3. To run the sample within an applet viewer:
  4. OR
  5. To run the sample as a standalone application:
  6. OR

Copyright © Taligent, Inc. 1996 - 1997.
Copyright © IBM Corporation 1996 - 1997.
All Rights Reserved.