user manual

SilkPerformer Java Explorer User Guide 55
3 S
ETTING UP TESTS
Enterprise JavaBeans & RMI Over IIOP
Select the home interface and click Finish. Confirm the next step by
clicking Next. The selected home interface will then be browsed for its
published methods. A method named create is likely to be among these.
This method must be called to get a valid reference to an EJB object.
Click Next and select the test case where Java Explorer should write
code for the steps performed by the wizard.
For example, those steps referred to as bootstrapping can be put into the
init test case or an existing test case.
Click Finish and give a variable name to the EJB reference obtained by
the Java Explorer Wizard.
Click OK. You can now call any of the EJB’s business methods. To do
this go to Java Explorer’s Object panel and find the EJB that was placed
there by the wizard.