Passing in Command Line Parameters
Starting the EJB Session Recorder
Repeat the JAR import instructions for the rest of the required JAR files. You can
find all of these files, except
, in the <
> directory (by default,
C:\Program Files\Rational\Rational Test\QualityArchitect
). You can find
C:\Program Files\Rational\Rational Test.
rttssjava.jar (located under Rational Test, not QualityArchitect)
Project > Execute
from the main menu to launch the EJB Session Recorder.
Passing in Command Line Parameters (optional)
As an added feature, the JNDI Provider URL and Initial Context Factory can be
passed in as command line parameters for the EJB Session Recorder.
To specify these parameters for the EJB Session Recorder:
Project > Options
from the main menu.
When the Project Options dialog box opens, enter the command line parameters in
the Program Arguments text box.
An example for Visual Cafe would be:
The JNDI Provider URL and the Initial Context Factory can also be set in the
Options dialog box, which can be accessed from the Rational QualityArchitect
console. (To access the console, click
Tools > QualityArchitect > Console
Starting the EJB Session Recorder from Visual Age for Java
Before you start setting up the EJB Session Recorder in VAJ (v.3.5 or v. 4.x), make sure
that the IBM EJB Development Environment feature and IBM WebSphere Test
Environment feature have been added. You will know that they have been added
because you will see an EJB tab in the Workbench window. For details, see Adding EJB
Support on page 41.