The Remote Resource Access API is shipped with samples
that can serve as a starting point for using the API.
To import the Remote Resource Access API samples into your
workspace:
- From the Rational® Developer
for System z® menu bar,
click Window > Open Perspective > Other.
- From the Open Perspective window, select Plug-in
Development and click OK.
- Click File > Import.
- On the Import window, expand Plug-in Development, click Plug-ins
and Fragments, and then click Next.
- In the Import From area of the Import
Plug-ins and Fragments window, clear the check box next to The
target platform and click Browse.
- In the Plug-in Directory window, navigate to the com.ibm.ftt.api.samples plugin
and click OK.. This plugin is located in the rdz\api-samples folder
of your Rational Developer
for System z installation
path, for example, c:\Program Files\IBM\SDP\rdz\api-samples\eclipse\plugins.
- In the Import As area of the Import
Plug-ins and Fragments window, select the Projects with
source folders check box and click Next.
- In the Selection window, select the plugin name in the
left pane and then click Add and Finish. The samples plugin is added to the Package Explorer.
- To see how the samples integrate with Rational Developer for System z, you need to define and start a
runtime configuration.
- Select com.ibm.ftt.api.samples in
the Package Explorer and then click Run
> Run Configurations to open the Create, manage
and run configurations wizard.
- Double-click Eclipse Application from
the list of configurations to open the new configuration page.
- In the Name field, type a name
of your choice and in the Location field, type
a location of your choice. For example, you might type Resource
API configuration in the name field and ${workspace_loc}/../Resource
API configuration to create a configuration in the current
workspace.
- Click the Run a product radio
button and then select com.ibm.rational.developer.systemz.product.ide from
the drop-down list.
- Click Run to start the runtime
configuration.
A runtime Rational Developer
for System z workbench
opens with the z/OS® Projects
perspective. This runtime workbench opens in a new workspace, separate
from the originating workspace. The menu bar in the new workspace
contains a new menu called API Samples. Some
of the pop-up menus contain API Sample Actions.
The results of some of these actions are displayed in the Console
view of the originating workspace. For more information, see the
descriptions of the samples in the Remote Resource Access API topics
in Help Contents.