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
-
Download the btl120.zip (or btl120e.zip for the Evaluation
version of the product) file.
-
Unzip and extract all the files in btl120(e).zip to
a directory of your choice on your local drive.
-
Importing the extracted files into VisualAge for Java:
-
Launch your 's VisualAge for Java's Integrated
Development Environment (IDE).
-
From the File menu, choose the Import menu item.
A SmartGuide Import dialog box appears.
-
Click on the Interchange file option then click on the Next button
-
Browse to the directory where you extracted the files from the btl120(e).zip
file and choose the beantool.dat file.
-
Click on the Update button.
-
A list of the following four projects will show up in the list :
-
Taligent WebRunner Bean Wizard
-
Taligent WebRunner Bean Works
-
Taligent WebRunner Bean Works Samples
-
Taligent WebRunner Beans
-
Select all the projects , and click on the Finish button to import
them into VisualAge for Java..
-
From the Selected menu, choose Add Project menu item to bring
the project in the workspace. A SmartGuide dialog will appear.
-
Choose Add project(s) from the repository.
-
Click on the Browse button.
-
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.
-
Back in the SmartGuide dialog, click on the Finish button and wait for
all the projects to appear in the workspace.
-
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.
-
Double click on the resource.zip file that should be in the directory
where you had unzipped btl120(e).zip.
-
Extract all the files from resource.zip to
<VisualAge for Java Install directory>/ide/project_resources
Running the WebRunner
Bean Wizard from within VisualAge
To run the Bean Wizard:
-
In the VisualAge WorkBench Projects panel, expand the Taligent WebRunner
Bean Wizard folder.
-
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.
-
Press the Run button on the Workbench toolbar, or choose the Selected-->Run-->Run
main... menu item.
-
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:
-
In the VisualAge WorkBench Projects panel, expand the Taligent WebRunner
Bean Works Samples folder.
-
Select the folder containing the sample you want to run.
-
To run the sample within an applet viewer:
-
Press the Run button on the Workbench toolbar.
-
Press the Applet button on the dialog that pops up.
OR
-
Select the Selected-->Run-->In Applet Viewer... menu item.
-
Enter any settings such as the size of the viewer and press the Run button
in the Settings dialog.
-
To run the sample as a standalone application:
-
Press the Run button on the Workbench toolbar.
-
Press the Application button on the dialog that pops up.
OR
-
Select the Selected-->Run-->Run main... menu item.
-
Press the Run button on the Command Line Argument dialog.
Copyright
© Taligent, Inc. 1996 - 1997.
Copyright © IBM Corporation 1996 - 1997.
All Rights Reserved.